-
Notifications
You must be signed in to change notification settings - Fork 8.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
.aliases: Remove
use-iojs
and use-node
in favor of nvm
- Loading branch information
1 parent
ee673f4
commit 98d67fc
Showing
2 changed files
with
0 additions
and
11 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
98d67fc
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
FYI @alrra
98d67fc
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@mathiasbynens just double checking you meant to get rid of the original
brew install node
here as well?98d67fc
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, use
nvm install $NODE_OR_IOJS_VERSION
instead.98d67fc
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Cool, I can't find
nvm
in your dotfiles, wondering how you handle this please?98d67fc
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
https://github.com/creationix/nvm#install-script
98d67fc
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tried installing this but getting
-bash: nvm: command not found
wondering if you've added:[[ -s $HOME/.nvm/nvm.sh ]] && . $HOME/.nvm/nvm.sh
or something similar? or maybe my install just tripped up?98d67fc
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@s10wen have you restarted your terminal after successfully installing nvm using that install command?
This commit removes node/iojs from the dotfiles since @mathiasbynens and many others choose to handle this with nvm instead. Any issues installing or using nvm can go in the nvm issue tracker.
98d67fc
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@AlecRust yes I restarted, adding
[[ -s $HOME/.nvm/nvm.sh ]] && . $HOME/.nvm/nvm.sh
to my.bash_profile
seemed to fix it.98d67fc
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@s10wen ah yes that's part of the install. Just
. ~/.nvm/nvm.sh
should do it but glad you got it working 👍