Skip to content

Instantly share code, notes, and snippets.

@paulyuk
Last active June 18, 2026 23:49
Show Gist options
  • Select an option

  • Save paulyuk/d488dec0eb7ccb6082a03172202b0137 to your computer and use it in GitHub Desktop.

Select an option

Save paulyuk/d488dec0eb7ccb6082a03172202b0137 to your computer and use it in GitHub Desktop.
Install Mac Homebrew Stuff (new machine setup)
# Install Mac Homebrew Stuff (new machine setup)
# --- Step 0: Download 1Password first ---
# https://1password.com/downloads/mac/
# --- Step 1: Install Homebrew ---
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
# --- Step 2: Add Homebrew to PATH ---
echo >> /Users/paulyuk/.zprofile
echo 'eval "$(/opt/homebrew/bin/brew shellenv zsh)"' >> /Users/paulyuk/.zprofile
eval "$(/opt/homebrew/bin/brew shellenv zsh)"
# --- Step 3: Terminal & Shell ---
brew install --cask iterm2
# Oh My Zsh — https://ohmyz.sh
sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
brew install zsh-autosuggestions
brew install zsh-syntax-highlighting
brew install --cask font-meslo-lg-nerd-font # required for agnoster arrow glyphs
# In iTerm2: Preferences → Profiles → Text → Font → MesloLGS NF
sed -i '' 's/ZSH_THEME="robbyrussell"/ZSH_THEME="agnoster"/g' ~/.zshrc && source ~/.zshrc
# restart terminal now
# --- Step 4: Git, GitHub, Copilot ---
brew install git
brew install gh # GitHub CLI
brew install jq
gh auth login # authenticate GitHub CLI
# GitHub Copilot CLI — https://docs.github.com/en/copilot/how-tos/copilot-cli/set-up-copilot-cli/install-copilot-cli
brew install copilot-cli
# Agency — GitHub Copilot + Claude Code, pre-configured for Microsoft engineers
# https://aka.ms/agency
curl -sSfL https://aka.ms/InstallTool.sh | sh -s agency && exec $SHELL -l
# on first run: type /login and sign in with your GitHub EMU account (alias_microsoft)
# --- Language Stacks ---
# Python — uv (version manager, package manager, venv, script runner; replaces pip/pyenv/pipx)
# https://docs.astral.sh/uv/getting-started/installation/
curl -LsSf https://astral.sh/uv/install.sh | sh
uv python install 3.13
uv python pin 3.13
# uv tool install ruff # install CLI tools (replaces pipx)
# Node — nvm + LTS
# https://github.com/nvm-sh/nvm
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.3/install.sh | bash
export NVM_DIR="$HOME/.nvm" && [ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # source for current session
nvm install --lts
nvm use --lts
nvm alias default 'lts/*'
# .NET 10 SDK
brew install dotnet # installs .NET 10 SDK (includes runtime)
# --- VS Code ---
# https://code.visualstudio.com/download
# (download .zip for Apple Silicon, drag to /Applications)
# --- Azure ---
brew install azure-cli # az cli
brew install azure/functions/azure-functions-core-tools@4 # func core tools
brew install azure-dev # azd (Azure Developer CLI)
curl -fsSL https://aka.ms/aca-cli-install | sh # ACA Sandboxes CLI
curl -fsSL https://aka.ms/connector-namespace-cli-install | sh # ACA Connectors CLI
# --- Containers ---
brew install --cask docker # Docker Desktop
# --- AI / LLMs ---
brew install ollama # run local LLMs (llama, mistral, phi, qwen, etc.)
# --- Shell setup (add to ~/.zshrc) ---
# ZSH_THEME="agnoster"
# export DOTNET_ROOT="/opt/homebrew/opt/dotnet/libexec"
# export NVM_DIR="$HOME/.nvm"
# [ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"
# source $(brew --prefix)/share/zsh-autosuggestions/zsh-autosuggestions.zsh
# source $(brew --prefix)/share/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
# ============================================================
# --- Optional: Core Dev Tools ---
# brew install ripgrep # fast grep (rg)
# brew install fd # fast find
# brew install bat # better cat
# brew install eza # better ls
# brew install lazygit # TUI git client
# brew install httpie # modern curl
# ============================================================
# ============================================================
# --- Optional: Apps ---
# brew install --cask discord
# brew install --cask rectangle # window manager (open source)
# Signal: https://signal.org/download/
# brew install --cask whatsapp
# ============================================================
# ============================================================
# --- Optional: Kubernetes ---
# brew install kubectl
# brew install k9s
# brew install helm
# ============================================================
# ============================================================
# --- Optional: Dapr ---
# brew install dapr/tap/dapr
# ============================================================
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment