当前位置:网站首页>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安装成功了!
边栏推荐
- 渤、黄海的潮汐特征
- C# WebRequest POST模式 ,基于“Basic Auth”口令认证模式,使用multipart/form-data方式上传文件及提交其他数据
- Pytorch轻量级可视化工具wandb(local)
- 403 error displayed when vs cloning
- PHP constructor with parameters - PHP constructor with a parameter
- @Accessors注解作用指定前缀遵守驼峰命名
- VS 2019配置tensorRT
- MySQL practice 45 lecture [transaction isolation]
- Use of check boxes: select all, deselect all, and select some
- Summary of electromagnetic spectrum
猜你喜欢

Use of El tree search method

navicat 导出数据库的表结构

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

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

VS 2019 配置tensorRT生成engine

MongoDB简介

Docker install redis
![[pyg] understand the messagepassing process, GCN demo details](/img/8b/8490aac98fd2753e661f74e284f43d.png)
[pyg] understand the messagepassing process, GCN demo details

Bid farewell to artificial mental retardation: Mengzi open source project team received RMB 100 million financing to help NLP develop
![Learning notes of C programming [compiled by Mr. Tan Haoqiang] (Chapter III sequence programming) 04 C sentence](/img/60/bae0e8d92a53bcd2b2de3fb22b3b99.jpg)
Learning notes of C programming [compiled by Mr. Tan Haoqiang] (Chapter III sequence programming) 04 C sentence
随机推荐
Vs 2019 configure tensorrt to generate engine
机械臂速成小指南(八):运动学建模(标准DH法)
Pytoch lightweight visualization tool wandb (local)
Convert binary stream to byte array
[combinatorics] Application of exponential generating function (multiple set arrangement problem | different balls in different boxes | derivation of exponential generating function of odd / even sequ
Small guide for rapid formation of manipulator (VIII): kinematic modeling (standard DH method)
Idea set method call ignore case
销毁Session和清空指定的属性
Avec trois. JS fait une scène 3D simple
Basic information of Promethus (I)
Compare float with 0
Summary of matrix knowledge points in Chapter 2 of Linear Algebra (Jeff's self perception)
docker安装redis
Using jasmine to monitor constructors - spying on a constructor using Jasmine
PHP constructor with parameters - PHP constructor with a parameter
About HTTP cache control
[mathematical logic] predicate logic (individual word | individual domain | predicate | full name quantifier | existence quantifier | predicate formula | exercise)
BigVision代码
Edit and preview in the back pipe to get the value writing method of the form
【AI实战】应用xgboost.XGBRegressor搭建空气质量预测模型(一)