Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/thangngoc89/tips
My tips. Because I'm lazy to type it again
https://github.com/thangngoc89/tips
Last synced: 6 days ago
JSON representation
My tips. Because I'm lazy to type it again
- Host: GitHub
- URL: https://github.com/thangngoc89/tips
- Owner: thangngoc89
- License: unlicense
- Created: 2017-06-30T17:57:37.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2017-07-08T05:49:50.000Z (over 7 years ago)
- Last Synced: 2024-11-18T17:39:18.249Z (2 months ago)
- Size: 3.91 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Tips
My tips. Because I'm lazy to type it again## Use NVM
Use [nvm](https://github.com/creationix/nvm) to manage node versions.
Quick usuage:
- Install NVM: https://github.com/creationix/nvm#install-script
- Install Node 8: `nvm install 8`
- Alias Node 8 as default `nvm alias default 8`
- Move global packages from one version to another: `// TODO`## Avoid `sudo` to install global packages
Because it breaks stuff for everyone using it.
See [this guide](https://github.com/sindresorhus/guides/blob/master/npm-global-without-sudo.md) for how to configure it manually or just use nvm