Last Updated: February 25, 2016
·
11.31K
· afgomez

Download and install a .dmg file from Mac OS terminal

I created a bash piece of code that downloads a .dmg, mounts it and copies the .app folder into your /Applications folder.

The usage is really simple

$ dmginstall [url]

For example, for installing alfred.app

$ dmginstall http://cachefly.alfredapp.com/alfred_1.3.1_261.dmg

Enjoy!

2 Responses
Add your response

Add this piece of code to the brew repository :)

over 1 year ago ·

@sheerun it needs more testing before doing that, but thanks for the advice :)

over 1 year ago ·