Skip to Content
Sindre Sorhus
Back to Supercharge

Updated

How to Make a File Executable on Mac

By Sindre Sorhus, who makes the Supercharge app

With Supercharge

  1. Open the settings of Supercharge, click “Tweaks”, and click “Configure…” next to “Context menu items”.
  2. In the “Main Menu” tab, turn on “Make Executable”.
  3. Right-click the file in Finder, and choose “Make Executable”.

The item only shows for files that are not executable yet, and not for some kinds of files, like images, video, PDF, HTML, and JSON files. It is useful for shell scripts, like a .command file that you then open with a double-click.

The right-click items cannot show in synced folders, like iCloud Drive and Dropbox. There, right-click the file, and choose “Services › Make File Executable”.

Get Supercharge

Elevate your Mac experience

$20, one-time purchase, plus tax where applicable

Requires
macOS 27 or later
Updated
November 2026
Gumroad rating
5.0/5 (293 ratings)

More about Supercharge

Without an app

macOS does it with a command in Terminal. Replace the path with your file, or drag the file into the window:

Terminal
chmod +x ~/Desktop/script.sh

Then run the script with its path, like ~/Desktop/script.sh. The Terminal way is fine when you already work in Terminal. Supercharge is faster when you start in Finder.