Skip to content

Instantly share code, notes, and snippets.

@simonluijk
Last active September 13, 2025 14:59
Show Gist options
  • Select an option

  • Save simonluijk/666264df5c31b73398da013556f85de0 to your computer and use it in GitHub Desktop.

Select an option

Save simonluijk/666264df5c31b73398da013556f85de0 to your computer and use it in GitHub Desktop.
echo "Installing xcode"
xcode-select --install
# Check for Homebrew,
# Install if we don't have it
if test ! $(which brew); then
echo "Installing homebrew..."
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
fi
# Update homebrew recipes
echo "Updating homebrew..."
brew update
echo "Installing brew stuff..."
apps=(
awscli
direnv
docker-buildx
docker-compose
docker-credential-helper-ecr
ecs-deploy
forego
git
gitlab-runner
gnupg
libmagic
libmemcached
libtool
libxml2
libxmlsec1
mackup
mas
pinentry-mac
postgresql@14
pre-commit
pyenv-virtualenv
tfenv
tox
wget
zlib
)
brew install ${apps[@]}
brew cleanup
sudo ln -s /usr/local/opt/libxml2/include/libxml2/libxml /usr/local/include/libxml
#Install Zsh & Oh My Zsh
echo "Installing Oh My ZSH..."
curl -L http://install.ohmyz.sh | sh
echo "Setting ZSH as shell..."
chsh -s /bin/zsh
# Apps
apps=(
android-platform-tools
arduino
brave-browser
cyberduck
docker
docker-desktop
dropbox
electron-cash
electrum
firefox
gnucash
google-chrome
google-drive
gpg-suite
insomnia
iterm2
keepassxc
ledger-live
libreoffice
little-snitch
mountain-duck
proton-drive
proton-mail
proton-mail-bridge
proton-pass
protonvpn
qbittorrent
session-manager-plugin
signal
sketchup-pro
sublime-merge
sublime-text
the-unarchiver
todoist
trezor-suite
visual-studio-code
vlc
yubico-authenticator
yubico-yubikey-manager
yubico-yubikey-personalization-gui
zoomus
)
# Install apps to /Applications
# Default is: /Users/$user/Applications
echo "Installing apps with Cask..."
brew cask install --appdir="/Applications" ${apps[@]}
brew cleanup
echo "Please sign into App store."
read -p "Press [Enter] key after this..."
mas install 497799835 # Install xcode
sudo xcode-select --switch /Applications/Xcode.app/Contents/Developer
sudo xcodebuild -license
echo "Install tools with pip and npm"
npm install -g yarn
echo "Please setup and sync Dropbox, and then run this script again."
read -p "Press [Enter] key after this..."
echo "Restoring setup from Mackup..."
mackup restore
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment