当前位置:网站首页>Pnpm installation and use
Pnpm installation and use
2022-04-23 14:45:00 【Tiangao renniaofei dyz (front end)】
pnpm Use
Official website : https://pnpm.js.org/installation/
Global installation
npm install pnpm -g
Set source
// View source
pnpm config get registry
// Switch Taobao source
pnpm config set registry http://registry.npm.taobao.org
Use
pnpm install package //
pnpm i package
pnpm add package // -S Default write dependencies
pnpm add -D // -D devDependencies
pnpm add -g // Global installation
remove
pnpm remove package // Remove package
pnpm remove package --global // Remove global package
to update
pnpm up // Update all dependencies
pnpm upgrade package // Update package
pnpm upgrade package --global // Update global package
Set storage path
pnpm config set store-dir /path/to/.pnpm-store
personal use
- Some need node-gyp Remember to install your package
Scripting solutions are prohibited on the system
# Run as administrator power shell
set-executionpolicy remotesigned
版权声明
本文为[Tiangao renniaofei dyz (front end)]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/04/202204231426082818.html
边栏推荐
- Frame synchronization implementation
- The initial C language framework is suitable for review and preliminary understanding
- Swift:Entry of program、Swift调用OC、@_silgen_name 、 OC 调用Swift、dynamic、String、Substring
- capacitance
- 【Proteus仿真】自动量程(范围<10V)切换数字电压表
- do(Local scope)、初始化器、内存冲突、Swift指针、inout、unsafepointer、unsafeBitCast、successor、
- 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
- How do I open the win10 startup folder?
- GIS数据处理-cesium中模型位置设置
- 科技的成就(二十一)
猜你喜欢

Bingbing learning notes: take you step by step to realize the sequence table

Interviewer: let's talk about the process of class loading and the mechanism of class loading (parental delegation mechanism)

Proteus simulation design of DC adjustable regulated power supply (with simulation + paper and other data)

面试官:说一下类加载的过程以及类加载的机制(双亲委派机制)

基于单片机的DS18B20的数字温度监控报警系统设计【LCD1602显示+Proteus仿真+C程序+论文+按键设置等】

Chapter 7 of JVM series -- bytecode execution engine

LotusDB 设计与实现—1 基本概念

8.4 循环神经网络从零实现

Progress in the treatment of depression

QT actual combat: Yunxi calendar
随机推荐
你還不知道責任鏈模式的使用場景嗎?
想要成为架构师?夯实基础最重要
Design of single chip microcomputer Proteus for temperature and humidity monitoring and alarm system of SHT11 sensor (with simulation + paper + program, etc.)
AT89C52 MCU frequency meter (1Hz ~ 20MHz) design, LCD1602 display, including simulation, schematic diagram, PCB and code, etc
epoll 的 ET,LT工作模式———实例程序
Usage of BC
A good tool: aardio
Don't you know the usage scenario of the responsibility chain model?
冰冰学习笔记:一步一步带你实现顺序表
一个月把字节,腾讯,阿里都面了,写点面经总结……
qt之.pro文件详解
raised exception class EAccexxViolation with ‘Access violation at address 45EFD5 in module 出错
Frame synchronization implementation
自动化的艺术
基于TLC5615的多路可调数控直流稳压电源,51单片机,含Proteus仿真和C代码等
基于单片机的DS18B20的数字温度监控报警系统设计【LCD1602显示+Proteus仿真+C程序+论文+按键设置等】
PCIe X1 插槽的主要用途是什么?
A blog allows you to learn how to write markdown on vscode
剑指 Offer II 019. 最多删除一个字符得到回文(简单)
Chapter 7 of JVM series -- bytecode execution engine