The catalogue
Node.js
Node, Bun, pnpm and Yarn through mise, at the versions you choose, in every shell.
- Module
- runtime.node
- Category
- Runtimes
What it installs
- mise, as the version manager.
- Node at the version you choose, plus Bun, pnpm and Yarn if you want them; pnpm and Yarn come through corepack, so a repository that pins its own version keeps it.
- A marked block in .zshenv that puts the shims and ~/.local/bin on the path of every shell, including the non-interactive ones an agent uses.
What it asks you for
- The Node version.
- Bun, yes or no.
- pnpm, yes or no.
- Yarn, yes or no. Off by default: few recent repositories still ask for it.
Good to know
The non-interactive activation is the point: an agent that runs npm through ssh without a login shell finds the same versions you do. It is also what puts codex on the path of a remote client. Any other Node version is one mise command away in a terminal, and the same gesture covers Java, Python, Go, PHP and Ruby.