Merge branch 'master' of ssh://git.coolaj86.com:22042/coolaj86/node-installer.sh

This commit is contained in:
AJ ONeal 2018-05-12 13:48:13 -06:00
commit 1edc07515f
1 changed files with 7 additions and 7 deletions

View File

@ -8,10 +8,10 @@ Automated node.js installers for OS X and Ubuntu
```bash ```bash
# install node.js without development dependencies # install node.js without development dependencies
curl -fsSL bit.ly/node-installer | bash -s -- --no-dev-deps curl -fsSL https://bit.ly/node-installer | bash -s -- --no-dev-deps
# using wget instead of curl (Ubuntu) # using wget instead of curl (Ubuntu)
wget -nv bit.ly/node-installer -O - | bash -s -- --no-dev-deps wget -nv https://bit.ly/node-installer -O - | bash -s -- --no-dev-deps
``` ```
**node.js + dev tools** **node.js + dev tools**
@ -19,10 +19,10 @@ wget -nv bit.ly/node-installer -O - | bash -s -- --no-dev-deps
Install node.js and basic development tools - git, node, gcc, pkg-config, etc Install node.js and basic development tools - git, node, gcc, pkg-config, etc
```bash ```bash
curl -fsSL bit.ly/node-installer -o ./node-installer.sh; bash ./node-installer.sh --dev-deps curl -fsSL https://bit.ly/node-installer -o ./node-installer.sh; bash ./node-installer.sh --dev-deps
# or wget # or wget
wget -nv bit.ly/node-installer -O - ./node-installer.sh; bash ./node-installer.sh --dev-deps wget -nv https://bit.ly/node-installer -O - ./node-installer.sh; bash ./node-installer.sh --dev-deps
``` ```
*Note*: [bit.ly/node-installer](https://bit.ly/node-installer) simple redirects to <https://git.coolaj86.com/coolaj86/node-installer.sh/raw/master/install.sh> *Note*: [bit.ly/node-installer](https://bit.ly/node-installer) simple redirects to <https://git.coolaj86.com/coolaj86/node-installer.sh/raw/master/install.sh>
@ -55,7 +55,7 @@ The install path will be the preceding `lib/node_modules`
export NPM_CONFIG_PREFIX=/tmp/user/local export NPM_CONFIG_PREFIX=/tmp/user/local
export NODE_PATH=/tmp/user/local/lib/node_modules export NODE_PATH=/tmp/user/local/lib/node_modules
curl -fsSL bit.ly/node-installer -o ./node-installer.sh; bash ./node-installer.sh --dev-deps curl -fsSL https://bit.ly/node-installer -o ./node-installer.sh; bash ./node-installer.sh --dev-deps
# If you want to add the install location to your PATH # If you want to add the install location to your PATH
PATH=$PATH:/tmp/user/local/bin PATH=$PATH:/tmp/user/local/bin
@ -88,7 +88,7 @@ Type `agree` and hit enter to accept the license.
Now you can install node.js Now you can install node.js
```bash ```bash
curl -fsSL bit.ly/node-installer -o /tmp/node-installer.sh; bash /tmp/node-installer.sh --dev-deps curl -fsSL https://bit.ly/node-installer -o /tmp/node-installer.sh; bash /tmp/node-installer.sh --dev-deps
``` ```
*TODO*: Make it easier to accepting the license (automatic?) *TODO*: Make it easier to accepting the license (automatic?)
@ -96,7 +96,7 @@ curl -fsSL bit.ly/node-installer -o /tmp/node-installer.sh; bash /tmp/node-insta
### Ubuntu Linux ### Ubuntu Linux
```bash ```bash
wget -nv bit.ly/node-installer -O /tmp/node-installer.sh; bash /tmp/node-installer.sh --dev-deps wget -nv https://bit.ly/node-installer -O /tmp/node-installer.sh; bash /tmp/node-installer.sh --dev-deps
``` ```
### Other things you should know ### Other things you should know