Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to install and use the node version tool gnvm

2025-04-04 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >

Share

Shulou(Shulou.com)06/02 Report--

This article mainly shows you "how to install and use node version tool gnvm", the content is simple and easy to understand, organized clearly, I hope to help you solve doubts, let Xiaobian lead you to study and learn "how to install and use node version tool gnvm" this article bar.

I. Install GNVM

1. To start cmd with administrator privileges;

Make sure nodes are idle (close active nodes)

2. Install gnvm:

gnvm download address:32-bit| 64-bit Github

64-bit Link: pan.baidu.com/s/1IN02LwtkFIqKluA4HQjFdw Extraction Code: c0qu

(1) After downloading, there will be a gnvm.exe file

(2) Place gnvm.exe file in the folder where Node.js is located,

Verify GNVM is available:

Use GNVM version

4. At this time, you can use gnvm command to manage nodejs version

II. GNVM-related instructions

Install multiple node versions

gnvm install latest //Install the latest version of node gnvm install 10.0.0 //Install the specified version, you can also specify the installation of 32-bit or 64-bit, eg: gnvm install 10.0.0-x64 gnvm update latest //Update the latest node version

2. Uninstall any version of node

gnvm uninstall latest //uninstall the latest version of node gnvm uninstall 10.0.0 //uninstall the specified version

View all locally installed node versions

gnvm ls

4. Switch any version of node

gnvm use 10.0.0

5. Install npm

gnvm npm latest

6. Install Taobao mirror

gnvm config registry TAOBAO Above is "How to install and use the node version tool gnvm" All the contents of this article, thank you for reading! I believe that everyone has a certain understanding, hope to share the content to help everyone, if you still want to learn more knowledge, welcome to pay attention to the industry information channel!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Development

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report