Setup Note: macOS - takumaw/Configs GitHub Wiki

macOS Setup Note

Initial Setup

System Preferences

  • Setup FileVault2
  • Setup Networks (Wi-Fis, VPNs, ...)
  • Setup Printers
  • Install Applications
  • Restore Home Directory (~/Library, ...)

Enable Touch ID for sudo

sudo vim /etc/pam.d/sudo
auth       sufficient     pam_tid.so

or see:

Install Xcode Command Line Tools

xcode-select --install

Install Homebrew

See:

brew tap homebrew/services
brew tap homebrew/command-not-found

Refresh Homebrew packages

brew update && brew upgrade

Console Applications

Essentials

brew install \
  fdupes \
  htop \
  p7zip \
  pstree \
  pv \
  rename \
  rsync \
  tmux \
  tree
brew install \
  brew-cask-completion \
  launchctl-completion \
  open-completion \
  zsh-completions

Networking

brew install \
  corkscrew \
  iperf \
  mitmproxy \
  netcat \
  nmap \
  socat \
  telnet

Text Processing

brew install \
  asciidoc \
  docbook \
  dos2unix \
  doxygen \
  help2man \
  jq \
  nkf \
  pandoc \
  qpdf \
  recode \
  sphinx-doc

Graphcics Processing

brew install \
  graphicsmagick \
  graphviz \
  imagemagick

Automation

brew install ansible

Remote Management

brew install ipmitool

Build Tools

brew install \
  autoconf \
  autogen \
  automake \
  cmake \
  libtool

Source Code Management

brew install git
brew install subversion
brew install \
  cloc \
  sloccount

Databases

brew install \
  mysql \
  postgresql@15 \
  sqlite

Terminal-based

brew install \
  dialog

Python-specific

brew install \
  python3
brew install \
  keyring \
  pipx
brew install \
  pip-completion
brew install \
  black \
  hatch \
  mypy \
  pipenv \
  poetry \
  ruff

Ruby-specific

brew install \
  ruby-completion

Java-specific

brew install --cask temurin17
brew install \
  ant \
  gradle \
  maven
brew install \
  gradle-completion \
  maven-completion

Node-specific

brew install node 

Rust-specific

brew install rust
brew install rustc-completion

See also:

Go-specific

brew install go

See also:

Haskell-specific

brew install \
  cabal-install \
  ghc \
  haskell-stack

See also:

OCaml-specific

brew install\
  ocaml \
  opam

See also:

Swift-specific

brew install \
  carthage \
  cocoapods \
  swiftlint

Graphical Applications

Office

  • Pages & Numbers & Keynotes
  • LibreOffice
  • GPGTools

Creativity

  • Adobe Creative Cloud
  • GIMP
  • Inkscape
  • Blender
  • Audacity
  • MuseScore
  • GarageBand
  • iMovie

Scientific

  • MacTeX
  • LyX
  • Mendeley
  • Coq
  • Isabelle/HOL

Utilities

  • AppCleaner
  • MacUpdater
  • Amphetamine

Development

  • Xcode
  • XQuartz
  • Google Chrome
  • Mozilla Firefox
  • Micsoroft Visual Studio Code
  • JetBrains DataGrip
  • JetBrains IntelliJ IDEA
  • Eclipse
  • DBeaver
  • Wireshark
  • Burp Suite

Automater Apps & Workflows

Reset Launchpad Layout

/usr/bin/defaults write com.apple.dock ResetLaunchPad -bool true; /usr/bin/killall Dock

Launch Terminal

See: