nodenv
Manage Node.js versions. More information: https://github.com/nodenv/nodenv.
- Install a specific version of Node.js:
nodenv install
- Display a list of available versions:
nodenv install --list
- Use a specific version of Node.js across the whole system:
nodenv global
- Use a specific version of Node.js with a directory:
nodenv local
- Display the Node.js version for the current directory:
nodenv version
- Display the location of a Node.js installed command (e.g.
npm):
nodenv which
来源:tldr-pages contributors · 作者与贡献记录 · CC BY 4.0。离线整理了版式、链接和媒体显示。
