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!
Written by Alejandro Fernández
Related protips
2 Responses
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
·
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Osx
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#