syntax highlighting
This commit is contained in:
parent
05199bcf82
commit
3109f4bb94
|
@ -34,7 +34,7 @@ NODE_VERSION=v10
|
||||||
|
|
||||||
Usage:
|
Usage:
|
||||||
|
|
||||||
```
|
```bash
|
||||||
export NODE_VERSION=v10.10
|
export NODE_VERSION=v10.10
|
||||||
curl -fsSL https://bit.ly/node-installer | bash
|
curl -fsSL https://bit.ly/node-installer | bash
|
||||||
```
|
```
|
||||||
|
@ -45,7 +45,7 @@ By default node will be installed to `/usr/local`, without root if possible.
|
||||||
|
|
||||||
You can choose a specific location by setting **both** `NPM_CONFIG_PREFIX` **and** `NODE_PATH`:
|
You can choose a specific location by setting **both** `NPM_CONFIG_PREFIX` **and** `NODE_PATH`:
|
||||||
|
|
||||||
```
|
```bash
|
||||||
export NPM_CONFIG_PREFIX=$HOME/.local/
|
export NPM_CONFIG_PREFIX=$HOME/.local/
|
||||||
export NODE_PATH=$NPM_CONFIG_PREFIX/lib/node_modules
|
export NODE_PATH=$NPM_CONFIG_PREFIX/lib/node_modules
|
||||||
curl -fsSL https://bit.ly/node-installer | bash
|
curl -fsSL https://bit.ly/node-installer | bash
|
||||||
|
|
Loading…
Reference in New Issue