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

nvm管理node

1.查看nvm管理的node版本

C:\Users\10078>nvm ls* 20.12.0 (Currently using 64-bit executable)

2.查看在使用的node版本

C:\Users\10078>node -v
v20.12.0

3.查看nvm可以管理安装的node版本

C:\Users\10078>nvm list available|   CURRENT    |     LTS      |  OLD STABLE  | OLD UNSTABLE |
|--------------|--------------|--------------|--------------|
|    21.7.1    |   20.12.0    |   0.12.18    |   0.11.16    |
|    21.7.0    |   20.11.1    |   0.12.17    |   0.11.15    |
|    21.6.2    |   20.11.0    |   0.12.16    |   0.11.14    |
|    21.6.1    |   20.10.0    |   0.12.15    |   0.11.13    |
|    21.6.0    |    20.9.0    |   0.12.14    |   0.11.12    |
|    21.5.0    |   18.20.0    |   0.12.13    |   0.11.11    |
|    21.4.0    |   18.19.1    |   0.12.12    |   0.11.10    |
|    21.3.0    |   18.19.0    |   0.12.11    |    0.11.9    |
|    21.2.0    |   18.18.2    |   0.12.10    |    0.11.8    |
|    21.1.0    |   18.18.1    |    0.12.9    |    0.11.7    |
|    21.0.0    |   18.18.0    |    0.12.8    |    0.11.6    |
|    20.8.1    |   18.17.1    |    0.12.7    |    0.11.5    |
|    20.8.0    |   18.17.0    |    0.12.6    |    0.11.4    |
|    20.7.0    |   18.16.1    |    0.12.5    |    0.11.3    |
|    20.6.1    |   18.16.0    |    0.12.4    |    0.11.2    |
|    20.6.0    |   18.15.0    |    0.12.3    |    0.11.1    |
|    20.5.1    |   18.14.2    |    0.12.2    |    0.11.0    |
|    20.5.0    |   18.14.1    |    0.12.1    |    0.9.12    |
|    20.4.0    |   18.14.0    |    0.12.0    |    0.9.11    |
|    20.3.1    |   18.13.0    |   0.10.48    |    0.9.10    |This is a partial list. For a complete list, visit https://nodejs.org/en/download/releases

4.安装需要的node版本

C:\Users\10078>nvm install 18.12.1
Downloading node.js version 18.12.1 (64-bit)...
Extracting node and npm...
Complete
npm v8.19.2 installed successfully.Installation complete. If you want to use this version, typenvm use 18.12.1

5.使用需要的node版本

C:\Users\10078>nvm ls* 20.12.0 (Currently using 64-bit executable)18.12.1C:\Users\10078>nvm use 18.12.1
Now using node v18.12.1 (64-bit)C:\Users\10078>node -v
v18.12.1

注:nvm下载地址==>https://github.com/coreybutler/nvm-windows/releases/tag/1.1.12

 

element-plus本地启动

下载地址:

需要安装的命令

D:\software\workspace\element-plus>pnpm install
Scope: all 17 workspace projects
Lockfile is up to date, resolution step is skipped
Packages: +1553D:\software\workspace\element-plus>npm install pnpm -gadded 1 package in 4s1 package is looking for funding
run `npm fund` for details

查看安装的版本

D:\software\workspace\element-plus>pnpm -v
8.15.5

启动

D:\software\workspace\element-plus>npm run dev> dev
> pnpm -C play dev> @element-plus/play@ dev D:\software\workspace\element-plus\play
> vitevite v2.9.15 dev server running at:> Network:  http://192.168.3.8:3000/> Local:    http://localhost:3000/
ready in 3477ms.

 

http://www.gsyq.cn/news/223.html

相关文章:

  • LG10641
  • LG11068
  • scp拷贝文件报错
  • 11.1 定义类和对象
  • C++小白修仙记_LeetCode刷题_队列
  • Fastjson 1.2.47 远程代码执行
  • MySQL事务
  • Python面向对象
  • buntu22.04 LTS安装docker以及docker-compose实践
  • 20分钟快速入门Docker
  • K8S的基础概念
  • 如何搭建K8S集群
  • 解决 .NET 7 在 Linux 上获取程序集的问题
  • MyBatis-Plus 实现PostgreSQL数据库jsonb类型的保存与查询
  • katalon常用定位元素Xpath合集
  • (期望)名字(name)
  • MathType7下载安装2025最新下载+安装+教程(附安装包)
  • 模板 AE PR 达芬奇 剪影
  • 如何自动删除重复执行的任务?
  • 开始更新第一篇
  • springboot~SpringData自定义Repository的正确方式
  • Linux之进程状态
  • 2. O(NlogN)的排序
  • React-手写支持多文件、并行上传、串行上传、分片上传、单文件上传、失败自动重试、自动上传/手动按钮上传切换
  • postcss-px-to-viewport-8-plugin无法转换tailwindcss样式问题
  • 82、SpringMVC 参数传递,浏览器和服务器之间的数据传输
  • 问卷调查数据库设计
  • Linux 系统调用详解与工作机制
  • The 2025 Sichuan Provincial Collegiate Programming Contest
  • 详细介绍:Android 热点开发的相关api总结