Suppose that I move a.app outside /Applications to somewhere like ~/Downloads/MyApp (Note that I drop the extension). How can I run it from there using terminal?

I tried open -a but it says ... cannot be opened because its executable is missing.

  • 1
    You drop the extension? So then it's just a folder called MyApp?
    – grg
    Dec 31, 2016 at 23:42
  • What happens if you double-click it?
    – Tetsujin
    Jan 1, 2017 at 9:51
  • It should work. Apparently you didn't move the "whole" app? I have plenty of apps I just run from ~/Downloads (without any problems).
    – Roger
    Jan 1, 2017 at 10:12
  • @grgarside yes. Its just a folder now.
    – Mahdi
    Jan 5, 2017 at 6:08
  • @Tetsujin When I double-click, the folder contents are shown.
    – Mahdi
    Jan 5, 2017 at 6:08

1 Answer 1


It's not quite that easy.

Typical structure of an app:

      MyApp <<<<<<<<

So in terminal you would open


This doesn't work for all apps, but will work for most that are installed by a drag and drop.

If you want to launch them from finder, and associated them, but you just don't have the room then in a terminal window:

sudo ln -s /Path/To/MyApp.app /Applications

This constructs a symbolic link in /Applications to where MyApp.app really lives.

Indeed if you are booting from a small disk, you may be able to move some applications off of the boot volume and put them on an external disk, replacing them with symbolic links.

Some applications install stuff into /Library. To get these apps to run in different places takes a lot more work.

Be cautious doing this with anything required for routine running. You can get your mac into an unusable state. If you want to play around with in a serious way, install Virtual Box on your mac, install another copy of MacOS in your virtual box, and play there. (Give it half your ram)

The performace is pretty sucky, but it's a safe way to play.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .