Using Meteor with a Proxy Server
Using the HTTP[S]_PROXY
env var
This page describes how to use the Meteor command-line tool (for example, when downloading packages, deploying your app, etc) behind a proxy server.
Like a lot of other command-line software, the Meteor tool reads the proxy configuration from the HTTP_PROXY
and HTTPS_PROXY
environment variables (the lower case variants work, too). Examples of running Meteor behind a proxy:
- on Linux or Mac OS X
export HTTP_PROXY=https://user:password@1.2.3.4:5678
export HTTPS_PROXY=https://user:password@1.2.3.4:5678
meteor update
- on Windows
SET HTTP_PROXY=https://user:password@1.2.3.4:5678
SET HTTPS_PROXY=https://user:password@1.2.3.4:5678
meteor update