当前位置:网站首页>NVM download, installation and use
NVM download, installation and use
2022-06-24 17:28:00 【Dandelion】
download
Useful commands to download , Download the source code , I downloaded the source code
Address :https://github.com/coreybutler/nvm-windows/releases
perhaps :
open GitHub, Search for nvm, I downloaded it nvm-windows
,
Then click the version download , The latest thing I have here is 1.1.9
install
Found downloaded nvm package , decompression , Double click installation
First installation directory : The default installation directory is not used here , Change the installation directory to D:\system\nvm
Readers can choose the installation directory
The second installation directory : add to node.js Installation directory
Be careful :
Here we use “ add to node.js Installation directory ” In fact, my statement is not very accurate , The exact term should be configuration node.js Installation directory
By default C:\Program Files\nodejs Catalog ,C:\Program Files\nodejs So is the catalog node.js Default installation directory
If the reader is installing nvm Already installed before node.js, And modified node.js Installation directory , Then the directory here should be changed to node.js Installation directory
If the reader is installing nvm It's not installed before node.js, Then the directory here can be defined by itself
Reference resources :https://www.cnblogs.com/jing-tian/p/11225123.html
installation is complete
Use
Set Taobao image
node_mirror: https://npm.taobao.org/mirrors/node/
npm_mirror: https://npm.taobao.org/mirrors/npm/
copy The order of
nvm install stable ## Install the latest stable version node
nvm install <version> ## Install the specified version
nvm uninstall <version> ## Delete the installed specified version
nvm use <version> ## Switch to the specified version node
nvm ls ## List all installed versions
nvm ls-remote ## Lists the versions of all remote servers
nvm current ## Show current version
nvm alias <name> <version> ## Add aliases to different version numbers
nvm unalias <name> ## Delete the defined alias
nvm reinstall-packages <version> ## In current version node In the environment , again Global installation of the specified version number npm package
nvm alias default [node Version number ] ## Set the default version
Download the latest version
At first, there was a mistake , I have no good solution after Baidu , It was reinstalled nvm, That's fine
Turn on use
Report errors : The screenshot is as follows
solve : Start using a version with administrator privileges
perhaps :
result
边栏推荐
- This time, talk about the dry goods of industrial Internet | TVP technology closed door meeting
- 重新定义存储架构,华为用了不止5颗“芯”
- Use cloud development to make a login free resource navigation applet!
- 03. Tencent cloud IOT device side learning -- overview of mqtt control package
- Today, Tencent safety and SAIC Group officially announced!
- Classic examples of C language 100
- Management system permission design
- Live broadcast Preview - on April 1, I made an appointment with you to explore tcapulusdb with Tencent cloud
- Meituan financial report: making money while burning money
- [DB Bao 45] MySQL highly available mgr+consult architecture deployment
猜你喜欢
随机推荐
Easycvr, an urban intelligent video monitoring image analysis platform, plays national standard equipment videos and captures unstable packets for troubleshooting
[play with Tencent cloud] check 9 popular Tencent cloud products
On N handshakes and M waves of TCP
C language | logical operators
03. Tencent cloud IOT device side learning -- overview of mqtt control package
QQ domain name detection API interface sharing (with internal access automatic jump PHP code)
Erc-721 Standard Specification
Go language GC implementation principle and source code analysis
Contributed code to famous projects for the first time, a little nervous
重新定义存储架构,华为用了不止5颗“芯”
Development of block hash game guessing system (mature code)
Service not found troubleshooting and resolution of error messages in the secondary development of the source code of the open source platform easydarwin
Jmeter+grafana+influxdb build a visual performance test monitoring platform
Yupi made an AI programming nickname generator!
Introduction to visual studio shortcut keys and advanced gameplay
[version upgrade] Tencent cloud firewall version 2.1.0 was officially released!
H265 video streaming web page without plug-in player easywasmlayer Troubleshooting and solution of JS unable to set cover photo
Can yangjianyun's new media operation in 2021 bear all the expectations of the enterprise's private domain traffic demand?
As for IOT safety, 20 CSOs from major manufacturers say
IBM:以现代化架构支撑AI与多云时代的企业数字化重塑