aboutsummaryrefslogblamecommitdiff
path: root/src/node/README.md
blob: 73d314c35a5a5d64e9024397e29a3751d2bcf68a (plain) (tree)
1
2
3
4


                                   
                                                     
























                                                                                                                 

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

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

## Example Usage

```json
"features": [
    {
        "id": "devcontainers/features/node@latest",
        "options": {
            "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](./devcontainer-feature.json)._