niod7q
Last Updated: February 25, 2016
·
5.892K
· afgomez
578855 3794745059411 1045494353 n

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!

Say Thanks
Respond

2 Responses
Add your response

2017
Photo on 08.01.2013 at 04.15

Add this piece of code to the brew repository :)

over 1 year ago ·
2018
578855 3794745059411 1045494353 n

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

over 1 year ago ·
Filed Under