pnpm env <cmd>

    Install and use the specified version of Node.js

    Install the LTS version of Node.js:

    Install Node.js v16:

    Install a prerelease version of Node.js:

    1. pnpm env use --global nightly
    2. pnpm env use --global rc
    3. pnpm env use --global rc/14

    Install an LTS version of Node.js using its codename:

    1. pnpm env use --global argon

    Added in: v7.10.0

    Removes the specified version of Node.JS.

    Usage example:

    List Node.js versions available locally or remotely.

    Print locally installed versions:

    Print remotely available Node.js versions:

    1. pnpm env list --remote

    Print remotely available Node.js v16 versions:

      Options