I recommend you to install pnpm
globally using npm
with:
To upgrade to the latest version, run:
Open your shell profile file (e.g. .zprofile
or .bash_profile
):
Or if you prefer Vim:
Add the following line to your shell profile file:
And reload it with:
Now you can use pn
instead of pnpm
in your shell.
If you want to upgrade all the dependencies in your project to the latest version, you can use the following command:
Which will show you the list of packages that will be upgraded and ask you to confirm the upgrade.
Happy aliasing!