~/Library/Mobile Documents/com~apple~CloudDocs/
./defaults.sh-
install cli tools (C/C++ compiler and other things)
xcode-select --install
-
install brew: https://brew.sh/
-
setup completions: https://docs.brew.sh/Shell-Completion
-
install/upgrade all the things
brew bundle --verbose
-
check which things are missing from the
Brewfilebrew bundle cleanup
-
actually remove those things
brew bundle cleanup --force
-
figure where a package is in the dependency tree
brew deps --tree --installed | less
-
add brew-installed zsh to standard shells:
sudo sh -c "echo $(which zsh) >> /etc/shells" -
change user shell
chsh -s $(which zsh)
-
simlink dotfiles dry run
stow --simulate --verbose --target $HOME <folder>
-
simlimk dotfiles
stow --verbose --target $HOME <folder>
-
clone repository, including submodules
git clone --recurse-submodules
-
init submodules (useful when you forgot the
--recurse-submoduleswhen cloning)git submodule update --init --recursive
-
pull latest master of all submodules
git submodule foreach git pull origin HEAD
-
install patched Meslo font for powerline10k
p10k configure
(quit after the font is installed)
-
backup extensions
code --list-extensions | sort > vscode_extensions
-
restore extensions
code --install-extension <extension> # or for ext in $(cat vscode_extensions); do code --install-extension $ext; done
The "railwaycat/emacsmacport/emacs-mac" brew formula comes both in a "classic" formula flavor and a cask one. Use the cask, it's the only one creating an Emacs.app folder in Applications/.
doom installrm -rf .emacs.d/.local/
doom install