diff --git a/doc/api/cli.md b/doc/api/cli.md index 6778d3db33b..ca6e0e684ed 100644 --- a/doc/api/cli.md +++ b/doc/api/cli.md @@ -2999,6 +2999,21 @@ environment variables. See `SSL_CERT_DIR` and `SSL_CERT_FILE`. +### `--use-env-proxy` + + + +> Stability: 1.1 - Active Development + +When enabled, Node.js parses the `HTTP_PROXY`, `HTTPS_PROXY` and `NO_PROXY` +environment variables during startup, and tunnels requests over the +specified proxy. + +This is equivalent to setting the [`NODE_USE_ENV_PROXY=1`][] environment variable. +When both are set, `--use-env-proxy` takes precedence. + ### `--use-largepages=mode`