Last active
October 28, 2021 09:35
-
-
Save stiliajohny/0623a75832f59a09f56034c4eadc14e3 to your computer and use it in GitHub Desktop.
MacOS init provision
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
#!/usr/bin/env bash | |
defaults write com.apple.finder AppleShowAllFiles YES; # show hidden files | |
defaults write com.apple.dock persistent-apps -array; # remove icons in Dock | |
defaults write com.apple.dock tilesize -int 36; # smaller icon sizes in Dock | |
defaults write com.apple.dock autohide -bool true; # turn Dock auto-hidng on | |
defaults write com.apple.dock autohide-delay -float 0; # remove Dock show delay | |
defaults write com.apple.dock autohide-time-modifier -float 0; # remove Dock show delay | |
defaults write com.apple.dock orientation bottom; # place Dock on the right side of screen | |
defaults write NSGlobalDomain AppleShowAllExtensions -bool true; # show all file extensions | |
killall Dock 2>/dev/null; | |
killall Finder 2>/dev/null; | |
echo "Setting up ~/.bash_profile..."; | |
touch ~/.bash_profile; | |
echo "export PS1=\"\w $ \";" >> ~/.bash_profile; | |
echo "Install Xcode Command Line Tools..."; | |
xcode-select --install ; | |
echo "Install Brew and brew software..."; | |
yes | /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"; | |
brew install \ | |
caskroom/cask/brew-cask \ | |
cmake \ | |
git \ | |
mysql \ | |
nmap \ | |
node \ | |
openssl \ | |
pssh \ | |
python \ | |
redis \ | |
; | |
brew install --cask slack ; | |
brew install --cask visual-studio-code ; | |
brew install packer ; | |
brew install --cask firefox ; | |
brew install --cask vagrant ; | |
brew install --cask virtualbox; | |
brew install --cask vlc ; | |
brew install asdf ; | |
brew install python@3.9 ; | |
brew install --cask gpg-sync ; | |
brew install htop ; | |
brew install wget ; | |
brew install links ; | |
brew install python ; | |
brew install tree ; | |
brew install task ; | |
brew install tmux ; | |
brew install midnight-commander ; | |
brew install ansible; | |
brew install molecule; | |
brew install --cask alacritty; | |
brew tap homebrew/cask-fonts; | |
brew install --cask obsidian; | |
brew install --cask font-hack-nerd-font; | |
echo "Install AWS CLI..."; | |
curl "https://awscli.amazonaws.com/AWSCLIV2-2.0.30.pkg" -o "AWSCLIV2.pkg" | |
sudo installer -pkg AWSCLIV2.pkg -target / | |
echo "Git Config..."; | |
git config --global credential.helper osxkeychain; # activate git credentials storage ; | |
git config --global push.default simple; # default Git push behavior is set to `simple` ; | |
echo "Get Vagrant boxes" | |
vagrant box add jhcook/osx-yosemite-10.10 --provider virtualbox --force ; | |
vagrant box add ubuntu/bionic64 --provider virtualbox --force ; | |
vagrant box add generic/arch --provider virtualbox --force ; | |
vagrant box add archlinux/archlinux --provider virtualbox --force ; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment