aboutsummaryrefslogblamecommitdiff
path: root/src/node/README.md
blob: 5deab10ed10ad6d20261333e9ff662b005ad1865 (plain) (tree)
1
2
3
4
5
6
7
8
9


                                   
                                                     



                
             
                                                  

                               
 






                                                                         

                                                                                                          


   
                                                                                                                                                                  

# Node.js (via nvm) and yarn (node)

Installs Node.js, nvm, yarn, and needed dependencies.

## Example Usage

```json
"features": {
        "ghcr.io/devcontainers/features/node:1": {
            "version": "latest"
        }
}
```

## Options

| Options Id | Description | Type | Default Value |
|-----|-----|-----|-----|
| version | Select or enter a Node.js version to install | string | lts |
| nodeGypDependencies | Install dependencies to compile native node modules (node-gyp)? | boolean | true |
| nvmInstallPath | The path where NVM will be installed. | string | /usr/local/share/nvm |

---

_Note: This file was auto-generated from the [devcontainer-feature.json](https://github.com/devcontainers/features/blob/main/src/node/devcontainer-feature.json)._