* chore(docs): fix markdown syntax of translated files * best-effort fix russian text
layout, hero, features, footer, metaTitle, description
| layout | hero | features | footer | metaTitle | description | ||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| home |
|
|
ISC Licensed | Copyright © 2019-present Starship Contributors | Starship: 크로스-셸 프롬프트 | Starship은 아무 셸에나 적용할 수 있는 작고, 매우 빠르며, 무한히 커스텀 가능한 프롬프트입니다! 필요한 정보를 깔끔하고 간략하게 표시합니다. Bash, Fish, ZSH, Ion, Tcsh, Elvish, Nu, Xonsh, Cmd, 및 PowerShell에 빠르게 설치할 수 있습니다. |
준비 사항
- 터미널에 Nerd Font가 설치되어 있고 사용 가능해야 합니다.
빠른 설치
-
starship 바이너리 설치:
최근 버전 설치
셸로 설치:
curl -sS https://starship.rs/install.sh | shStarship을 업데이트하고 싶은 경우에도 위의 스크립트를 실행시키면 됩니다. Starship의 설정은 변경되지 않고 버전만 최근 버전으로 대체될 것입니다.
패키지 매니저로 설치하기
Homebrew로 설치:
brew install starshipWinget으로 설치:
winget install starship -
쉘 설정 파일에 init 스크립트 추가:
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
[!WARNING] Only elvish v0.18 or higher is supported.
Add the following to the end of
~/.config/elvish/rc.elv(%AppData%\elvish\rc.elvon Windows):# ~/.elvish/rc.elv eval (starship init elvish)For elvish versions prior to v0.21.0 the config file might instead be
~/.elvish/rc.elvTcsh
~/.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-pathin 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
Cmd를 이용하려면 Clink (v1.2.30+) 를 사용해야 합니다.
starship.lua파일에 아래의 라인을 추가하고 파일을 Clink scripts 폴더에 저장합니다.-- starship.lua load(io.popen('starship init cmd'):read("*a"))()