MacOS – Open a new Browser Window from Terminal

command linegoogle-chromemacosterminal

I am working on multiple screens.
when I intend to open a new chrome window(not a tab),I have to press 'CMD+Tab' to shift to the current and press 'Ctrl+N'.

If input command

open https://apple.stackexchange.com

A new tab created not a new window.

Best Answer

open -na "Google Chrome" --args --new-window "https://georgegarside.com"

-n opens a new instance of an application. Google Chrome detects this and remedies the situation by closing the new instance and passing the tab’s location to the first instance, but this is necessary to force arguments to be read.
--args indicates what's to follow are arguments to be passed to Google Chrome, not open.
--new-window is a Google Chrome argument to force a new window to be created.