### 快速安裝
1. 安裝 **starship** 執行檔:
#### Install Latest Version
With Shell:
```sh
curl -fsSL https://starship.rs/install.sh | bash
```
#### Install via Package Manager
With [Homebrew](https://brew.sh/):
```sh
brew install starship
```
With [Scoop](https://scoop.sh):
```powershell
scoop install starship
```
1. 將初始化腳本 (script) 加入你的 shell 的設定檔:
#### Bash
將以下內容放到 `~/.bashrc` 的結尾:
```sh
# ~/.bashrc
eval "$(starship init bash)"
```
#### Fish
將以下內容放到 `~/.config/fish/config.fish` 的結尾:
```sh
# ~/.config/fish/config.fish
starship init fish | source
```
#### Zsh
將以下內容放到 `~/.zshrc` 的結尾:
```sh
# ~/.zshrc
eval "$(starship init zsh)"
```
#### Powershell
Add the following to the end of `Microsoft.PowerShell_profile.ps1`. You can check the location of this file by querying the `$PROFILE` variable in PowerShell. Typically the path is `~\Documents\PowerShell\Microsoft.PowerShell_profile.ps1` or `~/.config/powershell/Microsoft.PowerShell_profile.ps1` on -Nix.
```sh
Invoke-Expression (&starship init powershell)
```
#### Ion
Add the following to the end of `~/.config/ion/initrc`:
```sh
# ~/.config/ion/initrc
eval $(starship init ion)
```