Skip to content

Instantly share code, notes, and snippets.

@fastmover
Last active October 24, 2022 13:07
Show Gist options
  • Save fastmover/8046152 to your computer and use it in GitHub Desktop.
Save fastmover/8046152 to your computer and use it in GitHub Desktop.
Auto install software for new Mac Setup.
#!/bin/bash
mkdir ~/getmacapps_temp
cd ~/getmacapps_temp
# Installing Chrome
curl -L -O "https://dl.google.com/chrome/mac/stable/GGRO/googlechrome.dmg"
hdiutil mount googlechrome.dmg
cp -R "/Volumes/Google Chrome/Google Chrome.app" /Applications
hdiutil unmount "/Volumes/Google Chrome"
rm googlechrome.dmg
# Installing VLC Player
curl -L -o vlc.dmg "http://get.videolan.org/vlc/2.1.1/macosx/vlc-2.1.1.dmg"
hdiutil mount vlc.dmg -mountpoint /Volumes/vlc
cp -R "/Volumes/vlc/VLC.app" /Applications
hdiutil unmount "/Volumes/vlc"
rm vlc.dmg
# Installing Sublime Text 2
echo "Installing Sublime Text 2"
curl -L -o "Sublime Text 2.0.1.dmg" "http://c758482.r82.cf2.rackcdn.com/Sublime%20Text%202.0.2.dmg"
hdiutil mount "Sublime Text 2.0.1.dmg"
cp -R "/Volumes/Sublime Text 2/Sublime Text 2.app" /Applications
hdiutil unmount "/Volumes/Sublime Text 2/Sublime Text 2.app"
rm "Sublime Text 2.0.1.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 Sequel Pro
curl -L -o sequel-pro.dmg "https://sequel-pro.googlecode.com/files/sequel-pro-1.0.2.dmg"
hdiutil mount sequel-pro.dmg
cp -R "/Volumes/Sequel Pro 1.0.2/Sequel Pro.app" /Applications
hdiutil unmount "/Volumes/Sequel Pro 1.0.2"
rm sequel-pro.dmg
# Installing Source Tree
curl -L -o SourceTree.dmg "http://downloads.atlassian.com/software/sourcetree/SourceTree_1.7.4.1.dmg"
hdiutil mount SourceTree.dmg
cp -R "/Volumes/SourceTree/SourceTree.app" /Applications
hdiutil unmount "/Volumes/SourceTree"
rm SourceTree.dmg
# Installing FileZilla
curl -L -o Filezilla.app.tar.bz2 "http://sourceforge.net/projects/filezilla/files/FileZilla_Client/3.7.3/FileZilla_3.7.3_i686-apple-darwin9.app.tar.bz2"
tar -zxvf Filezilla.app.tar.bz2
mv FileZilla.app /Applications
rm Filezilla.app.tar.bz2
# Installing flux
curl -L -O "https://justgetflux.com/mac/Flux.zip"
unzip Flux.zip
mv Flux.app /Applications
rm Flux.zip
# Installing LibreOffice
curl -L -o LibreOffice.dmg "http://download.documentfoundation.org/libreoffice/stable/4.1.3/mac/x86/LibreOffice_4.1.3_MacOS_x86.dmg" -H "User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_8_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/27.0.1453.93 Safari/537.36"
hdiutil mount LibreOffice.dmg
cp -R "/Volumes/LibreOffice/LibreOffice.app" /Applications
hdiutil unmount "/Volumes/LibreOffice"
rm LibreOffice.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 GrandPerspective.dmg
cp -R "/Volumes/GrandPerspective 1.5.1/GrandPerspective.app" /Applications
hdiutil unmount "/Volumes/GrandPerspective 1.5.1"
rm GrandPerspective.dmg
# Installing Coconut Battery
curl -L -o coconutBattery.zip "http://www.coconut-flavour.com/downloads/coconutBattery_2.8.zip"
unzip coconutBattery.zip
mv "coconutBattery.app" /Applications
rm coconutBattery.zip
# Installing Gimp
curl -L -o gimp.dmg "ftp://ftp.gimp.org/pub/gimp/v2.8/osx/gimp-2.8.4-nopython-dmg-1.dmg"
hdiutil mount gimp.dmg
cp -R "/Volumes/GIMP/GIMP.app" /Applications
hdiutil unmount "/Volumes/GIMP"
rm gimp.dmg
# Installing CodeKit
curl -L -o codekit.zip "http://incident57.com/codekit/files/codekit-8403.zip"
unzip codekit.zip
mv "CodeKit.app" /Applications
rm codekit.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 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 Coda
curl -L -o Coda.zip "https://panic.com/coda/d/Coda%202.0.12.zip"
unzip Coda.zip
mv "Coda 2.app" /Applications
rm Coda.zip
# Installing TextWrangler
curl -L -o TextWrangler.dmg "http://ash.barebones.com/TextWrangler_4.5.3.dmg"
hdiutil mount TextWrangler.dmg -nobrowse
cp -R "/Volumes/TextWrangler 4.5.3/TextWrangler.app" /Applications
hdiutil unmount "/Volumes/TextWrangler 4.5.3"
rm TextWrangler.dmg
# Download Total Terminal
curl -L -o TotalTerminal.dmg "http://downloads.binaryage.com/TotalTerminal-1.4.6.dmg"
hdiutil mount TotalTerminal.dmg
@re8us
Copy link

re8us commented Oct 24, 2022

Hi @fastmover! Is there another way to do this nowadays?

@re8us
Copy link

re8us commented Oct 24, 2022

@fastmover
Copy link
Author

Lol. This was just for my own personal setup. Haven't used it in years.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment