mirror of
https://github.com/starship/starship.git
synced 2026-06-23 02:05:51 +07:00
docs(i18n): new Crowdin updates (#3460)
This commit is contained in:
+166
-98
@@ -150,178 +150,246 @@
|
||||
|
||||
**The minimal, blazing-fast, and infinitely customizable prompt for any shell!**
|
||||
|
||||
- **Fast:** it's fast – _really really_ fast! 🚀
|
||||
- **Customizable:** configure every aspect of your prompt.
|
||||
- **Universal:** works on any shell, on any operating system.
|
||||
- **Intelligent:** shows relevant information at a glance.
|
||||
- **Feature rich:** support for all your favorite tools.
|
||||
- **Easy:** quick to install – start using it in minutes.
|
||||
- ** Fast:** 빨라요 – _엄청 엄청_ 빠릅니다! 🚀
|
||||
- ** Customizable:** 프롬프트의 모든 측면을 커스텀 가능합니다.
|
||||
- **Universal:** 어떤 쉘 위에서도, 어떤 운영체제 위에서도 동작합니다.
|
||||
- **Intelligent:** 관련 정보를 한눈에 보여줍니다.
|
||||
- **Feature rich:** 원하는 모든 도구를 지원합니다.
|
||||
- **Easy:** 빠른 설치 - 몇 분 안에 사용할 수 있습니다.
|
||||
|
||||
<p align="center">
|
||||
<a href="https://starship.rs/config/"><strong>Explore the Starship docs ▶</strong></a>
|
||||
<a href="https://starship.rs/config/"><strong>Starship 문서 보기 ▶</strong></a>
|
||||
</p>
|
||||
|
||||
<a name="🚀-installation"></a>
|
||||
|
||||
## 🚀 설치
|
||||
|
||||
### Prerequisites
|
||||
### 준비 사항
|
||||
|
||||
- A [Nerd Font](https://www.nerdfonts.com/) installed and enabled in your terminal (for example, try the [Fira Code Nerd Font](https://www.nerdfonts.com/font-downloads)).
|
||||
- 터미널에 [Nerd Font](https://www.nerdfonts.com/)가 설치되어 있고 사용 가능해야 합니다. (ex. [Fira Code Nerd Font](https://www.nerdfonts.com/font-downloads))
|
||||
|
||||
### 시작하기
|
||||
### Step 1. Starship 설치하기
|
||||
|
||||
**Note**: due to the proliferation of different platforms, only a subset of supported platforms are shown below. Can't see yours? Have a look at the [extra platform instructions](https://starship.rs/installing/).
|
||||
아래의 목록 중 해당하는 운영체제를 골라 설치 지침을 확인하세요:
|
||||
|
||||
1. **starship** 바이러니 설치:
|
||||
<details>
|
||||
<summary>Android</summary>
|
||||
|
||||
Install Starship using any of the following package managers:
|
||||
|
||||
#### 최근 버전 설치
|
||||
| Repository | Instructions |
|
||||
| --------------------------------------------------------------------------------- | ---------------------- |
|
||||
| [Termux](https://github.com/termux/termux-packages/tree/master/packages/starship) | `pkg install starship` |
|
||||
|
||||
</details>
|
||||
|
||||
##### From prebuilt binary, with Shell:
|
||||
<details>
|
||||
<summary>BSD</summary>
|
||||
|
||||
```sh
|
||||
sh -c "$(curl -fsSL https://starship.rs/install.sh)"
|
||||
```
|
||||
Install Starship using any of the following package managers:
|
||||
|
||||
To update the Starship itself, rerun the above script. It will replace the current version without touching Starship's configuration.
|
||||
| Distribution | Repository | Instructions |
|
||||
| ------------ | -------------------------------------------------------- | --------------------------------- |
|
||||
| **_Any_** | **[crates.io](https://crates.io/crates/starship)** | `cargo install starship --locked` |
|
||||
| FreeBSD | [FreshPorts](https://www.freshports.org/shells/starship) | `pkg install starship` |
|
||||
| NetBSD | [pkgsrc](https://pkgsrc.se/shells/starship) | `pkgin install starship` |
|
||||
|
||||
**Note** - The defaults of the install script can be overridden see the built-in help.
|
||||
</details>
|
||||
|
||||
```sh
|
||||
sh -c "$(curl -fsSL https://starship.rs/install.sh)" -- --help
|
||||
```
|
||||
<details>
|
||||
<summary>Linux</summary>
|
||||
|
||||
Install the latest version for your system:
|
||||
|
||||
#### 패키지 매니저를 이용한 설치
|
||||
```sh
|
||||
sh -c "$(curl -fsSL https://starship.rs/install.sh)"
|
||||
```
|
||||
|
||||
Alternatively, install Starship using any of the following package managers:
|
||||
|
||||
##### [Homebrew](https://brew.sh/)를 통한 설치:
|
||||
| Distribution | Repository | Instructions |
|
||||
| ------------------ | ----------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------ |
|
||||
| **_Any_** | **[crates.io](https://crates.io/crates/starship)** | `cargo install starship --locked` |
|
||||
| _Any_ | [conda-forge](https://anaconda.org/conda-forge/starship) | `conda install -c conda-forge starship` |
|
||||
| _Any_ | [Linuxbrew](https://formulae.brew.sh/formula/starship) | `brew install starship` |
|
||||
| _Any_ | [Snapcraft](https://snapcraft.io/starship) | `snap install starship` |
|
||||
| Alpine Linux 3.13+ | [Alpine Linux Packages](https://pkgs.alpinelinux.org/packages?name=starship) | `apk add starship` |
|
||||
| Arch Linux | [Arch Linux Community](https://archlinux.org/packages/community/x86_64/starship) | `pacman -S starship` |
|
||||
| CentOS 7+ | [Copr](https://copr.fedorainfracloud.org/coprs/atim/starship) | `dnf copr enable atim/starship` <br /> `dnf install starship` |
|
||||
| Fedora 31+ | [Fedora Packages](https://src.fedoraproject.org/rpms/rust-starship) | `dnf install starship` |
|
||||
| NixOS | [nixpkgs](https://github.com/NixOS/nixpkgs/blob/master/pkgs/tools/misc/starship/default.nix) | `nix-env -iA nixos.starship` |
|
||||
| Gentoo | [Gentoo Packages](https://packages.gentoo.org/packages/app-shells/starship) | `emerge app-shells/starship` |
|
||||
| Manjaro | | `pacman -S starship` |
|
||||
| NixOS | [nixpkgs](https://github.com/NixOS/nixpkgs/blob/master/pkgs/tools/misc/starship/default.nix) | `nix-env -iA nixpkgs.starship` |
|
||||
| Void Linux | [Void Linux Packages](https://github.com/void-linux/void-packages/tree/master/srcpkgs/starship) | `xbps-install -S starship` |
|
||||
|
||||
```sh
|
||||
brew install starship
|
||||
```
|
||||
</details>
|
||||
|
||||
<details>
|
||||
<summary>macOS</summary>
|
||||
|
||||
##### With [Scoop](https://scoop.sh):
|
||||
Install the latest version for your system:
|
||||
|
||||
```powershell
|
||||
scoop install starship
|
||||
```
|
||||
```sh
|
||||
sh -c "$(curl -fsSL https://starship.rs/install.sh)"
|
||||
```
|
||||
|
||||
2. 쉘 설정에 시동 스크립트를 추가:
|
||||
Alternatively, install Starship using any of the following package managers:
|
||||
|
||||
| Repository | Instructions |
|
||||
| -------------------------------------------------------- | --------------------------------------- |
|
||||
| **[crates.io](https://crates.io/crates/starship)** | `cargo install starship --locked` |
|
||||
| [conda-forge](https://anaconda.org/conda-forge/starship) | `conda install -c conda-forge starship` |
|
||||
| [Homebrew](https://formulae.brew.sh/formula/starship) | `brew install starship` |
|
||||
| [MacPorts](https://ports.macports.org/port/starship) | `port install starship` |
|
||||
|
||||
#### Bash
|
||||
</details>
|
||||
|
||||
`~/.bashrc`에 아래 라인을 추가
|
||||
<details>
|
||||
<summary>Windows</summary>
|
||||
|
||||
```sh
|
||||
# ~/.bashrc
|
||||
Install Starship using any of the following package managers:
|
||||
|
||||
eval "$(starship init bash)"
|
||||
```
|
||||
| Repository | Instructions |
|
||||
| -------------------------------------------------------------------------------- | --------------------------------------- |
|
||||
| **[crates.io](https://crates.io/crates/starship)** | `cargo install starship --locked` |
|
||||
| [Chocolatey](https://community.chocolatey.org/packages/starship) | `choco install starship` |
|
||||
| [conda-forge](https://anaconda.org/conda-forge/starship) | `conda install -c conda-forge starship` |
|
||||
| [Scoop](https://github.com/ScoopInstaller/Main/blob/master/bucket/starship.json) | `scoop install starship` |
|
||||
|
||||
</details>
|
||||
|
||||
#### Fish
|
||||
### Step 2. 쉘에 Starship 적용하기
|
||||
|
||||
`~/.config/fish/config.fish`에 아래 라인을 추가
|
||||
쉘에 Starship 초기 설정을 합니다. 아래의 리스트 중에 해당하는 것을 고르세요:
|
||||
|
||||
```sh
|
||||
# ~/.config/fish/config.fish
|
||||
<details>
|
||||
<summary>Bash</summary>
|
||||
|
||||
starship init fish | source
|
||||
```
|
||||
`~/.bashrc`의 끝부분에 아래 라인을 추가:
|
||||
|
||||
```sh
|
||||
eval "$(starship init bash)"
|
||||
```
|
||||
|
||||
#### Zsh
|
||||
</details>
|
||||
|
||||
`~/.zshrc`에 아래 라인을 추가
|
||||
<details>
|
||||
<summary>Cmd</summary>
|
||||
|
||||
```sh
|
||||
# ~/.zshrc
|
||||
Cmd를 이용하려면 [Clink](https://chrisant996.github.io/clink/clink.html) (v1.2.30+) 를 사용해야 합니다. Create a file at this path `%LocalAppData%\clink\starship.lua` with the following contents:
|
||||
|
||||
eval "$(starship init zsh)"
|
||||
```
|
||||
```lua
|
||||
load(io.popen('starship init cmd'):read("*a"))()
|
||||
```
|
||||
|
||||
</details>
|
||||
|
||||
#### 파워셀
|
||||
<details>
|
||||
<summary>Elvish</summary>
|
||||
|
||||
`Microsoft.PowerShell_profile.ps1`의 끝부분에 아래 내용을 추가. 해당 설정파일은 파워쉘에서 `$PROFILE` 변수 확인을 통해 확인 가능. 일반적으로 해당 파일은 `~\Documents\PowerShell\Microsoft.PowerShell_profile.ps1` 혹은 -Nix의 경우 `~/.config/powershell/Microsoft.PowerShell_profile.ps1`에 위치.
|
||||
`~/.elvish/rc.elv` 의 끝부분에 아래 라인을 추가:
|
||||
|
||||
```powershell
|
||||
Invoke-Expression (&starship init powershell)
|
||||
```
|
||||
```sh
|
||||
eval (starship init elvish)
|
||||
```
|
||||
|
||||
Note: Only Elvish v0.17+ is supported
|
||||
|
||||
#### Ion
|
||||
</details>
|
||||
|
||||
아래의 라인을 `~/.config/ion/initrc` 마지막에 추가:
|
||||
<details>
|
||||
<summary>Fish</summary>
|
||||
|
||||
```sh
|
||||
# ~/.config/ion/initrc
|
||||
`~/.config/fish/config.fish`의 끝부분에 아래 라인을 추가:
|
||||
|
||||
eval $(starship init ion)
|
||||
```
|
||||
```fish
|
||||
starship init fish | source
|
||||
```
|
||||
|
||||
</details>
|
||||
|
||||
#### Elvish
|
||||
<details>
|
||||
<summary>Ion</summary>
|
||||
|
||||
**Warning** Only elvish v0.17 or higher is supported. 아래의 라인을 `~/.elvish/rc.elv` 마지막에 추가:
|
||||
`~/.config/ion/initrc` 의 끝부분에 아래 라인을 추가:
|
||||
|
||||
```sh
|
||||
# ~/.elvish/rc.elv
|
||||
```sh
|
||||
eval $(starship init ion)
|
||||
```
|
||||
|
||||
eval (starship init elvish)
|
||||
```
|
||||
</details>
|
||||
|
||||
<details>
|
||||
<summary>Nushell</summary>
|
||||
|
||||
#### Tcsh
|
||||
Add the following to the end of your Nushell configuration (find it by running `config path`):
|
||||
|
||||
아래의 라인을 `~/.tcshrc` 마지막에 추가:
|
||||
```toml
|
||||
startup = [
|
||||
"mkdir ~/.cache/starship",
|
||||
"starship init nu | save ~/.cache/starship/init.nu",
|
||||
"source ~/.cache/starship/init.nu",
|
||||
]
|
||||
prompt = "starship_prompt"
|
||||
```
|
||||
|
||||
```sh
|
||||
# ~/.tcshrc
|
||||
</details>
|
||||
|
||||
eval `starship init tcsh`
|
||||
```
|
||||
<details>
|
||||
<summary>Powershell</summary>
|
||||
|
||||
Add the following to the end of your PowerShell configuration (find it by running `$PROFILE`):
|
||||
|
||||
#### Xonsh
|
||||
```powershell
|
||||
Invoke-Expression (&starship init powershell)
|
||||
```
|
||||
|
||||
Add the following to the end of `~/.xonshrc`:
|
||||
</details>
|
||||
|
||||
```sh
|
||||
# ~/.xonshrc
|
||||
<details>
|
||||
<summary>Tcsh</summary>
|
||||
|
||||
execx($(starship init xonsh))
|
||||
```
|
||||
`~/.tcshrc` 의 끝부분에 아래 라인을 추가:
|
||||
|
||||
```sh
|
||||
eval `starship init tcsh`
|
||||
```
|
||||
|
||||
#### Cmd
|
||||
</details>
|
||||
|
||||
You need to use [Clink](https://chrisant996.github.io/clink/clink.html) (v1.2.30+) with Cmd. Add the following to a file `starship.lua` and place this file in Clink scripts directory:
|
||||
<details>
|
||||
<summary>Xonsh</summary>
|
||||
|
||||
```lua
|
||||
-- starship.lua
|
||||
`~/.xonshrc` 의 끝부분에 아래 라인을 추가:
|
||||
|
||||
load(io.popen('starship init cmd'):read("*a"))()
|
||||
```
|
||||
```python
|
||||
execx($(starship init xonsh))
|
||||
```
|
||||
|
||||
</details>
|
||||
|
||||
#### Nushell
|
||||
<details>
|
||||
<summary>Zsh</summary>
|
||||
|
||||
**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 path` in nu.
|
||||
`~/.zshrc`의 끝부분에 아래 라인을 추가
|
||||
|
||||
```toml
|
||||
startup = [
|
||||
"mkdir ~/.cache/starship",
|
||||
"starship init nu | save ~/.cache/starship/init.nu",
|
||||
"source ~/.cache/starship/init.nu"
|
||||
]
|
||||
prompt = "starship_prompt"
|
||||
```
|
||||
```sh
|
||||
eval "$(starship init zsh)"
|
||||
```
|
||||
|
||||
</details>
|
||||
|
||||
### Step 3. Starship 설정하기
|
||||
|
||||
새로운 쉘 인스턴스를 시작하면 아름다운 새 쉘 프롬프트를 볼 수 있습니다. 기본 설정에 만족한다면, 즐기세요!
|
||||
|
||||
Starship을 추가로 커스터마이징 하고싶다면:
|
||||
|
||||
- **[Configuration](https://starship.rs/config/)** – 원하는대로 프롬프트를 수정할 수 있도록 Starship 설정을 배울 수 있습니다.
|
||||
|
||||
- **[Presets](https://starship.rs/presets/)** – 다른 사람들이 만들어둔 설정들을 보고 영감을 받을 수 있습니다.
|
||||
|
||||
## 🤝 기여
|
||||
|
||||
@@ -335,11 +403,11 @@ If you are interested in helping contribute to starship, please take a look at o
|
||||
|
||||
Please check out these previous works that helped inspire the creation of starship. 🙏
|
||||
|
||||
- **[denysdovhan/spaceship-prompt](https://github.com/denysdovhan/spaceship-prompt)** - A ZSH prompt for astronauts.
|
||||
- **[denysdovhan/spaceship-prompt](https://github.com/denysdovhan/spaceship-prompt)** – A ZSH prompt for astronauts.
|
||||
|
||||
- **[denysdovhan/robbyrussell-node](https://github.com/denysdovhan/robbyrussell-node)** - Cross-shell robbyrussell theme written in JavaScript.
|
||||
- **[denysdovhan/robbyrussell-node](https://github.com/denysdovhan/robbyrussell-node)** – Cross-shell robbyrussell theme written in JavaScript.
|
||||
|
||||
- **[reujab/silver](https://github.com/reujab/silver)** - A cross-shell customizable powerline-like prompt with icons.
|
||||
- **[reujab/silver](https://github.com/reujab/silver)** – A cross-shell customizable powerline-like prompt with icons.
|
||||
|
||||
<p align="center">
|
||||
<br>
|
||||
|
||||
Reference in New Issue
Block a user