25-03-2025
This commit is contained in:
@@ -49,7 +49,7 @@ $ nvm --version
|
||||
#### Avec git (méthode officielle):
|
||||
|
||||
```bash
|
||||
$ curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.11/install.sh | bash
|
||||
$ curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.40.1/install.sh | bash
|
||||
```
|
||||
|
||||
Le script d'installation ajoute les lignes suivantes à votre profil (`~/.bash_profile`, `~/.zshrc`, `~/.profile`, or `~/.bashrc`).
|
||||
@@ -64,7 +64,7 @@ export NVM_DIR="${XDG_CONFIG_HOME/:-$HOME/.}nvm"
|
||||
Relancer le script d'installation
|
||||
|
||||
```bash
|
||||
$ curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.37.2/install.sh | bash
|
||||
$ curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.1/install.sh | bash
|
||||
```
|
||||
|
||||
|
||||
@@ -85,13 +85,15 @@ $ nvm install 8.9.4
|
||||
# la dernière version 6
|
||||
$ nvm install 6
|
||||
|
||||
# la dernière version LTS (v16)
|
||||
$ nvm install --lts=gallium
|
||||
|
||||
# la dernière version LTS (v18)
|
||||
$ nvm install --lts=hydrogen
|
||||
|
||||
# la dernière version LTS (v20)
|
||||
$ nvm install --lts=iron
|
||||
```
|
||||
|
||||
https://nodejs.org/fr/about/previous-releases
|
||||
|
||||
Mettre à jour NodeJS et réinstaller les paquets.
|
||||
|
||||
```bash
|
||||
|
||||
Reference in New Issue
Block a user