Open chenlei0608 opened 2 months ago
On non-Windows: ls "${COREPACK_HOME:-${XDG_CACHE_HOME:-$HOME/.cache}/node/corepack}/pnpm/"
On Windows, I'm less familiar, it should either be in %COREPACK_HOME%
, or %LOCALAPPDATA%/node/corepack/pnpm
, or ~/.cache/node/corepack/pnpm
.
Thanks, it is in %LOCALAPPDATA%/node/corepack/pnpm. It would be great if we could directly use commands to view, uninstall, and install pnpm versions, just like with nvm.
There are no proper CLI for that atm. On a related note, it is possible to install and uninstall versions with the following commands:
corepack install -g pnpm@x.y.z
; if you only want to download it without changing the global, you can also do e.g. corepack pnpm@x.y.z --version
corepack cache clean
Thanks, it helped me
I've installed multiple versions of PNPM using Corepack. Could you please provide a way to list all the PNPM versions installed through Corepack?