My current setup for the terminal on Windows. Along with a installation guide.
- Step 1: Installing the Right Apps
- Step 2: Installing the Right Font
- Step 3: Setting Up the Terminal
- Step 4: Setting Up Starship
To install Windows Terminal, open the Microsoft Store, search for "Windows Terminal", and install it.
Alternatively, you can use this link.
To install PowerShell, open the Microsoft Store, search for "PowerShell", and install it.
Alternatively, you can use this link.
⚠ Only recommended if you have Linux experience. ⚠
Open PowerShell as Administrator and run the following command:
wsl --install -d Debian
Follow the setup steps for Debian.
Windows (With Chocolatey)
Open CMD as Administrator and run:
choco install starship
Windows (Without Chocolatey)
Download and install the latest MSI installer from their GitHub releases.
Open WSL and update the system:
sudo apt update && sudo apt upgrade
Then, install curl
:
sudo apt install curl
Finally, install Starship:
curl -sS https://starship.rs/install.sh | sh
Visit nerdfonts.com and choose a font you like.
For example, I use CaskaydiaMono Nerd Font.
- Open Terminal and navigate to settings (
Ctrl
+,
). - At the bottom-left, click on
Open JSON file
. - Delete the existing content and replace it with the settings from settings.json.
- Save the file and reopen the Terminal.
Go back to settings, select Profiles, click "Default", and go to "Appearance".
Ensure the Color scheme is set to Sexy Mama
and the Font is set to CaskaydiaMono Nerd Font
.
In the "PowerShell" profile, add -nologo
at the end of the Command line.
Make sure to press Save.
Press Windows key
+ R
, type %userprofile%
, and press Enter.
Create a folder named .config
in your user directory.
Download the starship.toml file to this folder.
Open the PowerShell profile in VSCode:
code $PROFILE
Add the following line at the end of the file:
Invoke-Expression (&starship init powershell)
- Install Clink from GitHub.
- Open a
clink\starship.lua
file in VSCode:
code %LocalAppData%\clink\starship.lua
Add the following line at the end of the file:
load(io.popen('starship init cmd'):read("*a"))()
Save the file.
Open .bashrc
in NANO:
nano ~/.bashrc
Scroll to the end of the file and add:
eval "$(starship init bash)"
Save the file (Ctrl
+ S
) and exit NANO (Ctrl
+ X
).
Open a new file in NANO:
nano ~/.config/starship.toml
Paste the contents from starship.toml.
Save and close the file as before.