Closed BenGitsCode closed 7 years ago
@BenGitsCode The script is wrong, but not entirely for the reason you think. Please tell me why.
no need to specify setting NVM_DIR, also lines not being added to .bashrc like they should
I opened this per @jrhorn424 ' s instruction, maybe I misunderstood?
Ah I see, is that what you meant @gaand ?
this script now adds necessary lines to .bashrc. Change how the script is run to account for necessary restart. Before developers would
1) brew install nvm
2) RESTART Terminal
3) run config/nvm.sh
4) RESTART Terminal
This was not adding necessary setup to .bashrc thus making nvm unavailable
NOW developers will
1) run config/nvm.sh
(now includes brew install)
2) RESTART Terminal
3) run config/nvm.sh node
4) RESTART Terminal
This is tested on MAC for fresh install
current nvm.sh:
This contains both the macOS AND Linux
snippet from the original install fest for reference.
Use NVM to install the latest longterm stable version of Node (4.4.7)