niod7q
Last Updated: February 25, 2016
·
7.276K
· 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

2017

Add this piece of code to the brew repository :)

over 1 year ago ·
2018

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

over 1 year ago ·