We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
npm_config_OPTION_NAME
1 parent 4980171 commit b5a7585Copy full SHA for b5a7585
README.md
@@ -192,6 +192,17 @@ Command Options
192
| `--solution=$solution` | Set Visual Studio Solution version (win)
193
194
195
+Configuration
196
+--------
197
+
198
+#### `node-gyp` responds to configuration settings:
199
+Settings take the form `npm_config_OPTION_NAME` for any of the options listed above.
200
+They can be set in two ways:
201
+1. via `npm config` - these work only when `node-gyp` is triggered by `npm`
202
+ e.g. `$ npm config set npm_config_devdir /tmp/.gyp`
203
+2. as environment variables - work also when `noge-gyp` is invoked diretly
204
+ e.g. `c:\> set npm_config_devdir=c:\temp\.gyp`
205
206
License
207
-------
208
0 commit comments