当前位置:网站首页>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
边栏推荐
- QT actual combat: Yunxi calendar
- Find daffodils - for loop practice
- Notes on Visio drawing topology
- 微信小程序轮播图swiper
- LLVM - 生成for循环
- C语言知识点精细详解——数据类型和变量【1】——进位计数制
- TLS/SSL 协议详解 (28) TLS 1.0、TLS 1.1、TLS 1.2之间的区别
- 555 timer + 74 series chip to build eight way responder, 30s countdown, proteus simulation, etc
- source insight via samba
- c语言在结构体传参时参数压栈问题
猜你喜欢

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

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

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

x509证书cer格式转pem格式

单相交交变频器的Matlab Simulink建模设计,附Matlab仿真、PPT和论文等资料

Qt实战:云曦聊天室篇

全连接层的作用是什么?

8.2 文本预处理

Tongxin UOS uninstall php7 2.24, install php7 4.27 ; Uninstall and then install PHP 7.2.34

外包幹了四年,廢了...
随机推荐
基于单片机的DS18B20的数字温度监控报警系统设计【LCD1602显示+Proteus仿真+C程序+论文+按键设置等】
setcontext getcontext makecontext swapcontext
51单片机+LCD12864液晶显示的俄罗斯方块游戏,Proteus仿真、AD原理图、代码、论文等
Notes on Visio drawing topology
LLVM - 生成 if-else 以及 PH
AT89C51 MCU digital voltmeter development, measuring range 0 ~ 5V, proteus simulation, schematic diagram, PCB and C program, etc
Detailed explanation of C language P2 selection branch statement
Introduction to loan market quotation interest rate (LPR) and loan benchmark interest rate
Find daffodils - for loop practice
逻辑卷创建与扩容
QT interface optimization: double click effect
四层和八层电梯控制系统Proteus仿真设计,51单片机,附仿真和Keil C代码
OpenSSH的升级、版本号的修改
51 MCU + LCD12864 LCD Tetris game, proteus simulation, ad schematic diagram, code, thesis, etc
Redis源码分析之PSYNC同步
一些小小小小记录~
SED 学以致用
First acquaintance with STL
本以为能躺着进华为,结果陆续收到京东/滴滴/爱奇艺offer的我迷茫了
C语言知识点精细详解——初识C语言【1】