https://github.com/bubkoo/global-proxy-cli
Set system proxy for mac and windows platform.
https://github.com/bubkoo/global-proxy-cli
Last synced: over 1 year ago
JSON representation
Set system proxy for mac and windows platform.
- Host: GitHub
- URL: https://github.com/bubkoo/global-proxy-cli
- Owner: bubkoo
- License: mit
- Created: 2016-08-30T17:14:28.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2016-08-31T06:32:59.000Z (almost 10 years ago)
- Last Synced: 2025-03-23T10:41:57.152Z (over 1 year ago)
- Language: JavaScript
- Size: 4.88 KB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# global-proxy-cli
> Set system proxy for mac and windows platform.
[](https://github.com/bubkoo/global-proxy-cli/blob/master/LICENSE)
## Installation
```
$ npm install -g global-proxy-cli
```
## Usage
```
Usage: global-proxy [options]
Options:
-e, --enable ................... enable the system proxy.
-d, --disable .................. disable the system proxy.
-h, --host hostname ............ the hostname of the system proxy.
-p, --port port ................ the port of the system proxy.
-t, --type protocol ............ the protocol of the system proxy.
-s, --status ................... get the status of the system proxy.(mac only)
-V, --version .................. display the current version of this cli.
-H, --help ..................... you're looking at it.
Examples:
$ global-proxy -s
$ global-proxy --enable --host=127.0.0.1 --port=9000
$ global-proxy --disable
```
## Related
- [global-proxy](https://github.com/bubkoo/global-proxy) - Set system proxy for mac and windows platform.
## Contributing
Pull requests and stars are highly welcome.
For bugs and feature requests, please [create an issue](https://github.com/bubkoo/global-proxy-cli/issues/new).