1、安装npm

apt install npm

2、安装 n 模块

n 模块是用来安装各种版本的 node 的一个工具。参数 -g 表示全局安装

npm install n -g

3、安装node

n lts

 

相关文章:

  • 2021-06-25
  • 2022-01-03
  • 2022-02-24
  • 2022-12-23
  • 2021-12-06
  • 2021-10-20
  • 2021-10-11
  • 2021-11-09
猜你喜欢
  • 2022-01-04
  • 2021-08-14
  • 2021-12-06
  • 2021-12-24
  • 2022-12-23
  • 2022-02-19
  • 2021-04-12
相关资源
相似解决方案