aboutsummaryrefslogblamecommitdiff
path: root/src/node/README.md
blob: 03ed8a2d2bb1d989478ccaf7d4bcccb40ef1b863 (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 |
| install_tools_for_node_gyp | Install dependencies to compile native node modules (node-gyp)? | boolean | true |
| nvm_install_path | 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)._