当前位置:网站首页>pnpm安装使用
pnpm安装使用
2022-04-23 14:26:00 【天高任鸟飞dyz(前端)】
pnpm使用
官网: https://pnpm.js.org/installation/
全局安装
npm install pnpm -g
设置源
//查看源
pnpm config get registry
//切换淘宝源
pnpm config set registry http://registry.npm.taobao.org
使用
pnpm install 包 //
pnpm i 包
pnpm add 包 // -S 默认写入dependencies
pnpm add -D // -D devDependencies
pnpm add -g // 全局安装
移除
pnpm remove 包 //移除包
pnpm remove 包 --global //移除全局包
更新
pnpm up //更新所有依赖项
pnpm upgrade 包 //更新包
pnpm upgrade 包 --global //更新全局包
设置存储路径
pnpm config set store-dir /path/to/.pnpm-store
个人使用
- 一些需要node-gyp的包一定要记得安装好
在系统上禁止使用脚本解决方法
# 以管理员身份运行power shell
set-executionpolicy remotesigned
版权声明
本文为[天高任鸟飞dyz(前端)]所创,转载请带上原文链接,感谢
https://blog.csdn.net/yzding1225/article/details/124350419
边栏推荐
- Parameter stack pressing problem of C language in structure parameter transmission
- 8.5 循环神经网络简洁实现
- 51 MCU + LCD12864 LCD Tetris game, proteus simulation, ad schematic diagram, code, thesis, etc
- XX project structure notes
- flannel 原理 之 TUN模式
- 51单片机的直流电机PWM调速控制系统(附Proteus仿真+C程序等全套资料)
- LLVM - 生成for循环
- flannel 原理 之 子网划分
- 51 Single Chip Microcomputer Design of traffic light system (with Proteus simulation, C program, schematic diagram, PCB, thesis and other complete data)
- 51单片机+LCD12864液晶显示的俄罗斯方块游戏,Proteus仿真、AD原理图、代码、论文等
猜你喜欢
TLC5615 based multi-channel adjustable CNC DC regulated power supply, 51 single chip microcomputer, including proteus simulation and C code
Matlab Simulink modeling and design of single-phase AC-AC frequency converter, with MATLAB simulation, PPT and papers
Electronic scale weighing system design, hx711 pressure sensor, 51 single chip microcomputer (proteus simulation, C program, schematic diagram, thesis and other complete data)
数组模拟队列进阶版本——环形队列(真正意义上的排队)
51 Single Chip Microcomputer Design of traffic light system (with Proteus simulation, C program, schematic diagram, PCB, thesis and other complete data)
Proteus simulation design of four storey and eight storey elevator control system, 51 single chip microcomputer, with simulation and keil c code
Detailed explanation of C language knowledge points -- first knowledge of C language [1]
Eight way responder system 51 Single Chip Microcomputer Design [with Proteus simulation, C program, schematic diagram, PCB files, component list and papers, etc.]
Branch statement of process control
单相交交变频器的Matlab Simulink建模设计,附Matlab仿真、PPT和论文等资料
随机推荐
外包干了四年,废了...
Processing MKDIR: unable to create directory 'AAA': read only file system
AT89C51单片机的数字电压表开发,量程0~5V,proteus仿真,原理图PCB和C程序等
SSH 通过跳板机连接远程主机
Introduction to loan market quotation interest rate (LPR) and loan benchmark interest rate
Redis cluster 原理
Tongxin UOS php7 2.3 upgrade to php7.0 two point two four
async void 导致程序崩溃
Uni app message push
QT actual combat: Yunxi calendar
Docker (V) MySQL installation
On the insecurity of using scanf in VS
错误:无法远程查找到密钥 “428F7ECC7117F726“
First acquaintance with STL
555定时器+74系列芯片搭建八路抢答器,30s倒计时,附Proteus仿真等
Sed learning for application
八路抢答器系统51单片机设计【附Proteus仿真、C程序、原理图及PCB文件、元器件清单和论文等】
8.2 文本预处理
Find daffodils - for loop practice
修改Firebase Emulators的默认侦听IP