- Install
Scoop
by pasting this in a powershell prompt:
Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser
Invoke-RestMethod -Uri https://get.scoop.sh | Invoke-Expression
- now, install starship using scoop:
scoop install starship
- Add the following to your
$PROFILE
file:
Invoke-Expression (&starship init powershell)
- In a terminal prompt, paste the following
curl -sS https://starship.rs/install.sh | sh
- If you use
bash
, add the folllowing line to the end of.bashrc
file:eval "$(starship init bash)"
- if
fish
then add the following to the~/.config/fish/config.fish
starship init fish | source
- If
zsh
then add the following to your~/.zshrc
file:
eval "$(starship init zsh)"
- copy the
starship.toml
file to~/.config/
directory.