Files
starship/docs/id-ID

layout, hero, features, footer, metaTitle, description
layout hero features footer metaTitle description
home
image text tagline actions
/logo.svg null Prompt yang minimal, super cepat, dan dapat disesuaikan tanpa batas untuk shell apa pun!
theme text link
brand Mari Mulai → ./guide/
title details
Kompatibilitas Yang Utama Dapat berfungsi di shells standar dengan sistem operasi yang paling biasa. Pakai di mana saja!
title details
Dibuat dengan Rust Menggunakan kecepatan dan keamanan dari Rust, untuk membuat prompt kamu bekerja secepat dan seandal mungkin.
title details
Dapat Dikustomisasi Kamu dapat mengatur semua detail kecil dengan sesukamu, entah itu untuk membuatnya sebagai prompt yang seminimal mungkin atau kaya akan fitur yang kamu mau.
Berlisensi ISC | Hak Cipta © 2019-sekarang Kontributor Starship Starship: Prompt Lintas Shell Starship merupakan sebuah prompt yang minimal, super cepat, dan sangat bisa untuk dikustomisasi untuk shell apapun! Bisa menampilkan informasi yang kamu butuhkan, namun tetap bisa tampil dengan ramping dan minimal. Instalasi sederhana tersedia untuk Bash, Fish, ZSH, Ion, Tcsh, Elvish, Nu, Xonsh, Cmd, dan PowerShell.
<script setup> import { onMounted } from 'vue' onMounted(() => { const urlParams = new URLSearchParams(window.location.search) if (urlParams.has('uwu') || urlParams.has('kawaii')) { const img = document.querySelector('.VPHero .VPImage.image-src') img.classList.add('uwu') img.src = '/logo-uwu.png' img.alt = 'Kawaii Starship Logo by @sawaratsuki1004' } }) </script>

Prasyarat

  • Nerd Font yang sudah terpasang dan berjalan di dalam terminalmu.

Instalasi Sederhana

  1. Instalasi dengan menggunakan binary starship:

    Pasang Versi Terbaru

    Dengan Shell:

    curl -sS https://starship.rs/install.sh | sh
    

    Untuk memperbarui Starship, jalankan ulang skrip di atas. Hal ini akan memperbarui versi yang terpasang tanpa mengubah konfigurasi Starship.

    Pasang Melalui Package Manager

    Dengan Homebrew:

    brew install starship
    

    With Winget:

    winget install starship
    
  2. Tambahkan skrip init ke dalam file konfigurasi Shell:

    Bash

    Tambahkan skrip berikut pada baris akhir ~/.bashrc::

    # ~/.bashrc
    
    eval "$(starship init bash)"
    

    Fish

    Tambahkan skrip berikut pada baris akhir ~/.config/fish/config.fish:

    # ~/.config/fish/config.fish
    
    starship init fish | source
    

    Zsh

    Tambahkan skrip berikut pada baris akhir ~/.zshrc:

    # ~/.zshrc
    
    eval "$(starship init zsh)"
    

    PowerShell

    Add the following to the end of Microsoft.PowerShell_profile.ps1. You can check the location of this file by querying the $PROFILE variable in PowerShell. Typically the path is ~\Documents\PowerShell\Microsoft.PowerShell_profile.ps1 or ~/.config/powershell/Microsoft.PowerShell_profile.ps1 on -Nix.

    Invoke-Expression (&starship init powershell)
    

    Ion

    Tambahkan skrip berikut pada baris akhir ~/.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.elv on Windows):

    # ~/.elvish/rc.elv
    
    eval (starship init elvish)
    

    For elvish versions prior to v0.21.0 the config file might instead be ~/.elvish/rc.elv

    Tcsh

    Tambahkan skrip berikut pada baris akhir ~/.tcshrc:

    # ~/.tcshrc
    
    eval `starship init tcsh`
    

    Nushell

    [!WARNING]> This will change in the future.

    Only Nushell v0.96+ is supported.

    Add the following to the end of your Nushell configuration (find it by running $nu.config-path in Nushell):

    mkdir ($nu.data-dir | path join "vendor/autoload")
    starship init nu | save -f ($nu.data-dir | path join "vendor/autoload/starship.nu")
    

    Xonsh

    Tambahkan skrip berikut pada baris akhir ~/.xonshrc:

    # ~/.xonshrc
    
    execx($(starship init xonsh))
    

    Cmd

    You need to use Clink (v1.2.30+) with Cmd. Add the following to a file starship.lua and place this file in Clink scripts directory:

    -- starship.lua
    
    load(io.popen('starship init cmd'):read("*a"))()