This script automates the installation and configuration of Zsh, Oh My Zsh, the Powerlevel10k theme, and popular plugins for Ubuntu systems, plus modern CLI tools and aliases.
sudo apt-get update
Before running the scripts, make sure you're using a Debian-based distribution (such as Ubuntu) and have:
Warning
You need curl to run this script
Intall curl by running:
sudo apt install curl
- Root/sudo privileges
- Node.js and npm (for gitmoji installation)
- MesloLGS NF Font (for proper icon display)
Important
Font Installation Guide
-
Download the font:
-
Install the font:
- Open the
.ttf
file and click Install - Set as terminal font in preferences
- Open the
curl -fsSL https://raw.githubusercontent.com/SofiDevO/sofi-zsh/main/sofi-zsh.sh -o sofi-zsh.sh && bash sofi-zsh.sh && rm -f sofi-zsh.sh
- Zsh with Oh My Zsh framework
- Powerlevel10k theme with interactive configuration
- Essential plugins:
zsh-autosuggestions
zsh-syntax-highlighting
fast-syntax-highlighting
zsh-autocomplete
- Bat (cat clone with syntax highlighting)
- LSD (modern ls replacement)
- Gitmoji (emoji-based commit system)
alias cat="bat"
alias ls="lsd --group-dirs=first"
alias l="ls -l --group-dirs=first"
alias la="ls -a --group-dirs=first"
alias lla="ls -la --group-dirs=first"
alias lt="ls --tree --group-dirs=first"
alias commit="gitmoji -i && git add . && git commit"
During installation, you can specify versions for:
Example format: bat_0.25.0_amd64.deb
or lsd_1.1.5_amd64.deb
- Bat themes and settings in
~/.bat.conf
- LSD directory sorting preferences
- Gitmoji interactive commit workflow
After installation completes:
- Restart your terminal
- Run
zsh
to start configuration wizard - Customize Powerlevel10k prompts interactively
If you enjoy using this toolkit, consider supporting its development:
Contributions welcome! Please:
- Fork the repository
- Create a feature branch
- Submit a PR with detailed description
Special thanks to:
- Oh My Zsh & Powerlevel10k teams
- Bat (sharkdp) & LSD (lsd-rs) developers
- Gitmoji contributors
- Zsh plugin maintainers