2019-09-11 15:57:24 +00:00
|
|
|
---
|
2019-09-28 11:31:56 +00:00
|
|
|
home: true
|
|
|
|
heroImage: /logo.svg
|
2019-09-11 15:57:24 +00:00
|
|
|
actionText: Get Started →
|
2019-10-11 08:31:19 +00:00
|
|
|
actionLink: /ja-JP/guide/
|
2019-09-11 15:57:24 +00:00
|
|
|
footer: ISC Licensed | Copyright © 2019-present Starship Contributors
|
|
|
|
---
|
|
|
|
|
|
|
|
<div class="features">
|
|
|
|
<div class="feature">
|
|
|
|
<h2>互換性優先</h2>
|
2019-09-28 11:31:56 +00:00
|
|
|
<p>一般的なほとんどのOSの一般的なほとんどのシェル上で動作します。 あらゆるところで使用してください!</p>
|
2019-09-11 15:57:24 +00:00
|
|
|
</div>
|
|
|
|
<div class="feature">
|
|
|
|
<h2>Rust 製</h2>
|
|
|
|
<p>Rust の最高レベルの速度と安全性を用いることで、可能な限り高速かつ信頼性を高くしています。</p>
|
|
|
|
</div>
|
|
|
|
<div class="feature">
|
|
|
|
<h2>カスタマイズ可能</h2>
|
|
|
|
<p>それぞれの細かい点は好みにカスタマイズが出来るため、ミニマルにも多機能にも好きなようにプロンプトを設定することができます。</p>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="center">
|
2019-12-14 23:46:45 +00:00
|
|
|
<video class="demo-video" muted autoplay loop playsinline>
|
2019-09-11 15:57:24 +00:00
|
|
|
<source src="/demo.webm" type="video/webm">
|
|
|
|
<source src="/demo.mp4" type="video/mp4">
|
2019-09-28 11:31:56 +00:00
|
|
|
</video>
|
2019-09-11 15:57:24 +00:00
|
|
|
</div>
|
|
|
|
|
|
|
|
### クイックインストール
|
|
|
|
|
|
|
|
1. **Starship** のバイナリをインストール
|
|
|
|
|
|
|
|
|
2019-12-24 21:54:29 +00:00
|
|
|
#### Install Latest Version
|
2019-09-11 15:57:24 +00:00
|
|
|
|
2019-12-24 21:54:29 +00:00
|
|
|
With Shell:
|
2019-09-11 15:57:24 +00:00
|
|
|
|
2019-09-28 11:31:56 +00:00
|
|
|
```sh
|
2019-12-24 21:54:29 +00:00
|
|
|
curl -fsSL https://starship.rs/install.sh | bash
|
2019-09-28 11:31:56 +00:00
|
|
|
```
|
2019-09-11 15:57:24 +00:00
|
|
|
|
|
|
|
|
2019-12-24 21:54:29 +00:00
|
|
|
#### Install via Package Manager
|
2019-09-11 15:57:24 +00:00
|
|
|
|
2019-12-24 21:54:29 +00:00
|
|
|
With [Homebrew](https://brew.sh/):
|
2019-09-11 15:57:24 +00:00
|
|
|
|
2019-09-28 11:31:56 +00:00
|
|
|
```sh
|
2019-12-24 21:54:29 +00:00
|
|
|
brew install starship
|
2019-09-28 11:31:56 +00:00
|
|
|
```
|
2019-09-11 15:57:24 +00:00
|
|
|
|
2019-12-24 21:54:29 +00:00
|
|
|
With [Scoop](https://scoop.sh):
|
2019-09-11 15:57:24 +00:00
|
|
|
|
2019-12-24 21:54:29 +00:00
|
|
|
```powershell
|
|
|
|
scoop install starship
|
2019-09-28 11:31:56 +00:00
|
|
|
```
|
2019-09-11 15:57:24 +00:00
|
|
|
|
2019-09-28 11:31:56 +00:00
|
|
|
1. 初期化のためのスクリプトをシェルの設定ファイルに追加
|
2019-09-11 15:57:24 +00:00
|
|
|
|
|
|
|
|
2019-09-28 11:31:56 +00:00
|
|
|
#### Bash
|
2019-09-11 15:57:24 +00:00
|
|
|
|
2019-09-28 11:31:56 +00:00
|
|
|
`~/.bashrc` の最後に以下を追記してください
|
2019-09-11 15:57:24 +00:00
|
|
|
|
2019-09-28 11:31:56 +00:00
|
|
|
```sh
|
|
|
|
# ~/.bashrc
|
2019-09-11 15:57:24 +00:00
|
|
|
|
2019-09-28 11:31:56 +00:00
|
|
|
eval "$(starship init bash)"
|
|
|
|
```
|
2019-09-11 15:57:24 +00:00
|
|
|
|
|
|
|
|
2019-09-28 11:31:56 +00:00
|
|
|
#### Fish
|
|
|
|
|
|
|
|
`~/.config/fish/config.fish` の最後に以下を追記してください
|
|
|
|
|
|
|
|
```sh
|
|
|
|
# ~/.config/fish/config.fish
|
|
|
|
|
2019-10-29 03:48:45 +00:00
|
|
|
starship init fish | source
|
2019-09-28 11:31:56 +00:00
|
|
|
```
|
|
|
|
|
|
|
|
|
|
|
|
#### Zsh
|
|
|
|
|
|
|
|
`~/.zshrc` の最後に以下を追記してください
|
|
|
|
|
|
|
|
```sh
|
|
|
|
# ~/.zshrc
|
|
|
|
|
|
|
|
eval "$(starship init zsh)"
|
|
|
|
```
|
2019-10-21 14:42:08 +00:00
|
|
|
|
|
|
|
|
|
|
|
#### Powershell
|
|
|
|
|
2019-11-02 11:12:46 +00:00
|
|
|
`~\Documents\PowerShell\Microsoft.PowerShell_profile.ps1` (それか Nix上の `~/.config/powershell/Microsoft.PowerShell_profile.ps1` )の末尾に以下を追加してください。
|
2019-10-21 14:42:08 +00:00
|
|
|
|
|
|
|
```sh
|
|
|
|
# ~\Documents\PowerShell\Profile.ps1
|
2019-12-24 21:54:29 +00:00
|
|
|
|
2019-10-21 14:42:08 +00:00
|
|
|
Invoke-Expression (&starship init powershell)
|
|
|
|
```
|
2019-12-24 21:54:29 +00:00
|
|
|
|
|
|
|
|
|
|
|
#### Ion
|
|
|
|
|
|
|
|
Add the following to the end of `~/.config/ion/initrc`:
|
|
|
|
|
|
|
|
```sh
|
|
|
|
# ~/.config/ion/initrc
|
|
|
|
|
|
|
|
eval $(starship init ion)
|
|
|
|
```
|