Skip to content

lalawow/proxy-switch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

proxy-switch

An easy-to-use proxy switch cli. The supported apps are including git, npm , yarn.

Install

npm install -g proxy-switch

or

yarn global add proxy-switch

Use

List configuration

List all supported app's configuration.

proxy-switch list all

List a specific app's configuration. For example:

proxy-switch list yarn

Add proxy

Add proxy url to all supported app's configuration.

proxy-switch add all http://YOUR_PROXY_URL

Add proxy url to a specific app's configuration. For example:

proxy-switch add git http://YOUR_PROXY_URL

Reset proxy

Delete proxy url from all supported app's configuration.

proxy-switch reset all

Delete proxy url from a specific app's configuration. For example:

proxy-switch reset npm

About

An open source proxy switcher cli tool

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published