解除安裝 pnpm
移除全域安裝的套件
在您刪除 pnpm CLI 之前,請記得先移除所有 pnpm 安裝的全域套件。
To list all the global packages, run pnpm ls -g
. 有兩種方式可以移除全域套件:
- Run
pnpm rm -g <pkg>...
with each global package listed. - Run
pnpm root -g
to find the location of the global directory and remove it manually.