prefix links with https

This commit is contained in:
AJ ONeal 2018-05-12 19:46:57 +00:00
父節點 3adefcc4a8
當前提交 1a7d21b850
共有 1 個文件被更改,包括 7 次插入7 次删除

查看文件

@ -8,10 +8,10 @@ Automated node.js installers for OS X and Ubuntu
```bash
# 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)
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**
@ -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
```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
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>
@ -55,7 +55,7 @@ The install path will be the preceding `lib/node_modules`
export NPM_CONFIG_PREFIX=/tmp/user/local
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
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
```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?)
@ -96,7 +96,7 @@ curl -fsSL bit.ly/node-installer -o /tmp/node-installer.sh; bash /tmp/node-insta
### Ubuntu Linux
```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