当前位置:网站首页>node,npm以及yarn下载安装
node,npm以及yarn下载安装
2022-07-03 03:23:00 【水w】
目录
1.node下载安装
(1)进入官网下载 | Node.js 中文网
(2)选择“macOS安装包”,进入下载,等待下载完成
(3)下载完成之后,
(4)双击运行刚刚下载的文件,会出现安装流程,按照安装流程一步步走,
点击“继续”进入下一页,
点击安装”进入下一页,
点击“关闭”,
(5)在终端中运行下列命令,检测node.js是否已经安装成功,
node -v
npm -v
2.安装淘宝镜像,永久使用
在终端中运行下列命令,
npm config set registry https://registry.npm.taobao.org
3.yarn的安装
(1)在终端中运行下列命令,
npm install -g yarn
如果上条命令安装失败,则尝试
sudo npm install -g yarn
(2)查看yarn 版本,看一下是否安装成功,
yarn --version
OK,yarn安装成功了!
边栏推荐
- Réglez la hauteur et lancez le système. Currenttimemillis catton
- [pyg] understand the messagepassing process, GCN demo details
- MySql实战45讲【全局锁和表锁】
- [combinatorics] basic counting principle (addition principle | multiplication principle)
- MongoDB簡介
- Anhui University | small target tracking: large-scale data sets and baselines
- com. fasterxml. jackson. databind. Exc.invalidformatexception problem
- @Accessors annotation function specifies that the prefix follows the hump naming
- Pytorch配置
- Vs Code configure virtual environment
猜你喜欢
渤、黄海的潮汐特征
MongoDB简介
机械臂速成小指南(八):运动学建模(标准DH法)
Bid farewell to artificial mental retardation: Mengzi open source project team received RMB 100 million financing to help NLP develop
MySql实战45讲【SQL查询和更新执行流程】
900w+ data, from 17s to 300ms, how to operate
Avec trois. JS fait une scène 3D simple
The idea cannot be loaded, and the market solution can be applied (pro test)
VS 2019安装及配置opencv
Spark on yarn resource optimization ideas notes
随机推荐
Learning notes of C programming [compiled by Mr. Tan Haoqiang] (Chapter III sequence programming) 04 C sentence
403 error displayed when vs cloning
MongoDB安装 & 部署
900W+ 数据,从 17s 到 300ms,如何操作
The calculation of stripe, kernel and padding in CNN
Vs 2019 configure tensorrt to generate engine
Pytorch multi card distributed training distributeddataparallel usage
float与0比较
Vs 2019 installation and configuration opencv
二进制流转换成字节数组
Bigvision code
PAT乙级常用函数用法总结
docker安装redis
What happens between entering the URL and displaying the page?
Section 26 detailed explanation and demonstration of IPSec virtual private network configuration experiment - simulation experiment based on packettracer8.0
Pytoch configuration
Vs 2019 configuration du moteur de génération de tensorrt
com. fasterxml. jackson. databind. Exc.invalidformatexception problem
On the adjacency matrix and adjacency table of graph storage
BigVision代码