Check https://brew.sh/ for latest command.
$ /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
During installation, Homebrew
should ask to install Command Line Tools
. If not, run:
$ xcode-select --install
$ git clone https://github.com/tnahs/dotfiles ~/.dotfiles
$ ~/.dotfiles/scripts/setup-home.sh
Before installation:
-
Make sure the correct path to Homebrew is appended to your
$PATH
. This will depend on on wheter you're running an M1 or an Intel Mac.code ~/.dotfiles/zsh/.zshenv
-
Install Rosetta. Some older applications will fail to install without Rosetta.
sudo softwareupdate --install-rosetta
Open a fresh shell and run:
$ ~/.dotfiles/scripts/install-brewfile.sh
$ ~/.dotfiles/scripts/config-macos-defaults.sh
Check https://www.rust-lang.org/tools/install for latest command.
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
$ ~/.dotfiles/scripts/install-pipx-packages.sh
$ ~/.dotfiles/scripts/install-python.sh [VERSION ...]
$ ~/.dotfiles/scripts/restore-apple-books-library.sh [PATH_TO_LIBRARY_ARCHIVE]
$ ~/.dotfiles/scripts/restore-anki-collection.sh [PATH_TO_COLLECTION_ARCHIVE]