Build Node.js developed environment on Windows 7
installation windows-nvm
Download windows-nvm from https://github.com/coreybutler/nvm-windows/releases and install it.
Usage:
nvm version
: show versionnvm list
: show available node versionnvm uninstall
: uninstall a specific node versionnvm use
: use a specific node version- … see here
installation node
install stable: nvm install latest
then show available node versions: nvm list
select a specific version from available list : use xx
npm using taobao registry
- temporary using
1 | npm --registry https://registry.npm.taobao.org install express |
- permanent using
1 | npm config set registry https://registry.npm.taobao.org |
or using cnpm instead of npm
1 | npm install -g cnpm --registry=https://registry.npm.taobao.org |
- testing:
1 | npm config get registry |
configuration build key map in Sublime-text 3
Open Sublime Text 3, then ctr+shift+p
input pci
call out Package control install package window and search Node.js package](https://github.com/tanepiper/SublimeText-Nodejs)
Enjoy it!