📝 Add nvm to README.md and meta.json for Node Version Manager support
This commit is contained in:
@@ -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
|
||||
```
|
||||
Reference in New Issue
Block a user