Skip to content

Instantly share code, notes, and snippets.

@adrianjost
Last active March 6, 2026 15:50
Show Gist options
  • Select an option

  • Save adrianjost/a7deac13da4dc8b9ed3b44afff3cc8e0 to your computer and use it in GitHub Desktop.

Select an option

Save adrianjost/a7deac13da4dc8b9ed3b44afff3cc8e0 to your computer and use it in GitHub Desktop.
My MacOS Setup
# ~/.zshrc
# Setup Suggestions
source ~/.zsh/zsh-autosuggestions/zsh-autosuggestions.zsh
# Change the suggestion color to be subtle
ZSH_AUTOSUGGEST_STRATEGY=(history completion)
ZSH_AUTOSUGGEST_HIGHLIGHT_STYLE='fg=244'
# Short Prompts
# %n=user, %m=host, %~=pwd
PROMPT='
%B%F{magenta}%n%f%b %B%F{blue}%~%f%b
%B%F{green}❯ %f%b'
# Google Cloud SDK (Zsh version)
if [ -f '/Users/aj/google-cloud-sdk/path.zsh.inc' ]; then . '/Users/aj/google-cloud-sdk/path.zsh.inc'; fi
if [ -f '/Users/aj/google-cloud-sdk/completion.zsh.inc' ]; then . '/Users/aj/google-cloud-sdk/completion.zsh.inc'; fi
# Language Setup
export LANG="en_US.UTF-8"
# Go Workspace and Path
export GOPATH="$HOME/go"
export NODEJS_PATH="/opt/homebrew/opt/node@24"
export PATH="$PATH:/usr/local/go/bin:$GOPATH/bin:$NODEJS_PATH/bin"
# Puppeteer
export PUPPETEER_EXECUTABLE_PATH='/Applications/Google Chrome.app/Contents/MacOS/Google Chrome'
# Expose Homebrew installs
if [ -f "/opt/homebrew/bin/brew" ]; then
eval "$(/opt/homebrew/bin/brew shellenv)"
fi
# Node security
alias npm="sfw npm"
echo "Setup Mac"
# Configurations
echo "Change MacOS Settings"
## Move Dock to right
defaults write com.apple.dock orientation right
## Hide Dock immediately
defaults write com.apple.dock autohide-delay -float 0
## Hide Dock without transition
defaults write com.apple.dock "autohide-time-modifier" -float "0"
killall Dock
# Install Apps
echo "Install Apps"
## Development
### XCode
xcode-select --install
### Package Manager - Homebrew
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
### Programming Languages
brew install node@24
brew install go
### Shell Autosuggestions
git clone https://github.com/zsh-users/zsh-autosuggestions ~/.zsh/zsh-autosuggestions
### Code Editor
brew install --cask visual-studio-code
### Git Manager
brew install --cask github
### Communication
brew install --cask slack
### Network Request Tests
brew install --cask hoppscotch
### Code Signing
brew install --cask gpg-suite
### Browser
brew install --cask google-chrome
# brew install --cask microsoft-edge
# brew install --cask firefox
brew install --cask polypane
### Arduino
# brew install --cask arduino
### Docker
# brew install docker
brew install --cask podman-desktop
## Productivity
### Password Manager
brew install --cask 1password
brew install --cask safeincloud-password-manager
### Time Tracking
brew install --cask clockify
### Image Editor
brew install --cask gimp
## Utilities
### Increase Screen Max Brightness
brew install --cask lunar
### Clipboard History
# brew install --cask maccy
### Alternative Tab switching
brew install --cask alt-tab
### Manual Fan Control
brew install --cask macs-fan-control
### Window Management
# brew install --cask spectacle
brew install --cask rectangle
### Emoji Shortcuts
brew install --cask rocket
brew install gitmoji
### Keep the audio balance from drifting
brew install --cask ballast
### Disable Keyboard for cleaning
brew install --cask keyboardcleantool
### Spotlight enhanced
brew install --cask raycast
### VPN
brew install --cask nordvpn
### Close Apps when last window is closed
brew install --cask swift-quit
## Configuration Generator
# brew install --cask imazing
## Entertainment
### Messaging
brew install --cask telegram-desktop
### Radio
# brew install --cask tunein
### Games
brew install --cask steam
# Manual Install
echo "Install from AppStore:"
echo "- Xcode"
echo "- Apple Configurator"
@adrianjost
Copy link
Author

Add mise for nodejs managemant

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