Skip to content

Instantly share code, notes, and snippets.

@jerkovicl
Last active December 4, 2025 14:34
Show Gist options
  • Select an option

  • Save jerkovicl/8b53521b6a89225897fdf0064e79e5a9 to your computer and use it in GitHub Desktop.

Select an option

Save jerkovicl/8b53521b6a89225897fdf0064e79e5a9 to your computer and use it in GitHub Desktop.
#!/usr/bin/env bash
## Run script with bash macos-setup.sh
## ## ## ## ## ## ## ## ## ## ## ## ## ##
## Getting started
## Step 1 - install homebrew: http://brew.sh/
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
## Optional - check for issues
# brew doctor
## Update all apps via brew
# brew update && brew upgrade
## ## ## ## ## ## ## ## ## ## ## ## ## ##
## Step 2 - install homebrew apps
## Development, Design
brew install google-chrome
brew install google-chrome@dev
brew install visual-studio-code
brew install git
brew install fnm
fnm install --lts
node_version=$(fnm list | grep 'lts-latest' | grep -oE 'v\d+\.\d+\.\d+')
fnm default $node_version
brew install nano
#brew install node
brew install orbstack # docker desktop alternative
# open https://apps.apple.com/us/app/entity-pro/id1503988785 # Entity Pro - Unicodes for Typographers
brew install expressionsb # regex test tool
brew install firefox
brew install --cask iterm2
brew install github
brew install openssh
brew install imageoptim
brew install microsoft-edge
# brew install nova # code editor with subscription
brew install --cask rapidapi
brew install sf-symbols
brew install the-unarchiver
brew install glow # markdown cli viewer
# brew install transmit # file manager - 45$
open https://apps.apple.com/us/app/x2y-aspect-ratio-calculator/id1176309902 # x2y
# brew install sketch # monthly licence
## Utilities, Tools
# brew install logitech-options
brew install logi-options+
brew install --cask tailscale-app
brew install aerial # screensaver app
brew install alfred # 34/59 GBP licence
brew install audio-hijack # 69$ licence
brew install appcleaner
brew install balenaetcher # tool to flash OS images to SD cards & USB drives
brew install bartender # 18 EUR licence
brew install cleanshot # screenshot tool 29 USD licence
open https://apps.apple.com/us/app/dropover/id1355679052 # drag and drop helper - free with limits (7$ licence)
# brew install farrago # robust, rapid-fire soundboards - 55$ licence
# brew install fission # audio editor - 35$ licence
brew install iina # media player
brew install latest # check latest versions for apps
#brew install loopback # transfer audio output - 100$ licence
open https://apps.apple.com/us/app/magnet/id441258766 # 5$ USD licence
# brew install pixelsnap # measure tool - 39$ licence
open https://apps.apple.com/us/app/speakline/id441968334 # text to speech tool
brew install transmission # torrent client
## Data, Communications
brew install discord
brew install slack
open https://apps.apple.com/us/app/passepartout-vpn-client/id1433648537 # Passepartout VPN client
# brew install --cask passepartout
## Games
# brew install enjoyable
# brew install moonlight # stream pc games
# brew install minecraft
## ## ## ## ## ## ## ## ## ## ## ## ## ##
## Application Add-ons
## Sketch plugins
# Runner: https://sketchrunner.com
# Find and Replace: https://github.com/thierryc/Sketch-Find-And-Replace
# Lippy: https://github.com/abynim/lippy
# Minimap: https://github.com/abynim/sketch-minimap
# Rename-It: https://github.com/rodi01/RenameIt
# Symbol Organizer: https://github.com/sonburn/symbol-organizer
## ## ## ## ## ## ## ## ## ## ## ## ## ##
## Tweaks
## Reset launch pad sorting
# defaults write com.apple.dock ResetLaunchPad -bool true
# killall Dock
## Enable Ctrl+Cmd window dragging
defaults write -g NSWindowShouldDragOnGesture -bool true
## Enable hidden files permanently
defaults write com.apple.finder AppleShowAllFiles YES; killall Finder;
## Cloudflare's 1.1.1.1 DNS
# Read more: https://1.1.1.1/dns/
## ## ## ## ## ## ## ## ## ## ## ## ## ##
## Terminal customization
## Note
# You need a Powerline supported font. JetBrains Mono is a good choice: https://github.com/JetBrains/JetBrainsMono
# https://xhinker.medium.com/install-oh-my-zsh-and-powerlevel10k-for-macos-1dd8186281d8
## Step 1 - install ZSH: http://www.zsh.org
# brew install zsh
# sudo apt-get install zsh
## Step 2 - set ZSH as default shell
# sudo sh -c 'echo /usr/local/bin/zsh >> /etc/shells' && chsh -s /usr/local/bin/zsh
# alternative - chsh -s $(which zsh)
## Step 3 - install Oh My ZSH: https://github.com/ohmyzsh/oh-my-zsh
sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
## Spaceship Prompt
## Step 1 - pull Spaceship Prompt: https://github.com/denysdovhan/spaceship-prompt
# git clone https://github.com/denysdovhan/spaceship-prompt.git $ZSH_CUSTOM/themes/spaceship-prompt
## Step 2 - set ZSH_THEME="spaceship-prompt/spaceship" in ~./zshrc
# open -a TextEdit ~/.zshrc
## Powerlevel10k Prompt
## Step 1 - pull Powerlevel10k theme: https://github.com/romkatv/powerlevel10k.git
git clone --depth=1 https://github.com/romkatv/powerlevel10k.git ${ZSH_CUSTOM:-$HOME/.oh-my-zsh/custom}/themes/powerlevel10k
## Step 2 - set ZSH_THEME="powerlevel10k/powerlevel10k" in ~./zshrc
open -a TextEdit ~/.zshrc
## Step 3 - reload terminal
source ~/.zshrc
## Step 4 - configure powerlevel
p10k configure
## Step 5 - setup fonts
brew install --cask font-monaspace
# change font:
# - iTerm2: Preferences → Profiles → Text → Change Font
# - Terminal.app: Preferences → Profiles → Change Font
## Install zsh plugins
## Step 1 - pull ZSH Autosuggestions: https://github.com/zsh-users/zsh-autosuggestions
git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions
## Step 2 - pull ZSH Completions: https://github.com/zsh-users/zsh-completions
git clone https://github.com/zsh-users/zsh-completions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-completions
## Step 3 - pull ZSH Syntax Highlighting: https://github.com/zsh-users/zsh-syntax-highlighting/
git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting
## Step 4 - edit .zshrc file
sudo vim ~/.zshrc
## Step 5 - enable plugins - set plugins=(git zsh-autosuggestions zsh-syntax-highlighting zsh-completions)
source ~/.zshrc # apply changes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment