当前位置:网站首页>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 
边栏推荐
- The RTSP video image intelligent analysis platform easynvr cascades to the superior platform through the national standard for playback optimization
- With the solution, the nickname of the applet suddenly becomes "wechat user", and the avatar cannot be displayed?
- Will the easycvr video channel of the urban intelligent video monitoring image analysis platform occupy bandwidth after stopping playing?
- Cloud native monitoring practice (2) monitoring and collection of components outside the TKE cluster
- Open up the construction of enterprise digital procurement, and establish a new and efficient service mode for raw material enterprises
- Low education without food? As an old Android rookie in the past six years, I was the most difficult one
- NFT元宇宙源码搭建解析与介绍
- [2021 taac & Ti-One] frequently asked questions related to the notebook function
- 网站SEO排名越做越差是什么原因造成的?
- Several cloud products of Tencent cloud have passed IPv6 enabled cloud logo certification
猜你喜欢
随机推荐
As for IOT safety, 20 CSOs from major manufacturers say
Development of block hash game guessing system (mature code)
[2021 taac & Ti-One] frequently asked questions related to the notebook function
What is the reason for the worse website SEO ranking?
[play with Tencent cloud] TSF User Guide
IBM: supporting AI and enterprise digital reshaping in the cloud era with modern architecture
Open up the construction of enterprise digital procurement, and establish a new and efficient service mode for raw material enterprises
Best practices for H5 page adaptation and wechat default font size
区块哈希游戏竞猜系统开发(成熟代码)
究竟有哪些劵商推荐?现在网上开户安全么?
Use cloud development to make a login free resource navigation applet!
Devops in digital transformation digital risk
Snapshot management for elastic cloud enterprise
Live broadcast Preview - on April 1, I made an appointment with you to explore tcapulusdb with Tencent cloud
2. Leveldb design principle -- LSM
zblog系统如何根据用户ID获取用户相关信息的教程
Tencent monthly security report helps rural revitalization, releases cloud security reports, and jointly builds a joint network security laboratory
Welcome to the network security threat information sharing program
Cloud native monitoring configuration self built alertmanager to realize alarm
Zabix5.0-0 - agent2 monitoring MariaDB database (Linux based)

