当前位置:网站首页>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安装成功了!
边栏推荐
- Bid farewell to artificial mental retardation: Mengzi open source project team received RMB 100 million financing to help NLP develop
- QQ小程序开发之 一些前期准备:预约开发账号、下载安装开发者工具、创建qq小程序
- 用Three.js做一个简单的3D场景
- Idea set method call ignore case
- [combinatorics] basic counting principle (addition principle | multiplication principle)
- Convert binary stream to byte array
- Pytorch轻量级可视化工具wandb(local)
- 模糊查询时报错Parameter index out of range (1 > number of parameters, which is 0)
- 敏捷认证(Professional Scrum Master)模拟练习题-2
- 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
猜你喜欢

softmax的近似之NCE详解
![C programming learning notes [edited by Mr. Tan Haoqiang] (Chapter III sequence programming) 03 operators and expressions](/img/4a/1df03d9f3315debb4c335260ed39f2.jpg)
C programming learning notes [edited by Mr. Tan Haoqiang] (Chapter III sequence programming) 03 operators and expressions

MySql實戰45講【SQL查詢和更新執行流程】

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

Pytoch lightweight visualization tool wandb (local)

Vs 2019 configure tensorrt to generate engine

VS code配置虚拟环境

Hi3536C V100R001C02SPC040 交叉编译器安装

Limit of one question per day

The idea setting code is in UTF-8 idea Properties configuration file Chinese garbled
随机推荐
Unity3d RPG implementation (medium)
Docker install redis
基于QT的tensorRT加速的yolov5
MySql实战45讲【SQL查询和更新执行流程】
模型转换onnx2engine
Stop using system Currenttimemillis() takes too long to count. It's too low. Stopwatch is easy to use!
Latest version of NPM: the "NPM" item cannot be recognized as the name of a cmdlet, function, script file, or runnable program. Please check
com. fasterxml. jackson. databind. Exc.invalidformatexception problem
45 lectures on MySQL [index]
C # webrequest post mode, based on "basic auth" password authentication mode, uploads files and submits other data using multipart / form data mode
Nce detail of softmax approximation
C#通用接口调用
Vs 2019 configuration tensorrt
MySql实战45讲【索引】
Positioning (relative positioning, absolute positioning, fixed positioning, Z-index) 2022-2-11
MySQL practice 45 lecture [row lock]
Pat class B "1104 forever" DFS optimization idea
Pytoch configuration
敏捷认证(Professional Scrum Master)模拟练习题
Idea format code idea set shortcut key format code