2.4 KiB
2.4 KiB
home | heroImage | actionText | actionLink | footer |
---|---|---|---|---|
true | /logo.svg | Get Started → | /ja/guide/ | ISC Licensed | Copyright © 2019-present Starship Contributors |
クイックインストール
-
Starship のバイナリをインストール
もし以下のプラットフォームを使用していない場合は コンパイル済みのバイナリファイルをダウンロード してください。
Homebrew
$ brew install starship
Rust (v1.33 もしくはそれ以上)
$ cargo install starship
Arch Linux (AUR)
Starship は AUR 上の
starship
というパッケージ名で利用可能です。yay
またはお好きな AUR ヘルパーでインストールしてください。$ yay -S starship
Nix (unstable)
$ nix-env --install starship
Termux
$ pkg install starship
-
初期化のためのスクリプトをシェルの設定ファイルに追加
Bash
~/.bashrc
の最後に以下を追記してください# ~/.bashrc eval "$(starship init bash)"
Fish
~/.config/fish/config.fish
の最後に以下を追記してください# ~/.config/fish/config.fish eval (starship init fish)
Zsh
~/.zshrc
の最後に以下を追記してください# ~/.zshrc eval "$(starship init zsh)"