Skip to content


Install brew

brew is the unofficial package manager for macOS. To install it:

/bin/bash -c "$(curl -fsSL"

Install common packages

  • llvm toolchain which includes
    • clangd - c++ code completion LSP server
    • clang-format - c++ source code fromatter
  • jq - the Json file formatter
  • yq - the Yaml file formatter
brew update
brew install git        \
             cmake      \
             libssh     \
             hunspell   \
             jq         \
             yq         \

After the installation process is done, open terminal app and run this:

echo 'export PATH=/opt/homebrew/bin:$PATH' >> $HOME/.$(basename $SHELL)rc
source $HOME/.$(basename $SHELL)rc
Back to top