Files
starship/docs/ko-KR/installing/README.md
T

94 lines
2.1 KiB
Markdown
Raw Normal View History

2023-02-01 01:14:38 +09:00
# 고급 설치
2021-01-07 18:08:18 -05:00
2023-02-01 01:14:38 +09:00
Starship을 설치하려면 다음 두 가지를 수행해주세요
2021-01-07 18:08:18 -05:00
2023-02-01 01:14:38 +09:00
1. **Starship** 바이너리를 당신의 컴퓨터에 받으세요
2021-01-07 18:08:18 -05:00
1. Tell your shell to use the starship binary as its prompt by modifying its init scripts
For most users, the instructions on [the main page](/guide/#🚀-installation) will work great. However, for some more specialized platforms, different instructions are needed.
There are so many platforms out there that they didn't fit into the main README.md file, so here are some installation instructions for other platforms from the community. Is yours not here? Please do add it here if you figure it out!
2021-03-15 13:18:42 -04:00
## [Chocolatey](https://chocolatey.org)
2022-02-07 15:53:55 +01:00
### 준비 사항
2021-03-15 13:18:42 -04:00
Head over to the [Chocolatey installation page](https://chocolatey.org/install) and follow the instructions to install Chocolatey.
2023-02-01 01:14:38 +09:00
### 설치
2021-03-15 13:18:42 -04:00
```powershell
choco install starship
```
2021-02-21 14:13:18 -05:00
## [termux](https://termux.com)
2021-03-15 13:18:42 -04:00
2022-02-07 15:53:55 +01:00
### 준비 사항
2021-03-15 13:18:42 -04:00
2021-02-21 14:13:18 -05:00
```sh
pkg install getconf
```
2023-02-01 01:14:38 +09:00
### 설치
2021-03-15 13:18:42 -04:00
2021-02-21 14:13:18 -05:00
```sh
2022-03-08 21:11:36 -05:00
curl -sS https://starship.rs/install.sh | sh -s -- --bin-dir /data/data/com.termux/files/usr/bin
2021-02-21 14:13:18 -05:00
```
2021-01-07 18:08:18 -05:00
2021-11-07 18:07:39 +00:00
## [Funtoo Linux](https://www.funtoo.org/Welcome)
2023-02-01 01:14:38 +09:00
### 설치
2021-11-07 18:07:39 +00:00
On Funtoo Linux, starship can be installed from [core-kit](https://github.com/funtoo/core-kit/tree/1.4-release/app-shells/starship) via Portage:
```sh
emerge app-shells/starship
```
2021-01-07 18:08:18 -05:00
## [Nix](https://nixos.wiki/wiki/Nix)
### Getting the Binary
#### Imperatively
```sh
nix-env -iA nixos.starship
```
2021-04-05 10:55:57 -04:00
#### Declarative, single user, via [home-manager](https://github.com/nix-community/home-manager)
2021-01-07 18:08:18 -05:00
2021-03-15 13:18:42 -04:00
Enable the `programs.starship` module in your `home.nix` file, and add your settings
```nix
{
programs.starship = {
enable = true;
2023-12-29 03:07:36 +09:00
# ~/.config/starship.toml에 작성된 설정
2021-03-15 13:18:42 -04:00
settings = {
# add_newline = false;
# character = {
# success_symbol = "[➜](bold green)";
# error_symbol = "[➜](bold red)";
# };
# package.disabled = true;
};
};
}
```
then run
2021-01-07 18:08:18 -05:00
```sh
home-manager switch
```
#### Declarative, system-wide, with NixOS
2021-03-15 13:18:42 -04:00
Add `pkgs.starship` to `environment.systemPackages` in your `configuration.nix`, then run
2021-01-07 18:08:18 -05:00
```sh
sudo nixos-rebuild switch
```