-
-
Save quangson91/1bfdb024760f4a9809c9 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Installing Chrome | |
curl -L -O "https://dl.google.com/chrome/mac/stable/GGRO/googlechrome.dmg" | |
hdiutil mount -nobrowse googlechrome.dmg | |
cp -R "/Volumes/Google Chrome/Google Chrome.app" /Applications | |
hdiutil unmount "/Volumes/Google Chrome" | |
rm googlechrome.dmg | |
# Installing Firefox | |
curl -L -o Firefox.dmg "http://download.mozilla.org/?product=firefox-latest&os=osx&lang=en-US" | |
hdiutil mount -nobrowse Firefox.dmg | |
cp -R "/Volumes/Firefox/Firefox.app" /Applications | |
hdiutil unmount "/Volumes/Firefox" | |
rm Firefox.dmg | |
# Installing VLC Player | |
curl -L -o vlc.dmg "http://get.videolan.org/vlc/2.1.4/macosx/vlc-2.1.4.dmg" | |
hdiutil mount -nobrowse vlc.dmg -mountpoint /Volumes/vlc | |
cp -R "/Volumes/vlc/VLC.app" /Applications | |
hdiutil unmount "/Volumes/vlc" | |
rm vlc.dmg | |
# Installing Skype | |
curl -L -O "http://www.skype.com/go/getskype-macosx.dmg" | |
hdiutil mount -nobrowse getskype-macosx.dmg | |
cp -R "/Volumes/Skype/Skype.app" /Applications | |
hdiutil unmount "/Volumes/Skype" | |
rm getskype-macosx.dmg | |
# Installing Dropbox | |
curl -L -o Dropbox.dmg "https://www.dropbox.com/download?plat=mac" | |
hdiutil mount -nobrowse Dropbox.dmg | |
cp -R "/Volumes/Dropbox Installer/Dropbox.app" /Applications | |
hdiutil unmount "/Volumes/Dropbox Installer" | |
rm Dropbox.dmg | |
# Installing iterm2 | |
curl -L -o iTerm2.zip "http://www.iterm2.com/downloads/stable/iTerm2_v1_0_0.zip" | |
unzip iTerm2.zip | |
mv iTerm.app /Applications | |
rm iTerm2.zip | |
# Installing flux | |
curl -L -O "https://justgetflux.com/mac/Flux.zip" | |
unzip Flux.zip | |
mv Flux.app /Applications | |
rm Flux.zip | |
# Installing AppCleaner | |
curl -L -O "http://www.freemacsoft.net/downloads/AppCleaner_2.2.3.zip" | |
unzip AppCleaner_2.2.3.zip | |
ls -lrt | |
mv AppCleaner.app /Applications/ | |
rm AppCleaner_2.2.3.zip | |
# Installing Audacity | |
curl -L -o audacity.dmg "http://audacity.googlecode.com/files/audacity-macosx-ub-2.0.5.dmg" | |
hdiutil mount -nobrowse audacity.dmg | |
cp -R "/Volumes/Audacity 2.0.5/Audacity" /Applications/Audacity | |
hdiutil unmount "/Volumes/Audacity 2.0.5" | |
rm audacity.dmg | |
# Installing Grand Persepective | |
curl -L -o GrandPerspective.dmg "http://sourceforge.net/projects/grandperspectiv/files/grandperspective/1.5.1/GrandPerspective-1_5_1.dmg/download" | |
hdiutil mount -nobrowse GrandPerspective.dmg | |
cp -R "/Volumes/GrandPerspective 1.5.1/GrandPerspective.app" /Applications | |
hdiutil unmount "/Volumes/GrandPerspective 1.5.1" | |
rm GrandPerspective.dmg | |
# Installing 1Password | |
curl -L -o 1Password.zip "https://d13itkw33a7sus.cloudfront.net/dist/1P/mac4/1Password-4.1.3.zip" | |
unzip 1Password.zip | |
mv "1Password 4.app" /Applications | |
rm 1Password.zip | |
# Installing Alfred | |
curl -L -o Alfred.zip "http://cachefly.alfredapp.com/Alfred_2.1.1_227.zip" | |
unzip Alfred.zip | |
mv "Alfred 2.app" /Applications | |
rm Alfred.zip | |
# Installing Postgres.app | |
curl -L -o postgres.zip "http://postgresapp.com/download" | |
unzip postgres.zip | |
mv "Postgres93.app" /Applications | |
rm postgres.zip | |
# Installing Notational Velocity | |
curl -L -O "http://notational.net/NotationalVelocity.zip" | |
unzip NotationalVelocity.zip | |
mv "Notational Velocity.app" /Applications | |
rm NotationalVelocity.zip | |
# Installing The Unarchiver | |
curl -L -o TheUnarchiver.zip "http://theunarchiver.googlecode.com/files/TheUnarchiver3.9.1.zip" | |
unzip TheUnarchiver.zip | |
mv "The Unarchiver.app" /Applications | |
rm TheUnarchiver.zip | |
# Installing Rubymine | |
curl -L -o RubyMine.dmg "http://download-cf.jetbrains.com/ruby/RubyMine-6.3.2.dmg" | |
hdiutil mount -nobrowse RubyMine.dmg | |
cp -R /Volumes/RubyMine/RubyMine.app /Applications/RubyMine.app | |
hdiutil unmount "/Volumes/RubyMine" | |
rm RubyMine.dmg | |
# Installing AppCode | |
curl -L -o AppCode.dmg "http://download-cf.jetbrains.com/objc/AppCode-3.0.dmg" | |
hdiutil mount -nobrowse AppCode.dmg | |
cp -R /Volumes/AppCode/AppCode.app /Applications/AppCode.app | |
hdiutil unmount "/Volumes/AppCode" | |
rm AppCode.dmg | |
# Installing WebStorm | |
curl -L -o WebStorm.dmg "http://download-cf.jetbrains.com/webstorm/WebStorm-8.0.3.dmg" | |
hdiutil mount -nobrowse WebStorm.dmg | |
cp -R /Volumes/WebStorm/WebStorm.app /Applications/WebStorm.app | |
hdiutil unmount "/Volumes/WebStorm" | |
rm WebStorm.dmg | |
# Installing Intellij Ultimate | |
curl -L -o IdeaIU.dmg "http://download-cf.jetbrains.com/idea/ideaIU-13.1.3.dmg" | |
hdiutil mount -nobrowse IdeaIU.dmg | |
cp -R /Volumes/IntelliJ\ IDEA\ 13/IntelliJ\ IDEA\ 13.app/ /Applications/IntelliJ\ IDEA\ 13.app | |
hdiutil unmount "/Volumes/IntelliJ IDEA 13" | |
rm IdeaIU.dmg | |
# Installing Sublime 3 | |
curl -L -o Sublime.dmg "http://c758482.r82.cf2.rackcdn.com/Sublime%20Text%20Build%203059.dmg" | |
hdiutil mount -nobrowse Sublime.dmg | |
cp -R /Volumes/Sublime\ Text/Sublime\ Text.app /Applications/Sublime\ Text.app | |
hdiutil unmount "/Volumes/Sublime Text" | |
rm Sublime.dmg | |
# installing charles proxy | |
curl -L -o IdeaIU.dmg "http://www.charlesproxy.com/assets/release/3.9.2/charles-proxy-3.9.2-applejava.dmg" | |
hdiutil convert -quiet charles.dmg -format UDTO -o charles | |
hdiutil attach -quiet -nobrowse -noverify -noautoopen -mountpoint charles charles.cdr | |
cp -R charles/Charles.app /Applications/Charles.app | |
hdiutil unmount "charles" | |
rm charles.dmg | |
rm charles.cdr | |
# Installing Xcode command line tools | |
# only for maverick, older os support there: => https://github.com/timsutton/osx-vm-templates/blob/master/scripts/xcode-cli-tools.sh | |
touch /tmp/.com.apple.dt.CommandLineTools.installondemand.in-progress | |
PROD=$(softwareupdate -l | grep -B 1 "Developer" | head -n 1 | awk -F"*" '{print $2}') | |
softwareupdate -i $PROD -v # ask for password | |
unset PROD | |
# installing homebrew | |
ruby -e "$(curl -fsSL https://raw.github.com/Homebrew/homebrew/go/install)" < /dev/null # ask for password | |
sudo xcodebuild -license # interactive | |
# installing git and more | |
brew install git pianobar wget mysql hub | |
#installing smartgit | |
curl -L -o SmartGit.dmg "http://www.syntevo.com/download/smartgithg/smartgithg-macosx-6_0_1.dmg" | |
hdiutil mount -nobrowse SmartGit.dmg | |
cp -R /Volumes/SmartGitHg\ 6.0.1/SmartGitHg\ 6.app/ /Applications/SmartGitHg\ 6.app | |
hdiutil unmount "/Volumes/SmartGitHg 6.0.1" | |
rm SmartGit.dmg | |
#installing SizeUp | |
curl -L -O "https://www.irradiatedsoftware.com/download/SizeUp.zip" | |
unzip SizeUp.zip | |
mv SizeUp.app Applications/ | |
rm SizeUp.zip |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment