当前位置:网站首页>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.org3.yarn的安装
(1)在终端中运行下列命令,
npm install -g yarn
如果上条命令安装失败,则尝试
sudo npm install -g yarn
(2)查看yarn 版本,看一下是否安装成功,
yarn --version
OK,yarn安装成功了!
边栏推荐
- Hi3536c v100r001c02spc040 cross compiler installation
- 用Three.js做一个简单的3D场景
- The idea cannot be loaded, and the market solution can be applied (pro test)
- com.fasterxml.jackson.databind.exc.InvalidFormatException问题
- PAT乙级“1104 天长地久”DFS优化思路
- Parameter index out of range (1 > number of parameters, which is 0)
- Summary of matrix knowledge points in Chapter 2 of Linear Algebra (Jeff's self perception)
- Do you really understand relays?
- VS 2019安装及配置opencv
- Vs 2019 configuration du moteur de génération de tensorrt
猜你喜欢

别再用 System.currentTimeMillis() 统计耗时了,太 Low,StopWatch 好用到爆!

umi 路由拦截(简单粗暴)

Gavin teacher's perception of transformer live class - rasa project's actual banking financial BOT Intelligent Business Dialogue robot architecture, process and phenomenon decryption through rasa inte

idea 加载不了应用市场解决办法(亲测)

机械臂速成小指南(八):运动学建模(标准DH法)

900w+ data, from 17s to 300ms, how to operate

Hi3536C V100R001C02SPC040 交叉编译器安装

Stop using system Currenttimemillis() takes too long to count. It's too low. Stopwatch is easy to use!

Lvgl usage experience

Vs 2019 configure tensorrt to generate engine
随机推荐
[combinatorics] Application of exponential generating function (multiple set arrangement problem | different balls in different boxes | derivation of exponential generating function of odd / even sequ
[set theory] partial order relation (partial order relation definition | partial order set definition | greater than or equal to relation | less than or equal to relation | integer division relation |
I2C subsystem (I): I2C spec
Limit of one question per day
Why does thread crash not cause JVM crash
New programmers use the isXXX form to define Boolean types in the morning, and are discouraged in the afternoon?
The XML file generated by labelimg is converted to VOC format
C# WebRequest POST模式 ,基于“Basic Auth”口令认证模式,使用multipart/form-data方式上传文件及提交其他数据
VS code配置虚拟环境
float与0比较
Vs 2019 installation and configuration opencv
Spark on yarn resource optimization ideas notes
The calculation of stripe, kernel and padding in CNN
[leetcode question brushing day 34] 540 Unique element in array, 384 Disrupt array, 202 Happy number, 149 Maximum number of points on a line
MySQL practice 45 [SQL query and update execution process]
C programming learning notes [edited by Mr. Tan Haoqiang] (Chapter III sequence programming) 03 operators and expressions
VS 2019 配置tensorRT生成engine
Use of El tree search method
Vs 2019 configuration du moteur de génération de tensorrt
VS克隆时显示403错误