当前位置: 首页 > news >正文

使用NVM管理多个Nodejs版同时本支持vue2、vue3

1.安装nvm,下载地址:
https://github.com/coreybutler/nvm-windows/releases/tag/1.1.12

2.nvm常用命令

Usage:nvm arch                     : Show if node is running in 32 or 64 bit mode.nvm current                  : Display active version.nvm debug                    : Check the NVM4W process for known problems (troubleshooter).nvm install <version> [arch] : The version can be a specific version, "latest" for the latest current version, or "lts" for themost recent LTS version. Optionally specify whether to install the 32 or 64 bit version (defaultsto system arch). Set [arch] to "all" to install 32 AND 64 bit versions.Add --insecure to the end of this command to bypass SSL validation of the remote download server.nvm list [available]         : List the node.js installations. Type "available" at the end to see what can be installed. Aliased as ls.nvm on                       : Enable node.js version management.nvm off                      : Disable node.js version management.nvm proxy [url]              : Set a proxy to use for downloads. Leave [url] blank to see the current proxy.Set [url] to "none" to remove the proxy.nvm node_mirror [url]        : Set the node mirror. Defaults to https://nodejs.org/dist/. Leave [url] blank to use default url.nvm npm_mirror [url]         : Set the npm mirror. Defaults to https://github.com/npm/cli/archive/. Leave [url] blank to default url.nvm uninstall <version>      : The version must be a specific version.nvm use [version] [arch]     : Switch to use the specified version. Optionally use "latest", "lts", or "newest"."newest" is the latest installed version. Optionally specify 32/64bit architecture.nvm use <arch> will continue using the selected version, but switch to 32/64 bit mode.nvm root [path]              : Set the directory where nvm should store different versions of node.js.If <path> is not set, the current root will be displayed.nvm [--]version              : Displays the current running version of nvm for Windows. Aliased as 

nvm list --查看版本
nvm use [node版本号]
nvm install [node版本号]
nvm uninstall [node版本号]
在这里插入图片描述

http://www.lryc.cn/news/246368.html

相关文章:

  • 局域网的网络ip不稳定问题
  • uniapp (vue3)生成二维码
  • Android11编译第八弹:root用户密码设置
  • XML Schema中的attributeFormDefault
  • 数据结构 / 结构体字节计算
  • rancher2.6 docker版本部署
  • UE5人物残影学习(材质实现)
  • Spring Boot 内置工具类
  • C语言--每日选择题--Day27
  • 黑马程序员索引学习笔记
  • 新手如何对一个web网页进行一次渗透测试
  • vs2019 - MFC对话框程序的工程名称不支持下划线命名法
  • java JDBCUtils 使用静态代码块连接数据库 全程值保持一次连接
  • 剑指 Offer(第2版)题解(C++ Version)
  • 6.15合并二叉树(LC617-E)
  • 百度智能小程序系统源码+关键词排名优化 附带完整的搭建教程
  • 2019年11月7日 Go生态洞察:Go Modules v2及更高版本
  • vue3通过provide和inject实现多层级组件通信
  • 【Java学习笔记】72 - 满汉楼 - 餐饮管理系统
  • 【我的创作纪念日】
  • 车载通信架构 —— 传统车内通信网络MOST总线(光纤传输、专精多媒体)
  • 使用Pytorch从零开始构建Energy-based Model
  • 基于C#实现梳排序
  • 盘点72个Android系统源码安卓爱好者不容错过
  • nodejs+vue+elementui足球篮球联赛系统
  • 18.Oracle的过程和函数
  • A JSONObject text must begin with ‘{‘ at 1 [character 2 line 1]
  • C#中openFileDialog控件的使用方法
  • 多线程04 死锁,线程可见性
  • java中文转拼音(去除音调)