Skip to the content.

MacOS

Reference Documents

Install Homebrew

# https://brew.sh/

/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
brew tap Homebrew/bundle

Install Tools with Homebrew

Brewfile example:

# casks
cask 'dbeaver-community'
cask 'docker'
cask 'iterm2'
# cask 'google-chrome'
cask 'google-drive'
cask 'gpg-suite-no-mail'
cask 'macpass'
cask 'slack'
cask 'spotify'
cask 'visual-studio-code'
cask 'zoom'


# brew
brew 'bat'
brew 'dive'
brew 'duf'
brew 'envchain'
brew 'exa'
brew 'fd'
brew 'go'
brew 'helm'
brew 'jq'
# https://krew.sigs.k8s.io/docs/user-guide/setup/install/
brew 'krew'
brew 'kubernetes-cli'
brew 'kubectx' # kubens and kubectx
tap 'johanhaleby/kubetail'
brew 'kubetail'
brew 'mas'
brew 'skopeo'
brew 'terraform'
brew 'tfenv'
brew 'tldr'
# https://github.com/tmux/tmux/wiki
brew 'tmux'

Install programs:

# Run in the same directory where Brewfile is
brew bundle

Configure iterm2

# import iterm2 profile

Install and configure oh-my-zsh

# https://ohmyz.sh/#install

ZSH="$HOME/.oh-my-zsh" sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)" "" --unattended

Install Custom Fonts



# Install Powerline Fonts
# https://github.com/powerline/fonts

git clone https://github.com/powerline/fonts.git $HOME/.fonts --depth=1
cd $HOME/.fonts
./install.sh
cd $HOME
rm -rf $HOME/.fonts

# Install Nerd Fonts
# https://gist.github.com/davidteren/898f2dcccd42d9f8680ec69a3a5d350e
# https://www.nerdfonts.com/

# Configure fonts for vscode terminal
# https://gist.github.com/rodrigoechaide/1c1717c2324a67423c2233f8d588992c


# Configure font for iterm2
# https://webinstall.dev/nerdfont/

# Note: In order the special characters (such as the mac apple and other ones) to be shown properly in SpaceVim iterm2 should use nerd fonts which include powerline fonts.
# Related issue https://github.com/SpaceVim/SpaceVim/issues/2291

Note: To enable icons/glyphs on spacevim and on iTerm, I think that powerline or the font chosen on the iterm profile should be patched in order to add icons to it.

Install and configure spacevim

# https://spacevim.org/quick-start-guide/#linux-and-macos

curl -sLf https://spacevim.org/install.sh | bash

Other Configurations