Instalasi Lanjutan
Untuk memasang starship, ada dua hal yang perlu anda lakukan:
- Dapatkan binary starship di komputer anda
- Atur shell anda untuk menggunakan binary tersebut sebagai prompt dengan mengedit init scripts nya
Untuk kebayakan pengguna, instruksi pada halaman utama akan berjalan lancar. Namun, untuk sebagian platfrom khusus, instruksi khusus diperlukan.
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!
Chocolatey
Prasyarat
Head over to the Chocolatey installation page and follow the instructions to install Chocolatey.
Pemasangan
choco install starshiptermux
Prasyarat
pkg install getconfPemasangan
curl -sS https://starship.rs/install.sh | sh -s -- --bin-dir /data/data/com.termux/files/usr/binFuntoo Linux
Pemasangan
On Funtoo Linux, starship can be installed from core-kit via Portage:
emerge app-shells/starshipNix
Getting the Binary
Imperatively
nix-env -iA nixos.starshipDeclarative, single user, via home-manager
Enable the programs.starship module in your home.nix file, and add your settings
{
programs.starship = {
enable = true;
# Configuration written to ~/.config/starship.toml
settings = {
# add_newline = false;
# character = {
# success_symbol = "[➜](bold green)";
# error_symbol = "[➜](bold red)";
# };
# package.disabled = true;
};
};
}then run
home-manager switchDeclarative, system-wide, with NixOS
Add pkgs.starship to environment.systemPackages in your configuration.nix, then run
sudo nixos-rebuild switch