当前位置:网站首页>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
边栏推荐
- LotusDB 设计与实现—1 基本概念
- Branch statement of process control
- Swift:Entry of program、Swift调用OC、@_silgen_name 、 OC 调用Swift、dynamic、String、Substring
- Select receives both normal data and out of band data
- Realization of four data flow modes of grpc based on Multilingual Communication
- 八路抢答器系统51单片机设计【附Proteus仿真、C程序、原理图及PCB文件、元器件清单和论文等】
- 自动化的艺术
- 1 minute to understand the execution process and permanently master the for cycle (with for cycle cases)
- 全连接层的作用是什么?
- MySQL报错packet out of order
猜你喜欢
A blog allows you to learn how to write markdown on vscode
编程哲学——自动加载、依赖注入与控制反转
你還不知道責任鏈模式的使用場景嗎?
1-初识Go语言
直流可调稳压电源的Proteus仿真设计(附仿真+论文等资料)
L'externalisation a duré quatre ans.
Swift - literal, literal protocol, conversion between basic data types and dictionary / array
Model location setting in GIS data processing -cesium
51 MCU + LCD12864 LCD Tetris game, proteus simulation, ad schematic diagram, code, thesis, etc
51 MCU flowers, farmland automatic irrigation system development, proteus simulation, schematic diagram and C code
随机推荐
8.5 循环神经网络简洁实现
Sed learning for application
单相交交变频器的Matlab Simulink建模设计,附Matlab仿真、PPT和论文等资料
[servlet] detailed explanation of servlet (use + principle)
ASEMI三相整流桥和单相整流桥的详细对比
Svn detailed use tutorial
I thought I could lie down and enter Huawei, but I was confused when I received JD / didi / iqiyi offers one after another
拼接hql时,新增字段没有出现在构造方法中
Branch statement of process control
ASEMI整流模块MDQ100-16在智能开关电源中的作用
压缩映射定理
MCU function signal generator, output four kinds of waveforms, adjustable frequency, schematic diagram, simulation and C program
直流可调稳压电源的Proteus仿真设计(附仿真+论文等资料)
[jz46 translate numbers into strings]
Design of single chip microcomputer Proteus for temperature and humidity monitoring and alarm system of SHT11 sensor (with simulation + paper + program, etc.)
We reference My97DatePicker to realize the use of time plug-in
Detailed explanation of C language knowledge points -- first knowledge of C language [1]
PWM speed regulation control system of DC motor based on 51 single chip microcomputer (with complete set of data such as Proteus simulation + C program)
Don't you know the usage scenario of the responsibility chain model?
Thread synchronization, life cycle