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

$ dmginstall


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 ·