Blogger Information
Blog 291
fans 0
comment 0
visits 350669
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
Ubuntu20安装nodejs和npm并切换阿里源
Original
777 people have browsed it

参考

阿里巴巴开源镜像站

Ubuntu20安装npm并切换阿里源

安装直接在终端执行

  1. sudo apt-get install nodejs

file

npm没有安装上就执行

  1. sudo apt-get install npm

file

查看版本

node -v

file

npm-v

file

然后安装个nrm好管理

sudo npm install -g nrm

file

切换国内阿里源

nrm ls

查看菜单,然后选择源

nrm use taobao

file

完成

本文转自:https://blog.csdn.net/a1587943743/article/details/122134877

Statement of this Website
The copyright of this blog article belongs to the blogger. Please specify the address when reprinting! If there is any infringement or violation of the law, please contact admin@php.cn Report processing!
All comments Speak rationally on civilized internet, please comply with News Comment Service Agreement
0 comments
Author's latest blog post