diff --git a/README.md b/README.md index 04b22a8..7b004d0 100644 --- a/README.md +++ b/README.md @@ -34,7 +34,7 @@ NODE_VERSION=v10 Usage: -``` +```bash export NODE_VERSION=v10.10 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`: -``` +```bash export NPM_CONFIG_PREFIX=$HOME/.local/ export NODE_PATH=$NPM_CONFIG_PREFIX/lib/node_modules curl -fsSL https://bit.ly/node-installer | bash