-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathsetup.sh
More file actions
19 lines (15 loc) · 797 Bytes
/
setup.sh
File metadata and controls
19 lines (15 loc) · 797 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# This script will run a setup, installing your preferred version of iTerm2, the latest version of Java, and python3, aliasing it to py.
echo "To download command line tools, you should first install Xcode."
echo "This script will accept the xcodebuild license, and then prompt you to install command line tools from xcode."
sudo xcodebuild -license accept
xcode-select --install
echo "Type the latest version of iTerm2 that you wish to install, followed by [Enter]:"
read version
version=${version//./_}
curl -O https://iterm2.com/downloads/stable/iTerm2-$version.zip
unzip iTerm2-$version.zip
rm iTerm2-$version.zip
# Replace with Applications once done testing!
mv iTerm.app ~/Applications/iTerm.app
echo "iTerm will now open up. Please type sh setup2.sh to cnotinue install"
open -a iTerm