MacOS – change proxy settings for Chrome and not for entire operating system

google-chromemacosPROXY

How can I change proxy settings for Google Chrome without changing the proxy settings for entire operating system? I know that I can go to Network in System preferences, but that changes proxy settings globally.

Is is possible to do it just for Chrome? Firefox for example doesn't require changing global proxy settings.

EDIT: I am open for dirty hacks too 😀

Best Answer

You have to pass the proxy argument to Chrome on the command line. Run something like:

open -a "Google Chrome" --args --proxy-server=http://my-proxy.com