当前位置:网站首页>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
边栏推荐
- C语言知识点精细详解——初识C语言【1】
- 1 minute to understand the execution process and permanently master the for cycle (with for cycle cases)
- ArrayList collection basic usage
- JS progress bar, displaying the loading progress
- 浅谈skiplist在LevelDB的应用
- 如何5分钟上手使用OCR
- 555定时器+74系列芯片搭建八路抢答器,30s倒计时,附Proteus仿真等
- On the insecurity of using scanf in VS
- 51单片机的花卉、农田自动浇水灌溉系统开发,Proteus仿真,原理图和C代码
- Four ways of SSH restricting login
猜你喜欢

Matlab Simulink modeling and design of single-phase AC-AC frequency converter, with MATLAB simulation, PPT and papers

SHT11传感器的温度湿度监控报警系统单片机Proteus设计(附仿真+论文+程序等)

单片机的函数信号发生器,输出4种波形,频率可调,原理图,仿真和C程序

c语言在结构体传参时参数压栈问题

TLC5615 based multi-channel adjustable CNC DC regulated power supply, 51 single chip microcomputer, including proteus simulation and C code

555定时器+74系列芯片搭建八路抢答器,30s倒计时,附Proteus仿真等

C语言知识点精细详解——数据类型和变量【1】——进位计数制

一个月把字节,腾讯,阿里都面了,写点面经总结……

TUN 设备原理

OpenFaaS实战之四:模板操作(template)
随机推荐
AT89C52 MCU frequency meter (1Hz ~ 20MHz) design, LCD1602 display, including simulation, schematic diagram, PCB and code, etc
C语言知识点精细详解——数据类型和变量【2】——整型变量与常量【1】
Outsourcing for four years, abandoned
一篇博客让你学会在vscode上编写markdown
Redis cluster 原理
Electronic perpetual calendar of DS1302_ 51 single chip microcomputer, month, day, week, hour, minute and second, lunar calendar and temperature, with alarm clock and complete set of data
JS key value judgment
LM317的直流可调稳压电源Multisim仿真设计(附仿真+论文+参考资料)
51单片机+LCD12864液晶显示的俄罗斯方块游戏,Proteus仿真、AD原理图、代码、论文等
查找水仙花数-for循环实践
ArrayList collection basic usage
Find daffodils - for loop practice
Branch statement of process control
source insight via samba
基于TLC5615的多路可调数控直流稳压电源,51单片机,含Proteus仿真和C代码等
单相交交变频器的Matlab Simulink建模设计,附Matlab仿真、PPT和论文等资料
SHT11传感器的温度湿度监控报警系统单片机Proteus设计(附仿真+论文+程序等)
8.2 文本预处理
LLVM - 生成 if-else 以及 PH
QT interface optimization: double click effect