Environment configuration for MacOs computers
- Install CommandLineTools (without Xcode)
xcode-select --install
- Ensure git version is later than 2.13
git --version
- Login to App Store to ensure paid apps can be installed
- Set up SSH in Github Learn more
-
Generate key
ssh-keygen -t ed25519 -C "davidbarna@gmail.com" eval "$(ssh-agent -s)" touch ~/.ssh/config && open ~/.ssh/config
-
Paste this in
.ssh/config
Host * AddKeysToAgent yes UseKeychain yes IdentityFile ~/.ssh/id_ed25519
-
Add to agent and copy ssh key
ssh-add -K ~/.ssh/id_ed25519 pbcopy < ~/.ssh/id_ed25519.pub
-
Paste the key in your Github settings
-
- Clone this repo in ~/dev
cd ~ && mkdir dev && cd dev git clone git@github.com:davidbarna/dotfiles-macos.git
- Excute
./install
cd ~/dev/dotfiles-macos ./install
- Installs Homebrew.
- Installs all brew applications. See details
- Links config files to this repo's configs
Creating link ~/.config/bat -> ~/dev/dotfiles-macos/config/bat Creating link ~/.zshenv -> ~/dev/dotfiles-macos/zshenv Creating link ~/.zshrc -> ~/dev/dotfiles-macos/zshrc Creating link ~/.gitconfig -> ~/dev/dotfiles-macos/gitconfig
- Installs
node
withn
. See details - Sets up mac osx options. See details
- Login to Dropbox
- Open Alfred and set preference folder to Dropbox
- Change Alfred hotkey to cmd+space. Learn more
- Turn on settings sync on VScode.
- Restart computer
I've learned about dotfiles at dotfiles.eieio.xyz.