2019-09-11 11:57:24 -04:00
---
2019-09-28 20:31:56 +09:00
home: true
heroImage: /logo.svg
2019-09-11 11:57:24 -04:00
actionText: Get Started →
2019-10-11 17:31:19 +09:00
actionLink: /ja-JP/guide/
2019-09-11 11:57:24 -04:00
footer: ISC Licensed | Copyright © 2019-present Starship Contributors
---
<div class="features">
<div class="feature">
<h2>互換性優先</h2>
2019-09-28 20:31:56 +09:00
<p>一般的なほとんどのOSの一般的なほとんどのシェル上で動作します。 あらゆるところで使用してください!</p>
2019-09-11 11:57:24 -04:00
</div>
<div class="feature">
<h2>Rust 製</h2>
<p>Rust の最高レベルの速度と安全性を用いることで、可能な限り高速かつ信頼性を高くしています。</p>
</div>
<div class="feature">
<h2>カスタマイズ可能</h2>
<p>それぞれの細かい点は好みにカスタマイズが出来るため、ミニマルにも多機能にも好きなようにプロンプトを設定することができます。</p>
</div>
</div>
<div class="center">
<video class="demo-video" autoplay muted loop>
<source src="/demo.webm" type="video/webm">
<source src="/demo.mp4" type="video/mp4">
2019-09-28 20:31:56 +09:00
</video>
2019-09-11 11:57:24 -04:00
</div>
### クイックインストール
1. **Starship ** のバイナリをインストール
2019-09-28 20:31:56 +09:00
もし以下のプラットフォームを使用していない場合は * * [コンパイル済みのバイナリファイルをダウンロード ](https://github.com/starship/starship/releases )** してください。
2019-09-11 11:57:24 -04:00
2019-09-28 20:31:56 +09:00
#### Homebrew
2019-09-11 11:57:24 -04:00
2019-09-28 20:31:56 +09:00
```sh
$ brew install starship
` ``
2019-09-11 11:57:24 -04:00
2019-10-26 05:20:18 +02:00
#### Rust (v1.38 もしくはそれ以上)
2019-09-11 11:57:24 -04:00
2019-09-28 20:31:56 +09:00
` ``sh
$ cargo install starship
` ``
2019-09-11 11:57:24 -04:00
2019-09-28 20:31:56 +09:00
#### Arch Linux (AUR)
2019-09-11 11:57:24 -04:00
2019-09-28 20:31:56 +09:00
Starship は AUR 上の ` starship` というパッケージ名で利用可能です。 ` yay` またはお好きな AUR ヘルパーでインストールしてください。
2019-09-11 11:57:24 -04:00
2019-09-28 20:31:56 +09:00
` ``sh
$ yay -S starship
` ``
2019-09-11 11:57:24 -04:00
2019-09-28 20:31:56 +09:00
#### Nix (unstable)
2019-09-11 11:57:24 -04:00
2019-09-28 20:31:56 +09:00
` ``sh
$ nix-env --install starship
` ``
2019-09-11 11:57:24 -04:00
2019-09-28 20:31:56 +09:00
#### Termux
2019-09-11 11:57:24 -04:00
2019-09-28 20:31:56 +09:00
` ``sh
$ pkg install starship
` ``
2019-09-11 11:57:24 -04:00
2019-09-28 20:31:56 +09:00
1. 初期化のためのスクリプトをシェルの設定ファイルに追加
2019-09-11 11:57:24 -04:00
2019-09-28 20:31:56 +09:00
#### Bash
2019-09-11 11:57:24 -04:00
2019-09-28 20:31:56 +09:00
` ~/.bashrc` の最後に以下を追記してください
2019-09-11 11:57:24 -04:00
2019-09-28 20:31:56 +09:00
` ``sh
# ~/.bashrc
2019-09-11 11:57:24 -04:00
2019-09-28 20:31:56 +09:00
eval "$(starship init bash)"
` ``
2019-09-11 11:57:24 -04:00
2019-09-28 20:31:56 +09:00
#### Fish
` ~/.config/fish/config.fish` の最後に以下を追記してください
` ``sh
# ~/.config/fish/config.fish
eval (starship init fish)
` ``
#### Zsh
` ~/.zshrc` の最後に以下を追記してください
` ``sh
# ~/.zshrc
eval "$(starship init zsh)"
` ``
2019-10-21 23:42:08 +09: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
Invoke-Expression (&starship init powershell)
` ``