当前位置:网站首页>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安装成功了!
边栏推荐
- [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 |
- 复选框的使用:全选,全不选,选一部分
- MySQL practice 45 lecture [row lock]
- Change and access of median value of listening object
- com.fasterxml.jackson.databind.exc.InvalidFormatException问题
- QQ小程序开发之 一些前期准备:预约开发账号、下载安装开发者工具、创建qq小程序
- Stop using system Currenttimemillis() takes too long to count. It's too low. Stopwatch is easy to use!
- VS克隆时显示403错误
- 为什么线程崩溃不会导致 JVM 崩溃
- Nasvit: neural architecture search of efficient visual converter with gradient conflict perception hypernetwork training
猜你喜欢
Introduction à mongodb
Vs 2019 configuration du moteur de génération de tensorrt
MySql实战45讲【索引】
Anhui University | small target tracking: large-scale data sets and baselines
Spark on yarn资源优化思路笔记
【PyG】理解MessagePassing过程,GCN demo详解
Docker install redis
Hi3536c v100r001c02spc040 cross compiler installation
C programming learning notes [edited by Mr. Tan Haoqiang] (Chapter III sequence programming) 03 operators and expressions
navicat 导出数据库的表结构
随机推荐
Bigvision code
Summary of determinant knowledge points in Chapter 1 of Linear Algebra (Jeff's self perception)
PAT乙级常用函数用法总结
Limit of one question per day
Stop using system Currenttimemillis() takes too long to count. It's too low. Stopwatch is easy to use!
Elsevier latex submitted the article pdftex def Error: File `thumbnails/cas-email. jpeg‘ not found: using draf
别再用 System.currentTimeMillis() 统计耗时了,太 Low,StopWatch 好用到爆!
900w+ data, from 17s to 300ms, how to operate
I2C subsystem (I): I2C spec
Pytorch轻量级可视化工具wandb(local)
用Three.js做一个简单的3D场景
C#通用接口调用
VS 2019 配置tensorRT生成engine
MySQL practice 45 [global lock and table lock]
监听对象中值变化及访问
umi 路由拦截(简单粗暴)
[combinatorics] Application of exponential generating function (multiple set arrangement problem | different balls in different boxes | derivation of exponential generating function of odd / even sequ
float与0比较
Pytorch配置
模型转换onnx2engine