Cross-platform dotfiles setup for Unix systems with NvChad.
git clone https://github.com/yourusername/dotfiles.git ~/.dotfiles
cd ~/.dotfiles
chmod +x setup.sh
./setup.sh- Zsh with Oh My Zsh
- Starship prompt
- Neovim with LazyVim configuration
- Alacritty terminal
- Lazygit
- Node.js and NVM
- Bun
- Fastfetch system info tool
- Modern Neovim configuration
- Pre-configured LSP, syntax highlighting, and autocomplete
- Beautiful UI with themes and statusline
- File explorer, fuzzy finder, and git integration
- Automatic plugin management with Lazy.nvim
- macOS (Homebrew)
- Ubuntu/Debian (APT)
- Fedora (DNF)
- CentOS/RHEL (YUM)
- Arch Linux (Pacman)
The setup script will install these automatically, but if needed manually:
brew install git vim neovim zsh node alacritty lazygit fastfetchsudo apt update
sudo apt install git vim neovim zsh nodejs npm curl fastfetch
# Alacritty via snap: sudo snap install alacritty --classicsudo dnf install git vim neovim zsh nodejs npm curl fastfetchsudo yum install git vim neovim zsh nodejs npm curl fastfetchsudo pacman -S git vim neovim zsh nodejs npm curl alacritty lazygit fastfetchIf the script fails, install these packages manually:
- git, vim, neovim, zsh, nodejs, fastfetch
Then run:
# Install Oh My Zsh
sh -c "$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
# Install Starship
curl -sS https://starship.rs/install.sh | sh
# Create symlinks
ln -s ~/.dotfiles/.zshrc ~/.zshrc
ln -s ~/.dotfiles/.config ~/.config
# Set zsh as default
chsh -s $(which zsh)
# Install LazyVim
nvim --headless "+Lazy! sync" +qa
# Install LSP servers and tools
nvim --headless "+MasonInstallAll" +qaEdit .zshrc for shell customization.
Edit .config/nvim for LazyVim customization.
Edit .config/alacritty/alacritty.toml for terminal settings.