Skip to main content

HTTP Proxy

Corporate networks often require an HTTP(S) proxy between NVM for Windows and the internet. The proxy applies to download traffic: Node.js archives, catalogs, and related HTTPS calls. It is separate from Download Mirrors, which set where archives come from.

Community Builds and Certified Builds support a basic proxy URL. Basic and Bearer auth are Certified Builds paths. IWA (NTLM/Negotiate) and PAC/WPAD need the Governance add-on.

Resolve order​

  1. Explicit proxy / Proxy setting (policy or config)
  2. Process environment (HTTP_PROXY, HTTPS_PROXY, and related variables)
  3. Internet Explorer / WinINET system proxy settings

Configuration​

ConfigRegistryNotes
proxyProxyProxy URL, e.g. http://proxy.example.corp:8080
proxy_authProxyAuthuser:pass or Bearer YOUR_TOKEN — stored in plain text
proxy_auth_typeProxyAuthTypebasic, bearer, ntlm, negotiate, or ntlm,negotiate
nvm config set proxy=http://proxy.example.corp:8080
nvm config get proxy

On Certified Builds fleets, set proxy keys with machine policy. See Registry Policy Reference.

Capabilities by license​

CapabilityCommunity BuildsCertified BuildsGovernance
Proxy URL✓✓✓
Basic/Bearer authlimited*✓✓
IWA (NTLM/Negotiate, current user)❌❌✓
PAC/WPAD (WinHTTP)❌❌✓

*Community Builds may embed credentials in the proxy URL. Dedicated ProxyAuth* injection is a Certified Builds path.

ProxyAuth in the registry

ProxyAuth is plain text under policy and preferences. Use IWA (ntlm / negotiate) when regulations disallow stored passwords.

No Digest or browser proxies

Digest auth is not supported. Requirements are large and real-world use is rare.

NVM for Windows has no interactive SAML/OIDC browser login for captive portals. Use PAC when that is the corporate path.