Skip to content

Instantly share code, notes, and snippets.

@marshyon
Last active August 12, 2022 12:42
Show Gist options
  • Save marshyon/657419f30e8908bc05c66bff613e9b45 to your computer and use it in GitHub Desktop.
Save marshyon/657419f30e8908bc05c66bff613e9b45 to your computer and use it in GitHub Desktop.
starship prompt setup tldr

download font

Fira Mono ( Fira Mono Regular Nerd Font Complete Mono ) from

https://www.nerdfonts.com/font-downloads ( FiraMono Nerd Font )

https://github.com/ryanoasis/nerd-fonts/releases/download/v2.1.0/FiraMono.zip

install 'FiraMono Nerd Font Mono'

FiraMono works ok with some Linux distros + VSCode

for windows I needed to add this to VSCode settings.json :

{
    "terminal.integrated.fontFamily": "'FiraMono NF'",
}

and depending on the OS / distro you may need to experiment with different fonts and even font families

windows Terminal Prompt will need also to be changed from using a default of something like Cascadia Mono to be that of your chosen nerd font, for example FiraMono NF ( to be found under Terminal Promp's own Settings, selecting the profile for powershell and looking for Font face under 'Appearance' ( for that particular 'profile' )

install starship

https://starship.rs/guide/

pick the OS - install starship

windows : winget install --id Starship.Starship

linux : curl -sS https://starship.rs/install.sh | sh

see others at the above

setup starship

windows : Invoke-Expression (&starship init powershell) in file revealed by typeing $PROFILE

linux : eval "$(starship init bash)" in ~/.bashrc

other shells are available

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment