Prerequisites
-
WSL 2 installed with a Linux distribution (e.g., Ubuntu)
-
Fish shell installed (optional but recommended)
-
Hack Nerd Font installed on Windows (required for icons)
-
For related setup details, see 🐧 WSL + Fish Shell Setup Notes
Install Hack Nerd Font
-
Download Hack Nerd Font from:
-
Or GitHub releases: https://github.com/ryanoasis/nerd-fonts/releases → Hack.zip
-
Extract the zip file.
-
Right-click the
.ttffiles → Install for all users (or Install).
Set Hack Nerd Font in Terminal
Windows Terminal
-
Open Settings → Profiles → WSL profile.
-
Go to Appearance → Font face.
-
Select
Hack NF.
VS Code Integrated Terminal
-
Open Settings (
Ctrl + ,) → searchterminal.integrated.fontFamily. -
Set:
Hack NFInstall Starship Prompt
Run the official install script:
curl -sS https://starship.rs/install.sh | shAdd Starship initialization to Fish shell config:
echo 'starship init fish | source' >> ~/.config/fish/config.fishApply Gruvbox Rainbow Preset
Generate the preset configuration:
starship preset gruvbox-rainbow -o ~/.config/starship.toml(Optional) Use a community version with extended language support:
curl -o ~/.config/starship.toml https://raw.githubusercontent.com/fang2hou/starship-gruvbox-rainbow/main/starship.tomlReload Fish Shell
source ~/.config/fish/config.fishVerify Setup
starship promptAll icons should render correctly if Hack Nerd Font is applied.