I can open a url specifying 'chrome browser' from terminal

open -a 'Google chrome' https://en.wikipedia.org/wiki/Main_Page

How to open it in an incognito mode?

Use something like:

open -a "Google Chrome" --args --incognito "https://en.wikipedia.org/wiki/Main_Page"

Google Chrome accepts --incognito as a command-line option. To pass that option to the application via open, specify it after the --args flag.

  • what is -a for? – Koray Tugay Nov 21 '17 at 19:48
  • 2
    The argument to -a specifies the application to open. You can check the man page for open (via man open) for all the options. – vykor Nov 21 '17 at 21:38
  • This just opens Chrome in "regular" mode for me – Dani Springer Jun 3 at 15:47

Your Answer


By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.