home, heroImage, heroText, tagline, actionText, actionLink, features, footer, metaTitle, description
| home | heroImage | heroText | tagline | actionText | actionLink | features | footer | metaTitle | description | |||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| true | /logo.svg | The minimal, blazing-fast, and infinitely customizable prompt for any shell! | Get Started → | ./guide/ |
|
ISC Licensed | Copyright © 2019-present Starship Contributors | Starship: Cross-Shell Prompt | Starship is the minimal, blazing fast, and extremely customizable prompt for any shell! Shows the information you need, while staying sleek and minimal. Quick installation available for Bash, Fish, ZSH, Ion, Tcsh, Elvish, Nu, Xonsh, and PowerShell. |
Prerequisites
- A Nerd Font installed and enabled in your terminal.
빠른 설치
-
starship 바이러니 설치:
최근 버전 설치
With Shell:
sh -c "$(curl -fsSL https://starship.rs/install.sh)"To update the Starship itself, rerun the above script. It will replace the current version without touching Starship's configuration.
패키지 매니저를 이용한 설치
Homebrew를 통한 설치:
brew install starshipWith Scoop:
scoop install starship -
쉘 설정에 시동 스크립트를 추가:
Bash
~/.bashrc에 아래 라인을 추가# ~/.bashrc eval "$(starship init bash)"Fish
~/.config/fish/config.fish에 아래 라인을 추가# ~/.config/fish/config.fish starship init fish | sourceZsh
~/.zshrc에 아래 라인을 추가# ~/.zshrc eval "$(starship init zsh)"Powershell
Microsoft.PowerShell_profile.ps1의 끝부분에 아래 내용을 추가. 해당 설정파일은 파워쉘에서$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
::: 주의 elvish v0.15 이상만 지원. :::
아래의 라인을
~/.elvish/rc.elv마지막에 추가:# ~/.elvish/rc.elv eval (starship init elvish)Tcsh
아래의 라인을
~/.tcshrc마지막에 추가:# ~/.tcshrc eval `starship init tcsh`Nushell
::: warning This will change in the future. Only nu version v0.33 or higher is supported. ::: Add the following to your nu config file. You can check the location of this file by running
config pathin nu.startup = [ "mkdir ~/.cache/starship", "starship init nu | save ~/.cache/starship/init.nu", "source ~/.cache/starship/init.nu" ] prompt = "starship_prompt"Xonsh
Add the following to the end of
~/.xonshrc:# ~/.xonshrc execx($(starship init xonsh))