2025-02-17 11:10:19 +00:00
|
|
|
#!/usr/bin/env bash
|
2024-04-21 17:55:27 +00:00
|
|
|
set -euo pipefail
|
|
|
|
|
|
|
|
source common.sh
|
|
|
|
|
|
|
|
echo_header "== Installing homebrew"
|
|
|
|
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
|
|
|
|
export PATH="/opt/homebrew/bin:$PATH"
|
|
|
|
|
|
|
|
echo_header "== Installing CLI tools"
|
2025-02-17 11:10:19 +00:00
|
|
|
brew install git git-lfs zsh bash curl htop wget colima docker docker-buildx
|
2024-04-21 17:55:27 +00:00
|
|
|
|
2025-02-17 11:10:19 +00:00
|
|
|
colima start --cpu 8 --memory 12 --disk 200 --vm-type=vz --vz-rosetta --mount-type=virtiofs
|
|
|
|
|
|
|
|
if [ "$GUI" = "YES" ]; then
|
|
|
|
if [ "$ENVIRONMENT" = "work" ]; then
|
|
|
|
echo_header "== Installing GUI tools for work"
|
|
|
|
brew install --cask --adopt \
|
|
|
|
kitty \
|
|
|
|
bitwarden \
|
|
|
|
obsidian
|
|
|
|
else
|
|
|
|
echo_header "== Installing GUI tools for personal"
|
|
|
|
brew install --cask --adopt \
|
|
|
|
kitty \
|
|
|
|
firefox \
|
|
|
|
bitwarden \
|
|
|
|
obsidian \
|
|
|
|
thunderbird \
|
|
|
|
visual-studio-code
|
|
|
|
fi
|
|
|
|
fi
|