-
Run platform specific steps first, then continue here!
-
Install git, if that's not included in the distro
-
Setup git config
git config --global user.name "Paul DiLoreto" git config --global user.email "[email protected]"
-
Symlink platform-agnostic dotfiles
mkdir ~/.config stow -v -R -t $HOME multi-platform
-
Setup
~/.zshrc
to be:
source $HOME/.config/zsh/.zshrc
# Replace with actual API key
export OPENAI_API_KEY=XXXXX
-
Set zsh as default shell
chsh -s $(which zsh)
-
Install starship
sh -c "$(curl -fsSL https://starship.rs/install.sh)"
-
Install language runtimes
brew install golang
Follow Rust installation instructions
-
Install NVM
Follow installation instructions for nvm
Set/install default version of node to LTS:
nvm install 'lts/*' nvm alias default 'lts/*'
Lastly, install some global NPM packages:
npm i -g yarn neovim
-
Install tmux plugin manager
git clone https://github.com/tmux-plugins/tpm ~/.config/tmux/plugins/tpm
-
Install Neovim dependencies
pip3 install neovim
Image.nvim Dependencies
# Ubuntu sudo apt install libmagickwand-dev # MacOS brew install imagemagick brew install jstkdng/programs/ueberzugpp # See https://github.com/3rd/image.nvim/issues/91#issuecomment-2417623824 brew install pkgconfig
Other:
# Ubuntu apt-get install \ cmake \ python3-venv \ python3-neovim # MacOS brew install cmake
Open
nvim
and run:Lazy
-
Open Tmux and install tmux plugins (<prefix> + I)
-
Download NERD fonts
- Alacritty.yml/Kitty.conf uses
FiraCode Nerd Font Mono
- FiraCode Nerd Font Mono
- Add font manually for Mac installations
# Linux
mkdir -p ~/.local/share/fonts
wget -P "$HOME/.local/share/fonts" $LINK_TO_FONT
-
Install Homebrew
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
Then run caveat command so that
brew
is in the$PATH
. Once we symlink the.zprofile
, this will happen automatically. -
Install common tools
brew update && brew upgrade brew install \ kitty \ coreutils \ trash \ tmux \ neovim \ ripgrep \ stow \ fzf \ zoxide
-
Install various taps
brew tap homebrew/command-not-found
Aerospace:
brew install --cask nikitabobko/tap/aerospace # Nice to have defaults write -g NSWindowShouldDragOnGesture -bool true
JankyBorders (used in aerospace.toml)
brew tap FelixKratz/formulae brew install borders
-
Install Copilot
CLI:
brew install gh
-
Symlink Mac dotfiles
stow -v -R -t $HOME mac-specific
-
Add custom repositories
add-apt-repository ppa:neovim-ppa/unstable apt update && apt upgrade -y apt-get update && apt-get upgrade -y
-
Install tools
apt-get install \ neovim \ kitty \ zsh \ tmux \ ripgrep \ stow \ fzf \
-
Symlink Linux specific dotfiles
stow -v -R -t $HOME linux-specific