This guide is for MacOS only as it configures shortcuts and settings that are specific to MacOS.
-
Install xcode-select
xcode-select --install
-
Install Homebrew
/bin/bash -c \ "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)" eval "$(/opt/homebrew/bin/brew shellenv)" # to make brew available before we load `~/.zshrc` that has "$PATH" brew update brew install git stow nvm
1.5. Install Node.js LTS via NVM and Global Packages
nvm install --lts
nvm use --lts-
Clone this repo:
If you have a different path for your git repositories, change the path accordingly
REPO_DIR=~/src [[ -d $REPO_DIR ]] || mkdir $REPO_DIR cd ~ && git clone git@github.com:geek-kb/dotfiles.git .dotfiles && cd .dotfiles
Then install your global npm packages:
```bash
chmod +x ~/.dotfiles/node/install-npm-globals.sh
~/.dotfiles/node/install-npm-globals.sh
```
-
Install antidote
git clone --depth=1 https://github.com/mattmc3/antidote.git ${ZDOTDIR:-~}/.antidote -
Stow the .dotfiles and reload the shell:
cd ~/.dotfiles ./start.sh source ~/.zshrc
-
Install brew dependencies (generated with
brew bundle dump)brew bundle install --file=~/.dotfiles/Brewfile -
Open Wezterm
-
Install asdf-vm plugins
cd ~/.dotfiles while read -r plugin_line; do asdf plugin add $(awk '{print $1}' <<<"$plugin_line") done <asdf/.tool-versions asdf install
-
Create python VirtualEnv
venvname=".myenv" python3 -m venv ~/$venvname source ~/$venvname/bin/activate python3 -m pip install --upgrade pip python3 -m pip install --upgrade setuptools python3 -m pip install --upgrade wheel pip install -r ~/.dotfiles/requirements.txt deactivate
-
Add support for recently installed fzf
$(brew --prefix)/opt/fzf/install -
Login to gh cli
gh auth login --web -h github.com
-
Install gh github cli copilot extension
gh extension install github/gh-copilot --force
Install requires Neovim 0.10+. Always review the code before installing a configuration. This allows you to see what the configuration does before you install it.
Clone the repository and install the plugins:
NAME="ENTER_YOUR_NAME_HERE"
git clone git@github.com:geek-kb/dotfiles "~/.config/$NAME/dotfiles"Open Neovim with this config:
NVIM_APPNAME="$NAME/dotfiles/nvim/.config/nvim" nvimAn almost complete shortcuts cheat sheet, can be found here: vim-cheat-sheet