当前位置:网站首页>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安装成功了!
边栏推荐
- The calculation of stripe, kernel and padding in CNN
- VS code配置虚拟环境
- The difference between componentscan and componentscans
- Vs 2019 configure tensorrt to generate engine
- MongoDB安装 & 部署
- Pytorch multi card distributed training distributeddataparallel usage
- MongoDB简介
- softmax的近似之NCE详解
- Solve high and send system Currenttimemillis Caton
- Stop using system Currenttimemillis() takes too long to count. It's too low. Stopwatch is easy to use!
猜你喜欢

MySql实战45讲【SQL查询和更新执行流程】

Do you really understand relays?

Latest version of NPM: the "NPM" item cannot be recognized as the name of a cmdlet, function, script file, or runnable program. Please check

Pytorch multi card distributed training distributeddataparallel usage

ffmpeg之 一张/多张图片合成视频

Pytoch configuration

900w+ data, from 17s to 300ms, how to operate
![MySQL Real combat 45 [SQL query and Update Execution Process]](/img/cd/3a635f0c3bb4ac3c8241cb77285cc8.png)
MySQL Real combat 45 [SQL query and Update Execution Process]

VS 2019安装及配置opencv

Limit of one question per day
随机推荐
文件重命名
navicat 导出数据库的表结构
Agile certification (professional scrum Master) simulation exercises
What happens between entering the URL and displaying the page?
Summary of determinant knowledge points in Chapter 1 of Linear Algebra (Jeff's self perception)
Nasvit: neural architecture search of efficient visual converter with gradient conflict perception hypernetwork training
ComponentScan和ComponentScans的区别
BigVision代码
Converts a timestamp to a time in the specified format
Positioning (relative positioning, absolute positioning, fixed positioning, Z-index) 2022-2-11
ffmpeg之 一张/多张图片合成视频
复选框的使用:全选,全不选,选一部分
程序员新人上午使用 isXxx 形式定义布尔类型,下午就被劝退?
node 开启服务器
float与0比较
MongoDB主配置文件
3D drawing example
MongoDB安装 & 部署
C programming learning notes [edited by Mr. Tan Haoqiang] (Chapter III sequence programming) 03 operators and expressions
VS 2019配置tensorRT