suite
This commit is contained in:
@@ -2,6 +2,14 @@
|
||||
|
||||
|
||||
|
||||
nvm est un gestionnaire de version pour Node.
|
||||
|
||||
|
||||
|
||||
### Installation
|
||||
|
||||
#### Avec Homebrew:
|
||||
|
||||
Installer nvm:
|
||||
|
||||
```bash
|
||||
@@ -36,6 +44,25 @@ $ echo $NVM_DIR
|
||||
$ nvm --version
|
||||
```
|
||||
|
||||
|
||||
|
||||
#### Avec git (méthode officielle):
|
||||
|
||||
```bash
|
||||
$ curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.11/install.sh | bash
|
||||
```
|
||||
|
||||
Le script d'installation ajoute les lignes suivantes à votre profil (`~/.bash_profile`, `~/.zshrc`, `~/.profile`, or `~/.bashrc`).
|
||||
|
||||
```bash
|
||||
export NVM_DIR="${XDG_CONFIG_HOME/:-$HOME/.}nvm"
|
||||
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
|
||||
```
|
||||
|
||||
|
||||
|
||||
### Utilisation
|
||||
|
||||
Installer NodeJS.
|
||||
|
||||
```bash
|
||||
|
||||
Reference in New Issue
Block a user