How to Use ChatGPT as a Standalone Mac App with Nativefier

Here’s an easy way to get ChatGPT as a standalone app. Complete with a mac .icns icon, covering all sizes ✨

ChatGPT is my new personal assistant these days. I use it for code, inspiration, chores and much more, constantly cycling between and sites in other tabs.

Or, I might be working in another app, with no browser open at all. And then, to summon the robot, now I have to open a whole browser and stuff. Ugh.

Just lemme do ⌘ + Space and type “ChatGPT” from the Alfred launch bar already!

What if I could just have ChatGPT running as a standalone Mac app? 🤔

Enter nativefier — a Node.js utility to package any URL into an Electron app, that runs like any ole regular Mac app. Neat!

It works like this:


Boom, you now have an executable .app ready to open.

Nativefier comes with a ton of build-time options you can use to control how the app should run, once built. Check out the API docs on GitHub.

Build ChatGPT as a standalone app

Please note: The following assumes you already have Node.js installed on your Mac. If not, start by installing from, or with Homebrew.

To build your own, here’s what you need to do:

  1. Install nativefier: npm install -g nativefier (and, optionally, dependencies as described in the docs)
  2. Download this Mac app icon I made — it’s a complete .icns file, containing all sizes necessary to look good in any size:
    ChatGPT Mac app icon. Click to download in .icns format. ChatGPT Mac app icon (.icns) (214 KB)
  3. Move the icon to your Home directory (the folder with your login name)
  4. Open on your Mac and run the following command:
cd && nativefier --lang "en-US" --darwin-dark-mode-support --name "ChatGPT" --conceal --single-instance --disable-dev-tools --fast-quit --user-agent safari --title-bar-style hidden --icon "chatgpt.icns" /Applications/

Breaking it down

(Naturally, I asked the robot to explain this command:)

This command might look intimidating at first, but don’t worry! We’ll break down each option in the command so you can understand what’s happening.

  1. cd: This command changes the current directory to your home directory.
  2. &&: This symbol allows you to chain multiple commands together, executing them one after the other. In this case, the cd command will be executed first, followed by the nativefier command.
  3. nativefier: This is the main command, telling your computer to use Nativefier to create a desktop application.
  4. --lang "en-US": This option sets the language of the application to English (United States). You can replace “en-US” with your preferred language code.
  5. --darwin-dark-mode-support: This option enables dark mode support for the app on macOS (also known as Darwin).
  6. --name "ChatGPT": This option sets the name of the application to “ChatGPT”. You can replace “ChatGPT” with your desired app name.
  7. --conceal: This option conceals the source code of the app, making it harder for others to inspect or modify.
  8. --single-instance: This option ensures that only one instance of the app can run at a time.
  9. --disable-dev-tools: This option disables the developer tools, preventing users from accessing them within the app.
  10. --fast-quit: This option allows the app to quit immediately when closed, without any prompts or delays.
  11. --user-agent safari: This option sets the user agent of the app to Safari, making the website think it’s being accessed from a Safari browser.
  12. --title-bar-style hidden: This option hides the title bar of the app, providing a cleaner appearance.
  13. --icon "chatgpt.icns": This option sets the app’s icon to “chatgpt.icns”. Replace “chatgpt.icns” with the file path of your desired icon.
  14. This is the URL of the website you want to turn into a standalone app.
  15. /Applications/: This is the destination folder where your app will be saved. In this case, it will be saved in your Applications folder.

Fix login issue in

I ran into a problem early on, testing it all out: When the app first launched, I got stuck at the initial “Please stand by, while we are checking your browser…”-screen. The problem was with the Electron app browser, and how it accesses

OpenAI employs a Cloudflare “captcha” to prevent bots (how meta), and verify legitimate traffic to ChatGPT.

The Cloudflare system seems to not accept the (fake) Google Chrome user-agent string, set by nativefier by default, when building an app.

To fix this, simply pass a different user-agent string: I used the shortname safari and it works great. You can see this in the complete command above.

Posting for searchability, in case it helps anyone else! ✌️

Updating/upgrading the app

After some time, you might see a warning about the app having been built on an older version of Electron / Nativefier. This means you should periodically re-build the app, to ensure it runs on recent-ish versions of the underlying software and dependencies.

Fortunately, this is simple to do: The process to a upgrade a nativefier app is the same as creating it.
Simply repeat the process + command, shown above in the first section, and you should be good to go!

The app data, ie. cookies, etc., will not be removed so you’ll still be signed in once you open your newly-upgraded ✨


About Casper Klenz-Kitenge

I live in Copenhagen, Denmark with my wife and our two kids. My day-to-day is about finding solutions to real problems, making my work matter by helping people achieve their goals. You should sign up for my newsletter to get a fresh perspective on work.