DEV Community

Anuchit Prasertsang
Anuchit Prasertsang

Posted on

What is the Chrome `--app` Flag?

The --app flag in Google Chrome lets you open any website in a clean, minimal window—no address bar, tabs, or browser buttons. It’s a great way to run web apps as if they were standalone desktop applications.

Example

/Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome --app="https://www.example.com"
Enter fullscreen mode Exit fullscreen mode

This command launches example.com in its own simplified window.

Why It’s Useful

  • Gets rid of the usual browser interface
  • Makes web apps feel more like native apps
  • Keeps things tidy by opening the site in a separate window

Keep in mind: This is a Chrome-specific feature and doesn’t work the same way in browsers like Firefox.

Top comments (1)

Collapse
 
leob profile image
leob

Interesting little "nugget" !