📝 Add nvm to README.md and meta.json for Node Version Manager support

This commit is contained in:
2026-04-18 21:04:55 +08:00
parent 5435f3d26f
commit 6979087ffc
3 changed files with 38 additions and 0 deletions
+32
View File
@@ -0,0 +1,32 @@
# nvm
## Meta
```yaml
name: nvm
repo: https://github.com/nvm-sh/nvm
description: Node Version Manager - POSIX-compliant bash script to manage multiple active node.js versions
```
## Install
```shell
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.4/install.sh | bash
```
## Usage
```shell
$ nvm install 24
Now using node v24.14.0 (npm v11.9.0)
$ node -v
v24.14.0
$ nvm use 22
Now using node v22.22.1 (npm v10.9.4)
$ node -v
v22.22.1
$ nvm use 20
Now using node v20.20.1 (npm v10.8.2)
$ node -v
v20.20.1
```