4c3c75a0e9
* New translations readme.md (Ukrainian) * New translations readme.md (Dutch) * New translations readme.md (Dutch) * New translations readme.md (Dutch) * New translations readme.md (Ukrainian) * New translations readme.md (Turkish) * New translations readme.md (Turkish) * New translations readme.md (French) * New translations readme.md (Spanish) * New translations readme.md (Arabic) * New translations readme.md (German) * New translations readme.md (Italian) * New translations readme.md (Japanese) * New translations readme.md (Korean) * New translations readme.md (Dutch) * New translations readme.md (Norwegian) * New translations readme.md (Polish) * New translations readme.md (Portuguese) * New translations readme.md (Russian) * New translations readme.md (Turkish) * New translations readme.md (Ukrainian) * New translations readme.md (Chinese Simplified) * New translations readme.md (Chinese Traditional) * New translations readme.md (Vietnamese) * New translations readme.md (Portuguese, Brazilian) * New translations readme.md (Indonesian) * New translations readme.md (Bengali) * New translations readme.md (Sorani (Kurdish)) * New translations readme.md (Ukrainian) * New translations readme.md (French) * New translations readme.md (Spanish) * New translations readme.md (Arabic) * New translations readme.md (German) * New translations readme.md (Italian) * New translations readme.md (Japanese) * New translations readme.md (Korean) * New translations readme.md (Dutch) * New translations readme.md (Norwegian) * New translations readme.md (Polish) * New translations readme.md (Portuguese) * New translations readme.md (Russian) * New translations readme.md (Turkish) * New translations readme.md (Ukrainian) * New translations readme.md (Chinese Simplified) * New translations readme.md (Chinese Traditional) * New translations readme.md (Vietnamese) * New translations readme.md (Portuguese, Brazilian) * New translations readme.md (Indonesian) * New translations readme.md (Bengali) * New translations readme.md (Sorani (Kurdish)) * New translations readme.md (Turkish) * New translations readme.md (Ukrainian) * New translations readme.md (Turkish) * New translations readme.md (Vietnamese) * New translations readme.md (Vietnamese) * New translations readme.md (Vietnamese) * New translations readme.md (Vietnamese) * New translations tokyo-night.md (Vietnamese) * New translations gruvbox-rainbow.md (Vietnamese) * New translations readme.md (Vietnamese) * New translations readme.md (Vietnamese) * New translations bracketed-segments.md (Vietnamese) * New translations nerd-font.md (Vietnamese) * New translations no-runtimes.md (Vietnamese) * New translations plain-text.md (Vietnamese) * New translations pure-preset.md (Vietnamese) * New translations pastel-powerline.md (Vietnamese) * New translations no-nerd-font.md (Vietnamese) * New translations no-empty-icons.md (Vietnamese) * New translations gruvbox-rainbow.md (Vietnamese) * New translations jetpack.md (Vietnamese) * New translations readme.md (French) * New translations readme.md (French) * New translations readme.md (Spanish) * New translations readme.md (Spanish) * New translations readme.md (Arabic) * New translations readme.md (Arabic) * New translations readme.md (German) * New translations readme.md (German) * New translations readme.md (Italian) * New translations readme.md (Italian) * New translations readme.md (Japanese) * New translations readme.md (Japanese) * New translations readme.md (Korean) * New translations readme.md (Korean) * New translations readme.md (Dutch) * New translations readme.md (Dutch) * New translations readme.md (Norwegian) * New translations readme.md (Norwegian) * New translations readme.md (Polish) * New translations readme.md (Polish) * New translations readme.md (Portuguese) * New translations readme.md (Portuguese) * New translations readme.md (Russian) * New translations readme.md (Russian) * New translations readme.md (Turkish) * New translations readme.md (Turkish) * New translations readme.md (Ukrainian) * New translations readme.md (Ukrainian) * New translations readme.md (Chinese Simplified) * New translations readme.md (Chinese Simplified) * New translations readme.md (Chinese Traditional) * New translations readme.md (Chinese Traditional) * New translations readme.md (Vietnamese) * New translations readme.md (Vietnamese) * New translations readme.md (Portuguese, Brazilian) * New translations readme.md (Portuguese, Brazilian) * New translations readme.md (Indonesian) * New translations readme.md (Indonesian) * New translations readme.md (Bengali) * New translations readme.md (Bengali) * New translations readme.md (Sorani (Kurdish)) * New translations readme.md (Sorani (Kurdish)) * New translations readme.md (French) * New translations readme.md (Spanish) * New translations readme.md (German) * New translations readme.md (Japanese) * New translations readme.md (Russian) * New translations readme.md (Ukrainian) * New translations readme.md (Chinese Simplified) * New translations readme.md (Chinese Traditional) * New translations readme.md (Vietnamese) * New translations readme.md (Portuguese, Brazilian) * New translations readme.md (Indonesian) * New translations readme.md (Vietnamese) * New translations readme.md (Chinese Simplified) * New translations readme.md (Chinese Simplified) * New translations readme.md (Chinese Simplified) * New translations readme.md (Chinese Simplified) * New translations readme.md (Chinese Simplified) * New translations readme.md (Chinese Simplified) * New translations readme.md (Chinese Simplified) * New translations readme.md (Chinese Simplified) * New translations readme.md (Chinese Simplified) * New translations readme.md (Chinese Simplified) * New translations readme.md (Chinese Simplified) * New translations readme.md (Russian) |
||
---|---|---|
.. | ||
advanced-config | ||
config | ||
faq | ||
guide | ||
installing | ||
migrating-to-0.45.0 | ||
presets | ||
README.md |
layout | hero | features | footer | metaTitle | description | ||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
home |
|
|
ISC Licensed | Copyright © 2019-present Starship Contributors | Starship: Cross-Shell Prompt | Starship はミニマルで、非常に高速で、カスタマイズ性の高い、あらゆるシェルのためのプロンプトです! ミニマルかつ洗練された形で、あなたに必要な情報を表示します。 Bash, Fish, ZSH, Ion, Tcsh, Elvish, Nu, Xonsh, Cmd, PowerShellで簡単に利用できます。 |
必要なもの
- Nerd Fontの一つがインストールされていて、ターミナルで有効になっていること。
クイックインストール
-
Starship のバイナリをインストール
最新版のインストール
Shellを利用する
curl -sS https://starship.rs/install.sh | sh
Starship自体を更新するには、上記のスクリプトを再度実行してください。 最新のバージョンに置き換わり、設定ファイルには変更を加えません。
パッケージマネージャー経由でインストール
Homebrewを使用する
brew install starship
Wingetを使用する
winget install starship
-
初期化のためのスクリプトをシェルの設定ファイルに追加
Bash
~/.bashrc
の最後に以下を追記してください# ~/.bashrc eval "$(starship init bash)"
Fish
~/.config/fish/config.fish
の最後に以下を追記してください# ~/.config/fish/config.fish starship init fish | source
Zsh
~/.zshrc
の最後に以下を追記してください# ~/.zshrc eval "$(starship init zsh)"
Powershell
Microsoft.PowerShell_profile.ps1
の最後に以下を追記してください。 PowerShell 上で$PROFILE
変数を問い合わせると、ファイルの場所を確認できます。 通常、パスは~\Documents\PowerShell\Microsoft.PowerShell_profile.ps1
または -Nix 上では~/.config/powershell/Microsoft.PowerShell_profile.ps1
です。Invoke-Expression (&starship init powershell)
Ion
~/.config/ion/initrc
の最後に次を追加してください# ~/.config/ion/initrc eval $(starship init ion)
Elvish
::: warning
elvish v0.18 以降のみサポートされます。
:::
~/.elvish/rc.elv
の最後に以下を追記してください。# ~/.elvish/rc.elv eval (starship init elvish)
Tcsh
~/.tcshrc
の最後に以下を追加します:# ~/.tcshrc eval `starship init tcsh`
Nushell
::: warning
これは将来的に変更される可能性があります。 Nushell v0.78+ のみサポートされています。
:::
そして、Nushellの設定ファイルの最後に以下を追加してください(
$nu.config-path
を実行してください):mkdir ~/.cache/starship starship init nu | save -f ~/.cache/starship/init.nu
そして、Nushellの設定ファイルの最後に以下を追記してください (
$nu.config-path
を実行してください):use ~/.cache/starship/init.nu
Xonsh
~/.xonshrc
の最後に以下を追加してください:# ~/.xonshrc execx($(starship init xonsh))
Cmd
Clink (v1.2.30+) コマンドを使用する必要があります。 以下をファイル
starship.lua
に追加し、Clinkスクリプトディレクトリに配置します:-- starship.lua load(io.popen('starship init cmd'):read("*a"))()