This scripts installs and configures most of the software I use on my Mac for web and software development.
- Setup uses XDG Base Directory Specification and is heavily inspired by this blog post.
yadm
is used for managing dotfiles, andmackup
is used for managing some desktop application preferences.zsh
,powerlevel10k
, andantidote
work together withiterm2
to provide high-performance, beautiful, and handy terminal defaults.- Some things in macOS are slightly difficult to automate, so there are a few manual installation steps, but at least it's all documented here.
# Take Me Home, Country Roads.
cd $HOME
# Ensure macOS is updated.
sudo softwareupdate -i -a
# Ensure Apple's command line tools are installed.
xcode-select --install
sudo xcodebuild -license
# **Ensure you are authorized in the Mac App Store**.
# Enable TouchID for sudo (uncomment corresponding line).
# Note: at least in the US, you cannot be compelled to give up a password by a court (it's considered a violation of the 5th amendment), but your biometrics are not secret, so you can absolutely be forced by a court to biometric auth.
sudo cp /etc/pam.d/sudo_local.template /etc/pam.d/sudo_local
sudo vi /etc/pam.d/sudo_local
# Install Homebrew.
if [[ $(command -v brew) == "" ]]; then
/bin/sh -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
fi
# Install mas, yadm, mackup.
/opt/homebrew/bin/brew install mas
/opt/homebrew/bin/brew install yadm
/opt/homebrew/bin/brew install mackup
# Clone this repository to your local drive using yadm.
yadm clone [email protected]:andreychev/dotfiles.git --bootstrap
- Remap Caps Lock to Ctrl, Launchpad to F13.
- Install CryptoPRO 5.0.
- Install Paragon NTFS.
- Install M1-compatible apps: Streisand, Xiaomi Home, SailTies.
- Install Adobe Lightroom from Adobe Creative Cloud.
- Install Microsoft Office and Microsoft Teams.
- Install T-Mazing.
- Authorize Yandex.Disk and wait for sync.
- Authorize iCloud Drive and Photos.
- Configure extra Mail, Calendar.
- Apply all licenses.