Giter VIP home page Giter VIP logo

nm's Introduction

nm

简介

使用rust开发的一个node.js版本管理器

安装

1,下载nm,放到指定目录如:D:\nm

2,设置环境变量,在path中加入以下两个路径(D:\nm替换为nm所在路径)

2.1 D:\nm 为了让nm命令找到可执行文件

2.2 D:\nm\nodejs 为了让node、npm命令找到可执行文件

使用

  • nm current: 显示当前使用的版本

  • nm install <version>: 安装指定的nodejs版本,版本号支持1位、2位、3位

    nm install 12 将安装nodejs v12最新版本 12.22.12

    nm install 12.19 将安装nodejs v12.19最新版本 12.19.1

    nm install 12.20.2 则直接安装12.20.2

  • nm list: 显示当前安装的所有版本,也可以使用 nm ls

  • nm uninstall <version>: 卸载指定版本,version必须为3位,如nm install 12.22.12,也可使用nm remove

  • nm use <version>: 使用指定版本,version必须为3位,如nm install 12.22.12

  • nm version: 显示当前nm版本号

为什么使用rust开发

内存安全,高性能,代码质量可靠,在编译期就能消除各种错误。

nm's People

Contributors

cocosilent avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.