Installed mpv with Brew, but nothing in Applications
I'm trying to play anime with mpv. I have heard that it's the best player for anime.
https://mpv.io/installation/
I go to the website and I see that there's homebrew.
I run brew install mpv
. It seems to complete successfully. Now what?
There doesn't seem to be an mpv app I can use to open my video files in my /Applications.
Solution 1:
If you want to have the application linked to ~/Applications, have homebrew do that.
brew linkapps mpv
Since "linkapps" is being removed (for reasons) across all brew recipes, you might instead tap the cask which drops a functioning mpv
into Applications and runs more like an app than a command line tool.
brew install mpv --cask
Solution 2:
As brew linkapps is now deprecated, the correct way to do this is to use the --with-bundle option when installing mpv.
brew install mpv --with-bundle
Because you said you have mpv installed with brew already, it's better to uninstall mpv first with brew uninstall mpv --force
After that, run the installation command above.
When the installation is finished, go to your mpv installation folder:
/usr/local/Cellar/mpv/[version]/
You will see an mpv.app in there. Right-click mpv.app > Make Alias. Copy/move the mpv.app alias into your Applications folder. Remove the 'alias' from the filename, so you'll have "mpv.app" in your Applications :)
Reference: mpv formula in homebrew's repository - https://github.com/Homebrew/homebrew-core/blob/master/Formula/mpv.rb#L14
I prefer using --with-bundle rather than cask install as it allows me to use more compile options and to install different versions of mpv (e.g. --HEAD) as opposed to the pre-built package that cask install uses. Hope this helps!
Solution 3:
Most of the suggestions here no longer work, the current one as of Dec 2020 is:
brew install --cask mpv