Files
starship/docs/ja-JP
David Knaack e24aae7751 chore(docs): fix markdown syntax of translated files (#7406)
* chore(docs): fix markdown syntax of translated files

* best-effort fix russian text
2026-04-19 13:33:29 +02:00
..

layout, hero, features, footer, metaTitle, description
layout hero features footer metaTitle description
home
image text tagline actions
/logo.svg シェル用の最小限の、非常に高速で、無限にカスタマイズ可能なプロンプトです!
theme text link
brand Get Started → ./guide/
title details
互換性優先 一般的なほとんどのOSの一般的なほとんどのシェル上で動作します。 あらゆるところで使用してください!
title details
Rust製 Rustの最高レベルの速度と安全性を用いることで、可能な限り高速かつ信頼性を高くしています。
title details
カスタマイズ可能 それぞれの細かい点は好みにカスタマイズが出来るため、ミニマルにも多機能にも好きなようにプロンプトを設定することができます。
ISC Licensed | Copyright © 2019-present Starship Contributors Starship: Cross-Shell Prompt Starship はミニマルで、非常に高速で、カスタマイズ性の高い、あらゆるシェルのためのプロンプトです! ミニマルかつ洗練された形で、あなたに必要な情報を表示します。 Bash, Fish, ZSH, Ion, Tcsh, Elvish, Nu, Xonsh, Cmd, PowerShellで簡単に利用できます。
<script setup> import { onMounted } from 'vue' onMounted(() => { const urlParams = new URLSearchParams(window.location.search) if (urlParams.has('uwu') || urlParams.has('kawaii')) { const img = document.querySelector('.VPHero .VPImage.image-src') img.classList.add('uwu') img.src = '/logo-uwu.png' img.alt = 'Kawaii Starship Logo by @sawaratsuki1004' } }) </script>

必要なもの

  • Nerd Fontの一つがインストールされていて、ターミナルで有効になっていること。

クイックインストール

  1. Starship のバイナリをインストール

    最新版のインストール

    Shellを利用する

    curl -sS https://starship.rs/install.sh | sh
    

    Starship自体を更新するには、上記のスクリプトを再度実行してください。 最新のバージョンに置き換わり、設定ファイルには変更を加えません。

    パッケージマネージャー経由でインストール

    Homebrewを使用する

    brew install starship
    

    Wingetを使用する

    winget install starship
    
  2. 初期化のためのスクリプトをシェルの設定ファイルに追加

    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] Only elvish v0.18 or higher is supported.

    Add the following to the end of ~/.config/elvish/rc.elv (%AppData%\elvish\rc.elv on Windows):

    # ~/.elvish/rc.elv
    
    eval (starship init elvish)
    

    For elvish versions prior to v0.21.0 the config file might instead be ~/.elvish/rc.elv

    Tcsh

    ~/.tcshrc の最後に以下を追加します:

    # ~/.tcshrc
    
    eval `starship init tcsh`
    

    Nushell

    [!WARNING] This will change in the future. Nushell v0.96+ のみサポートされています。

    Add the following to the end of your Nushell configuration (find it by running $nu.config-path in Nushell):

    mkdir ($nu.data-dir | path join "vendor/autoload")
    starship init nu | save -f ($nu.data-dir | path join "vendor/autoload/starship.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"))()