Mac setup

Xcode Command line technologies

xcode-select --install


Homebrew is the defacto default package manager for MacOS applications. The latest versions allow you to install not only CLI/background packages, but also popular UI applications using Brew Cask. To install Homebrew use:

/bin/bash -c "$(curl -fsSL"
brew install gpg grep pyenv htop jq yq tree zsh birwarden-cli firefox iterm2 adobe-acrobat-reader slack bitwarden discord visual-studio-code tutanota node

Oh my zsh


sh -c "$(curl -fsSL"


ssh-keygen -t ed25519 -C ""
eval "$(ssh-agent -s)"

Configure ssh config

touch ~/.ssh/config
vi ~/.ssh/config


Host *
  AddKeysToAgent yes
  UseKeychain yes
  IdentityFile ~/.ssh/id_ed25519

Add your SSH private key to the ssh-agent and store your passphrase in the keychain:

ssh-add -K ~/.ssh/id_ed25519


Use the defaults (ECC and curve 25519):

gpg --full-generate-key

Use this command to find the key ID:

gpg --list-secret-keys --keyid-format=long

Export the key

gpg --armor --export key_id

Paste it in Github

Add gpg to your zsh

if [ -r ~/.zshrc ]; then echo 'export GPG_TTY=$(tty)' >> ~/.zshrc; \
  else echo 'export GPG_TTY=$(tty)' >> ~/.zprofile; fi


git config --global "Tom Hastjarjanto"
git config --global
git config --global core.editor vim
git config --global user.signingkey key_id
git config --global commit.gpgsign true

Visual Studio Code