pnpm setup
Cette commande est utilisée par les scripts d'installation autonomes de pnpm. For instance, in https://get.pnpm.io/install.sh.
La commande setup fait les actions suivantes :
- Crée un répertoire pour la CLI pnpm
- adds the pnpm home directory to the
PATHby updating the shell configuration file - Copie l'exécutable de pnpm dans le répertoire de pnpm
astuce
After upgrading to pnpm v11, run pnpm setup to update your shell configuration. In v11, globally installed binaries are stored in a bin subdirectory of PNPM_HOME.