Skip to content

Instantly share code, notes, and snippets.

@cstipkovic
Forked from zenorocha/.hyper.js
Last active October 26, 2026 22:09
Show Gist options
  • Select an option

  • Save cstipkovic/9118447 to your computer and use it in GitHub Desktop.

Select an option

Save cstipkovic/9118447 to your computer and use it in GitHub Desktop.
My Mac OS X setup script
# Instalar: brew bundle --file=Brewfile
# Ver o que está fora do Brewfile: brew bundle cleanup --file=Brewfile
# ---------- Apps (casks) ----------
# Browsers
cask "brave-browser"
cask "firefox"
cask "google-chrome"
cask "tor-browser"
# Desenvolvimento
cask "cyberduck"
cask "dbeaver-community"
cask "docker-desktop"
cask "gcloud-cli"
cask "iterm2"
cask "kdiff3"
cask "mysql-shell"
cask "postman"
cask "corretto@11"
cask "corretto@8"
cask "visual-studio-code"
# AI / agents
cask "claude-code"
cask "codex"
# Produtividade
cask "aldente"
cask "bitwarden"
cask "dropbox"
cask "franz"
cask "lunar"
cask "notunes"
cask "obsidian"
cask "raycast"
cask "rescuetime"
cask "slack"
# Documentos e mídia
cask "basictex"
cask "calibre"
cask "handbrake-app"
cask "libreoffice"
cask "spotify"
cask "vlc"
# Outros
cask "rustdesk"
# Opcionais
# cask "teamviewer"
# cask "alfred"
# cask "microsoft-office"
# ---------- CLI (formulae) ----------
brew "git"
brew "bash-completion"
brew "nvm"
# Shell
brew "direnv"
brew "fzf"
brew "starship"
brew "tree"
brew "zoxide"
brew "tmux"
# Dev
brew "aws-sam-cli"
brew "awscli"
brew "bitwarden-cli"
brew "gh"
brew "golangci-lint"
brew "jq"
brew "libpq"
brew "maven"
brew "mysql-client"
brew "opencode"
brew "pipx"
brew "plantuml"
brew "pyenv"
brew "specify"
brew "swc"
brew "tokei"
brew "uv"
brew "node"
brew "yarn"
# Mídia e documentos
brew "ffmpeg"
brew "pandoc"
brew "poppler"
brew "tectonic"
brew "yt-dlp"
# ---------- App Store (requer login na App Store) ----------
brew "mas"
mas "Magnet", id: 441258766
mas "The Unarchiver", id: 425424353
mas "Xcode", id: 497799835
#!/bin/bash
# Atalho para máquina nova. O script real é versionado em:
# https://github.com/cstipkovic/.dotfiles/blob/master/install_my_env.sh
set -euo pipefail
curl -fsSL https://raw.githubusercontent.com/cstipkovic/.dotfiles/master/install_my_env.sh | bash

Setup Mac OS X

1. Run Software Update

Make sure everything is up to date (System Settings > General > Software Update).

2. Install Xcode and its Command Line Tools

  1. Go to App Store and install Xcode.
  2. Open it and accept the terms.
  3. Then go to the terminal and install the "Command Line Tools":
xcode-select --install

3. Install Dotfiles

Visit my Dotfiles repo for instructions.

4. Install Softwares

Most software is installed with Homebrew, which the script below also installs:

curl -fsSL https://gist.github.com/cstipkovic/9118447/raw/install_my_env.sh | bash

If the Command Line Tools are not installed yet, the script installs them and stops; run it again afterwards.

The apps and CLIs are declared in the Brewfile and installed with brew bundle. To see what is installed but missing from it, run brew bundle cleanup --file=Brewfile.

What's included?

Browser
Development
AI / agents
Productivity
Documents and media
Other

Some apps aren't available through Homebrew.

App Store (installed by the Brewfile through mas; sign in to the App Store first)
Manually

5. Sign in and generate SSH keys

Sign in to Bitwarden first, then run gh auth login, set git config --global user.name/user.email and put GEMINI_API_KEY in ~/.dotfiles/secrets.env.

Generate SSH keys for GitHub

Visit GitHub's official guide for instructions.

From that point on you're going to be able to do some git operations with GitHub \o/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment