Node.js - how to use pnpm globally
First thing after getting a new Mac:
1 | npm install -g pnpm |
pnpm global
1 | pnpm install -g @tarojs/cli |
for npm:
1 | npm install -g @tarojs/cli |
Installed packages
1 | pnpm list -g --depth=0 |
For npm:
1 | npm list -g --depth=0 |