How do I prevent a Mac app from saving to iCloud by default with …


When you are saving a document you are working on to a page, number, TextEdit, or other cloud-based application on a Mac, the default location for that storage is iCloud. And while this might be fine and good for some people or some documents, you may be tired of changing that location every time to save somewhere else.


If you want to prevent your Mac app from being saved to iCloud by default, you can do it with Terminal and we'll show you how.

Open a terminal on a Mac

If you are used to using Terminal and use it frequently, open it and open it. If not, you can quickly open Terminal in several ways.

  • With Finder open, click go away > Utility from the menu bar and select Terminal.
  • Click on The application > Utility from your dock and select Terminal.
  • Open it Spotlight Search and writes Terminal.

Stop saving to iCloud by default

Now that you have the Terminal open, just enter the following command and then press return the key

defaults write NSGlobalDomain NSDocumentSaveNewDocumentsToCloud -bool false

That's it! Note You may need to restart your Mac later. Then the next time you save a file with a cloud-based app on a Mac, you won't see iCloud in the Where field by default.

Terminal command stops saving to iCloud

Save back to iCloud by default

If you choose to save to iCloud by default, that's easy. Just enter the following command and press return. Again, you may need to restart your Mac for it to take effect.

defaults write NSGlobalDomain NSDocumentSaveNewDocumentsToCloud -bool true

Wrap it

The terminal can be a very intimidating tool if you have never used it or don't use it frequently. But once you get used to it, this can be a handy way to make things happen on your Mac faster than looking for settings that may or may not exist.

Do you plan to use this Terminal command to stop saving to iCloud by default on your Mac?

And if you are interested in other useful commands, check out these fun and useful Terminal commands for macOS or just go to our Terminal section.