Is there a way to open a certain link with Chrome app Incognito Mode using the Terminal app on my Mac? (I want to input the link in the command as well).


To open a certain link with Google Chrome, use this command in terminal:

/Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome 'http://example.com' --incognito

Simply edit http://example.com to any other URL you want to use.

  • Does it work when the app is already launched ? I don't have an OSX next to me. – Matthieu Riegler Jun 24 '15 at 12:46
  • @MatthieuRiegler Yes it does. With the default settings, it opens a new tab. – nelson2tm Jun 24 '15 at 12:49
  • I mean does it open a new window if you're not in incognito mode ? – Matthieu Riegler Jun 24 '15 at 13:16
  • If you're not in Incognito Mode it will open a new window. – nelson2tm Jun 24 '15 at 16:39
  • 1
    @user770 Here's a list of available flags: peter.sh/experiments/chromium-command-line-switches I believe you are looking for --start-fullscreen – nelson2tm Jun 4 '18 at 19:00

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .