pnpm env

manage nodejs version

usage:

# install v20 and activate globally
pnpm env use --global 20
# exec `node --version`
v20.13.1

Reference