Clone this project to the home directory.
git clone git@github.com:hungle88/dotfiles.git ~/.dotfilesRun the setup.sh script to install all dependencies and configure the system:
~/.dotfiles/setup.shThis script will:
- Install Homebrew dependencies via Brewfile
- Symlink dotfiles (e.g., .zshrc, .gitconfig)
- Symlink the Neovim config to
~/.config/nvim - Install & configure Zsh, Starship, and plugins
- Install & configure NVM
- Set macOS system preferences
- Enable fzf key bindings
Keep personal Git identity in ~/.gitconfig.user so it does not need to be committed:
[user]
name = Your Name
email = you@example.com
signingkey = ~/.ssh/id_ed25519.pub
[commit]
gpgsign = trueFor npm authentication, export NPM_TOKEN in your shell or source it from a local secrets file before using npm publish/install flows that require auth.
Simply running a git pull inside the cloned folder
cd ~/.dotfiles && git pullIf changes affect installed packages, re-run:
brew bundle --file="$HOME/.dotfiles/Brewfile"then
~/.dotfiles/setup.sh