Created
October 4, 2017 06:22
-
-
Save matsuda/c75e5f38f61621a7881a77e1fe8d4df7 to your computer and use it in GitHub Desktop.
Setup node.js
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ brew install nodebrew | |
==> Downloading https://github.com/hokaccha/nodebrew/archive/v0.9.7.tar.gz | |
==> Downloading from https://codeload.github.com/hokaccha/nodebrew/tar.gz/v0.9.7 | |
######################################################################## 100.0% | |
==> Caveats | |
You need to manually run setup_dirs to create directories required by nodebrew: | |
/usr/local/opt/nodebrew/bin/nodebrew setup_dirs | |
Add path: | |
export PATH=$HOME/.nodebrew/current/bin:$PATH | |
To use Homebrew's directories rather than ~/.nodebrew add to your profile: | |
export NODEBREW_ROOT=/usr/local/var/nodebrew | |
Bash completion has been installed to: | |
/usr/local/etc/bash_completion.d | |
zsh completions have been installed to: | |
/usr/local/share/zsh/site-functions | |
==> Summary | |
🍺 /usr/local/Cellar/nodebrew/0.9.7: 8 files, 38.2KB, built in 6 seconds |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment