diff --git a/docs/cli/env.md b/docs/cli/env.md index a2e163a21eb6..cfc45e223529 100644 --- a/docs/cli/env.md +++ b/docs/cli/env.md @@ -106,3 +106,10 @@ pnpm env list --remote 16 The changes are made systemwide. +## Managing Versions + +Add a `use-node-version` directive to `.npmrc` to make pnpm default to that node version when running scripts in your project: + +``` +use-node-version=18.17.1 +```