2019-07-19 22:18:52 +02:00
|
|
|
---
|
|
|
|
home: true
|
|
|
|
heroImage: /logo.svg
|
|
|
|
actionText: Get Started →
|
|
|
|
actionLink: /guide/
|
2019-07-25 18:50:29 +02:00
|
|
|
footer: ISC Licensed | Copyright © 2019-present Starship Contributors
|
2019-07-19 22:18:52 +02: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>
|
|
|
|
|
|
|
|
### Quick Install
|
|
|
|
|
|
|
|
1. Install the **starship** binary:
|
|
|
|
|
2019-08-18 19:45:36 +02:00
|
|
|
**[Download archives of precompiled binaries](https://github.com/starship/starship/releases)** if you don't use the platforms below.
|
|
|
|
|
|
|
|
#### Homebrew
|
|
|
|
|
|
|
|
```sh
|
|
|
|
$ brew install starship
|
|
|
|
```
|
|
|
|
|
|
|
|
#### Rust (v1.33 or higher)
|
|
|
|
|
|
|
|
```sh
|
|
|
|
$ cargo install starship
|
|
|
|
```
|
2019-07-19 22:18:52 +02:00
|
|
|
|
2019-08-19 17:10:25 +02:00
|
|
|
#### Arch Linux (AUR)
|
|
|
|
|
|
|
|
Starship is available on the AUR under the name `starship`. Install it with `yay` or your favorite AUR helper.
|
|
|
|
|
2019-08-19 21:50:36 +02:00
|
|
|
```sh
|
2019-08-19 17:10:25 +02:00
|
|
|
$ yay -S starship
|
|
|
|
```
|
|
|
|
|
2019-07-19 22:18:52 +02:00
|
|
|
1. Add the init script to your shell's config file:
|
|
|
|
|
2019-08-18 19:45:36 +02: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 22:18:52 +02:00
|
|
|
|
2019-08-18 19:45:36 +02:00
|
|
|
```sh
|
|
|
|
# ~/.config/fish/config.fish
|
2019-07-19 22:18:52 +02:00
|
|
|
|
2019-08-18 19:45:36 +02:00
|
|
|
eval (starship init fish)
|
|
|
|
```
|
2019-07-19 22:18:52 +02:00
|
|
|
|
2019-08-18 19:45:36 +02:00
|
|
|
#### Zsh
|
2019-07-19 22:18:52 +02:00
|
|
|
|
2019-08-18 19:45:36 +02:00
|
|
|
Add the following to the end of `~/.zshrc`:
|
2019-07-19 22:18:52 +02:00
|
|
|
|
2019-08-18 19:45:36 +02:00
|
|
|
```sh
|
|
|
|
# ~/.zshrc
|
2019-07-19 22:18:52 +02:00
|
|
|
|
2019-08-18 19:45:36 +02:00
|
|
|
eval "$(starship init zsh)"
|
|
|
|
```
|