chmod +x ubuntu-server-setup.sh && ./ubuntu-server-setup.shThe script will prompt you for each component:
- ✅ System Updates → Recommended: Yes
- ✅ Git → Recommended: Yes
- ✅ Zsh + Oh-My-Zsh → Recommended: Yes
- ✅ Zoxide → Recommended: Yes
- ✅ Lazygit → Recommended: Yes
- ✅ Lazydocker → Recommended: Yes
- ✅ Docker CE → Recommended: Yes
- ✅ Neovim → Recommended: Yes
- ⚡ Btop → Optional: Yes/No
- ⚡ Tmux → Optional: Yes/No
- ⚡ Fzf → Optional: Yes/No
- ⚡ Ripgrep & Fd → Optional: Yes/No
# This is REQUIRED for Docker group and shell changes
logout
# Or just close and reopen your terminal# Test Docker
docker run hello-world
# Test Lazygit
lazygit --version
# Test Neovim
nvim --version
# Test Zoxide (smart cd)
z# Type a few letters and press UP arrow
do<UP> # Shows only commands starting with "do"
git<UP> # Shows only git commands# After visiting directories, jump to them by name
z documents # Jumps to ~/Documents
z nvim # Jumps to ~/.config/nvim
z proj # Jumps to ~/projects# Press Ctrl+R to fuzzy search command history
<Ctrl-R>
# Type partial command, it finds matches| Tool | Command | Purpose |
|---|---|---|
| Lazygit | lg or lazygit |
Git terminal UI |
| Lazydocker | ld or lazydocker |
Docker terminal UI |
| Neovim | nvim or vim or vi |
Text editor |
| Zoxide | z <name> |
Smart cd command |
| Btop | btop |
System monitor |
| Tmux | tmux |
Terminal multiplexer |
| Ripgrep | rg <pattern> |
Fast grep |
| Fd | fd <name> |
Fast find |
~/ubuntu-setup-YYYYMMDD-HHMMSS.log # Installation log
~/.config-backups/ # Config backups
~/.zshrc # Zsh configuration
~/.config/nvim/ # Your Neovim config
If something goes wrong:
# View backups
ls ~/.config-backups/
# Restore Neovim config
cp -r ~/.config-backups/20250122-*/nvim-* ~/.config/nvim
# Restore Zsh config
cp ~/.config-backups/20250122-*/zshrc-* ~/.zshrc# Refresh group membership
newgrp docker
# Or log out and back in# Check current shell
echo $SHELL
# Should show: /usr/bin/zsh
# If not, log out and back in# Reload zsh config
source ~/.zshrc- Full documentation: See
README.md - Installation log:
cat ~/ubuntu-setup-*.log - Check installed tools:
which lazygit docker nvim
Need more details? Read the full README.md