aboutsummaryrefslogblamecommitdiff
path: root/src/node/README.md
blob: cb66356dc6f086a89b1c626984ce192e4f591a9f (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 |
| nvmVersion | Version of NVM to install. | string | 0.39.2 |



---

_Note: This file was auto-generated from the [devcontainer-feature.json](https://github.com/devcontainers/features/blob/main/src/node/devcontainer-feature.json).  Add additional notes to a `NOTES.md`._