Install Xcode and Homebrew.
xcode-select --install
/bin/sh -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
Add brew to $PATH.
eval "$(/opt/homebrew/bin/brew shellenv)"
Download all the necessary packages via homebrew.
brew install bash bash-completion fzf gcc git lazygit lsd neovim nnn tmux zoxide
Download Iosevka Nerd Font and Install it.
Alacritty is a simple and fast terminal emulator written in rust. Install alacritty via homebrew cask.
brew install --cask alacritty
git clone https://github.com/solvedbiscuit71/dotfiles.git ~/dotfiles
cd ~/dotfiles
To install the dotfiles
python3 .script/init.py
To remove the dotfiles
python3 .script/deinit.py
Set bash as your default shell
echo '/opt/homebrew/bin/bash' | sudo tee -a /etc/shells
chsh -s /opt/homebrew/bin/bash
Install plugin manager for tmux. Enter tmux and install the plugins via <C-a>I
git clone https://github.com/tmux-plugins/tpm ~/.tmux/plugins/tpm
Disable dock delay in MacOS
defaults write com.apple.Dock autohide-delay -float 0 && killall Dock
Tiling window manager for MacOS
brew install --cask amethyst spaceid
Using pyenv
to manage different python version
brew update
brew install pyenv
pyenv install 3.11
pyenv global 3.11
Using nvm
to manage different node version, follow the nvm github page to install nvm.
nvm alias default <version>