Problems with the CMD Setup agent for Windows

Source: Internet
Author: User

Today to the company a colleague with Cmd to install Gulp (NPM install-g gulp), die and die installed, has been reported a lot of errors; After careful inspection is the problem of agents, so summarized as follows:

If your company's computer is setting up an agent to access the extranet, you need to set up a proxy for cmd:

1. First open cmd (Win + R, enter cmd, then press ENTER)

2. Enter the following command

Set Http_proxy=http://127.0.0.1:1189  set https_proxy=http://127.0.0.1:1189  

where ":" After the address of their own proxy server, can be self-access

    Note that the proxy server's address is viewed: Google Chrome--settings--Advanced--open proxy settings-LAN Settings--Replication proxy address can be

3, if your proxy server requires a user name and password, then you also need:

Set http_proxy_user=set Http_proxy_pass=

4. After the setup is complete, the network can be used normally under CMD. (NPM Install-g Gulp)

Problems with the CMD Setup agent for Windows

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.