2019-07-19 20:18:52 +00:00
---
home: true
heroImage: /logo.svg
actionText: Get Started →
actionLink: /guide/
2019-07-25 16:50:29 +00:00
footer: ISC Licensed | Copyright © 2019-present Starship Contributors
2019-07-19 20:18:52 +00:00
---
< div class = "features" >
< div class = "feature" >
< h2 > Compatibility First< / h2 >
< p > Works on the most common shells on the most common operating systems. Use it everywhere!< / p >
< / div >
< div class = "feature" >
< h2 > Rust-Powered< / h2 >
< p > Brings the best-in-class speed and safety of Rust, to make your prompt as quick and reliable as possible.< / p >
< / div >
< div class = "feature" >
< h2 > Customizable< / h2 >
< p > Every little detail is customizable to your liking, to make this prompt as minimal or feature-rich as you'd like it to be.< / p >
< / div >
< / div >
2019-08-23 00:03:45 +00:00
< div class = "center" >
2019-12-09 20:50:22 +00:00
< video class = "demo-video" muted autoplay loop playsinline >
2019-08-23 00:03:45 +00:00
< source src = "/demo.webm" type = "video/webm" >
< source src = "/demo.mp4" type = "video/mp4" >
< / video >
< / div >
2019-07-19 20:18:52 +00:00
### Quick Install
1. Install the **starship** binary:
2019-12-17 21:46:43 +00:00
#### Install Latest Version
2019-08-18 17:45:36 +00:00
2019-12-17 21:46:43 +00:00
##### With Shell:
2019-08-18 17:45:36 +00:00
```sh
2019-12-17 21:46:43 +00:00
curl -fsSL https://starship.rs/install.sh | bash
2019-08-18 17:45:36 +00:00
```
2019-12-17 21:46:43 +00:00
#### Install via Package Manager
2019-08-18 17:45:36 +00:00
2019-12-17 21:46:43 +00:00
##### With [Homebrew ](https://brew.sh/ ):
2019-08-20 04:50:35 +00:00
```sh
2019-12-17 21:46:43 +00:00
brew install starship
2019-08-20 04:50:35 +00:00
```
2019-12-17 21:46:43 +00:00
##### With [Scoop ](https://scoop.sh ):
2019-08-27 23:32:26 +00:00
2019-12-17 21:46:43 +00:00
```powershell
scoop install starship
2019-08-27 23:32:26 +00:00
```
2019-07-19 20:18:52 +00:00
1. Add the init script to your shell's config file:
2019-08-18 17:45:36 +00:00
#### Bash
Add the following to the end of `~/.bashrc` :
```sh
# ~/.bashrc
eval "$(starship init bash)"
```
#### Fish
Add the following to the end of `~/.config/fish/config.fish` :
2019-07-19 20:18:52 +00:00
2019-08-18 17:45:36 +00:00
```sh
# ~/.config/fish/config.fish
2019-07-19 20:18:52 +00:00
2019-10-29 03:48:45 +00:00
starship init fish | source
2019-08-18 17:45:36 +00:00
```
2019-07-19 20:18:52 +00:00
2019-08-18 17:45:36 +00:00
#### Zsh
2019-07-19 20:18:52 +00:00
2019-08-18 17:45:36 +00:00
Add the following to the end of `~/.zshrc` :
2019-07-19 20:18:52 +00:00
2019-08-18 17:45:36 +00:00
```sh
# ~/.zshrc
2019-07-19 20:18:52 +00:00
2019-08-18 17:45:36 +00:00
eval "$(starship init zsh)"
```
2019-10-15 15:10:16 +00:00
#### Powershell
Add the following to the end of `~\Documents\PowerShell\Microsoft.PowerShell_profile.ps1` (or `~/.config/powershell/Microsoft.PowerShell_profile.ps1` on -Nix):
```sh
# ~\Documents\PowerShell\Profile.ps1
2019-12-17 21:46:43 +00:00
2019-10-15 15:10:16 +00:00
Invoke-Expression (& starship init powershell)
```
2019-12-17 21:46:43 +00:00
#### Ion
Add the following to the end of `~/.config/ion/initrc` :
```sh
# ~/.config/ion/initrc
eval $(starship init ion)
```