Downloads:

40,088

Downloads of v 1.11.0:

2,158

Last Update:

22 Nov 2022

Package Maintainer(s):

Software Author(s):

  • Starship Contributors

Tags:

powershell prompt starship pwsh

Starship

  • 1
  • 2
  • 3

1.11.0 | Updated: 22 Nov 2022

Downloads:

40,088

Downloads of v 1.11.0:

2,158

Maintainer(s):

Software Author(s):

  • Starship Contributors

  • 1
  • 2
  • 3
Starship 1.11.0

  • 1
  • 2
  • 3

This Package Contains an Exempted Check

Not All Tests Have Passed


Validation Testing Passed


Verification Testing Exemption:

Dependency requires reboot

Details

Scan Testing Successful:

No detections found in any package files

Details
Learn More

Deployment Method: Individual Install, Upgrade, & Uninstall

To install Starship, run the following command from the command line or from PowerShell:

>

To upgrade Starship, run the following command from the command line or from PowerShell:

>

To uninstall Starship, run the following command from the command line or from PowerShell:

>

Deployment Method:

📝 NOTE: This applies to both open source and commercial editions of Chocolatey.

1. Enter Your Internal Repository Url

(this should look similar to https://community.chocolatey.org/api/v2/)


2. Setup Your Environment

1. Ensure you are set for organizational deployment

Please see the organizational deployment guide

2. Get the package into your environment

  • Open Source or Commercial:
    • Proxy Repository - Create a proxy nuget repository on Nexus, Artifactory Pro, or a proxy Chocolatey repository on ProGet. Point your upstream to https://community.chocolatey.org/api/v2/. Packages cache on first access automatically. Make sure your choco clients are using your proxy repository as a source and NOT the default community repository. See source command for more information.
    • You can also just download the package and push it to a repository Download

3. Copy Your Script

choco upgrade starship -y --source="'INTERNAL REPO URL'" [other options]

See options you can pass to upgrade.

See best practices for scripting.

Add this to a PowerShell script or use a Batch script with tools and in places where you are calling directly to Chocolatey. If you are integrating, keep in mind enhanced exit codes.

If you do use a PowerShell script, use the following to ensure bad exit codes are shown as failures:


choco upgrade starship -y --source="'INTERNAL REPO URL'" 
$exitCode = $LASTEXITCODE

Write-Verbose "Exit code was $exitCode"
$validExitCodes = @(0, 1605, 1614, 1641, 3010)
if ($validExitCodes -contains $exitCode) {
  Exit 0
}

Exit $exitCode

- name: Install starship
  win_chocolatey:
    name: starship
    version: '1.11.0'
    source: INTERNAL REPO URL
    state: present

See docs at https://docs.ansible.com/ansible/latest/modules/win_chocolatey_module.html.


chocolatey_package 'starship' do
  action    :install
  source   'INTERNAL REPO URL'
  version  '1.11.0'
end

See docs at https://docs.chef.io/resource_chocolatey_package.html.


cChocoPackageInstaller starship
{
    Name     = "starship"
    Version  = "1.11.0"
    Source   = "INTERNAL REPO URL"
}

Requires cChoco DSC Resource. See docs at https://github.com/chocolatey/cChoco.


package { 'starship':
  ensure   => '1.11.0',
  provider => 'chocolatey',
  source   => 'INTERNAL REPO URL',
}

Requires Puppet Chocolatey Provider module. See docs at https://forge.puppet.com/puppetlabs/chocolatey.


4. If applicable - Chocolatey configuration/installation

See infrastructure management matrix for Chocolatey configuration elements and examples.

Private CDN cached downloads available for licensed customers. Never experience 404 breakages again! Learn more...

This package was approved as a trusted package on 25 Nov 2022.

Description

Starship is the minimal, blazing fast, and extremely customizable prompt for any shell!
Shows the information you need, while staying sleek and minimal.


tools\chocolateyInstall.ps1
$ErrorActionPreference = 'Stop'

$packageName = 'starship'

$url_x86_64_zip = 'https://github.com/starship/starship/releases/download/v1.11.0/starship-x86_64-pc-windows-msvc.zip'
$url_i686_zip = 'https://github.com/starship/starship/releases/download/v1.11.0/starship-i686-pc-windows-msvc.zip'
$checksum_x86_64_zip = 'B8D58CA4119DC37F3647C3018E59D1B1BBBD06CFA782EBFA9E4BE3E678AF0C15'
$checksum_i686_zip = '70F1492D669FD315F06D2D5941D80791C027141E69A364E3E1D20A4C180556A6'

$checksumType = 'sha256'
$toolsDir = "$(Split-Path -parent $MyInvocation.MyCommand.Definition)"

Install-ChocolateyZipPackage -PackageName "$packageName" `
    -Url "$url_i686_zip" `
    -Url64 "$url_x86_64_zip" `
    -UnzipLocation "$toolsDir" `
    -Checksum "$checksum_i686_zip" `
    -Checksum64 "$checksum_x86_64_zip" `
    -ChecksumType "$checksumType"

# Add to Profile
Write-Host "Add the following to the end of ~\Documents\PowerShell\Microsoft.PowerShell_profile.ps1 'Invoke-Expression (&starship init powershell)'"

Log in or click on link to see number of positives.

In cases where actual malware is found, the packages are subject to removal. Software sometimes has false positives. Moderators do not necessarily validate the safety of the underlying software, only that a package retrieves software from the official distribution point and/or validate embedded software against official distribution point (where distribution rights allow redistribution).

Chocolatey Pro provides runtime protection from possible malware.

Add to Builder Version Downloads Last Updated Status
Starship 1.9.1 8447 Thursday, June 30, 2022 Approved
Starship 1.8.0 1245 Sunday, June 19, 2022 Approved
Starship 1.6.3 3818 Wednesday, April 27, 2022 Approved
Starship 1.4.2 3389 Friday, March 11, 2022 Approved
Starship 1.4.1 187 Thursday, March 10, 2022 Approved
Starship 1.2.1 3398 Monday, January 17, 2022 Approved
Starship 1.1.1 1983 Thursday, December 23, 2021 Approved
Starship 1.0.0 1173 Tuesday, November 23, 2021 Approved
Starship 0.58.0 1886 Saturday, September 25, 2021 Approved
Starship 0.57.0 1074 Thursday, August 26, 2021 Approved
Starship 0.56.0 1215 Saturday, July 17, 2021 Approved
Starship 0.55.0 667 Friday, July 2, 2021 Approved
Starship 0.54.0 1337 Sunday, May 16, 2021 Approved
Starship 0.53.0 684 Saturday, May 1, 2021 Approved
Starship 0.52.1 492 Thursday, April 22, 2021 Approved
Starship 0.51.0 929 Tuesday, March 23, 2021 Approved
Starship 0.50.0 632 Sunday, February 28, 2021 Approved
Starship 0.49.0 664 Saturday, January 30, 2021 Approved
Starship 0.47.0 704 Tuesday, November 17, 2020 Approved
Starship 0.46.2 720 Wednesday, October 14, 2020 Approved
Starship 0.46.0 257 Friday, October 9, 2020 Approved
Starship 0.45.2 277 Thursday, October 1, 2020 Approved
Starship 0.45.0 153 Tuesday, September 29, 2020 Approved
Starship 0.44.0 763 Monday, July 6, 2020 Approved
Starship 0.43.0 242 Friday, June 26, 2020 Approved
Starship 0.42.0 193 Monday, June 22, 2020 Approved
Starship 0.41.3 358 Sunday, May 17, 2020 Approved
Starship 0.40.1 307 Saturday, April 11, 2020 Approved
Starship 0.39.0 110 Friday, April 10, 2020 Approved
Starship 0.37.0 235 Tuesday, March 10, 2020 Approved
Starship 0.36.1 138 Saturday, February 22, 2020 Approved
Starship 0.33.0 253 Tuesday, January 7, 2020 Approved

Changelog

1.11.0 (2022-10-14)

Features

Bug Fixes

  • buf: fix spacing & harmonize docs with actual configuration (#4450) (3d45236)
  • directory: don't strip duplicate directory names twice (#4295) (801fbab)
  • pwsh: avoid potential deadlock in init (#4335) (fd55397)

Performance Improvements

  • directory: Skip repo resolution if unused by directory config (#4401) (227ec32)

1.10.3 (2022-09-07)

Performance Improvements

  • git_commit: only use exact match for tag by default (#4281) (5984f08)

1.10.2 (2022-08-18)

Bug Fixes

1.10.1 (2022-08-15)

Bug Fixes

  • Disable multithreading in jwalk (via gitoxide) as workaround for #4251 (#4258) (37b54f7)

1.10.0 (2022-08-14)

Features

  • add bun module (#4187) (85692d1)
  • Add starship preset command (#4112) (c8a5adb)
  • Add support for blink, hidden, and strikethrough styles. (#4138) (aaab920)
  • Add the ability to have some file extensions prevent a module from triggering (#4043) (dd73447)
  • Enable transience for Cmd and PowerShell (#4143) (6e9c013)
  • git: replace git2 with git-repository (#3883) (ac55a01)
  • k8s: Add folder detection to the k8s module. (#4157) (5c5969c)
  • package: support cargo workspace versions (#4161) (0a1235e)
  • status: Add pipestatus_segment_format option to status module (#4103) (6143848)

Bug Fixes

  • aws: support official AWS_SHARED_CREDENTIALS_FILE variable (#4242) (1390036)
  • timings: count time spent on custom on 'when' command failure (#4121) (aae1ed0)

Performance Improvements

  • pulumi: allow disabling upwards discovery (#4159) (af15de9)
  • rust: avoid calling rustup in more conditions (#4174) (d8ac940)

Miscellaneous Chores

1.9.1 (2022-06-27)

Bug Fixes

Miscellaneous Chores

1.9.0 (2022-06-26)

Features

Bug Fixes

  • character: Standadise Vim config names (#4081) (6761938)
  • install: Have fixed a spacing issue in output (#4082) (2ffe173)

1.8.0 (2022-06-16)

Features

Bug Fixes

  • escape text segments in meta variables (#3563) (7d31bac)
  • fish: add proper vi mode detection for fish shell (#3839) (1469763)
  • install: ignore tarfile ownership values when installing as root (#4046) (1a91510)
  • nu: don't use cygpath for starship binary path in init (#4001) (9b52475)
  • some typos (e7c1976)

1.7.1 (2022-05-24)

Bug Fixes

1.7.0 (2022-05-24)

Features

  • go: check for go.work file to show Go module in prompt (#3968) (9ebfce1)
  • hostname: add ssh_symbol for ssh connections (#3806) (2bf30dc)
  • package: Extract package version from PEP 621 compliant pyproject.toml (#3950) (1b938fd)
  • rust: Display toolchain names (#3414) (393d62c)

Bug Fixes

  • ci: Version bump and fix Crowdin Pretranslate (#3992) (a0a6c94)
  • Do not panic in config if editor not found (#3766) (2e80aec)
  • module: list option not working (#3919) (6fe6735)
  • nu: use the most recent starship init (#3908) (382445d)
  • Use git2Repositoryopen_ext() instead of discover() (#3591) (81a696a)

1.6.3 (2022-04-26)

Bug Fixes

  • git_branch: correct variable name for remote branch (#3897) (bd7957f)
  • schema: move config-schema into docs folder (#3878) (094f982)

Performance Improvements

  • package: only try to read files that exist (#3904) (2a650bf)

Reverts

  • schema: move config-schema back into .github folder (#3886) (9b2ce42)

1.6.2 (2022-04-15)

Bug Fixes

  • trigger another release (81d2ce6)

1.6.1 (2022-04-15)

Bug Fixes

  • fix release-please permissions (23be606)

1.6.0 (2022-04-14)

Features

Bug Fixes

  • bash: ensure checkwinsize is enabled for $COLUMNS (#3832) (0334327)
  • directory: enable repo_root_style when truncation_length is zero. (#3536) (441ebb3)
  • docker_context: ignore the "default" context (#3803) (#3804) (230e85b)
  • fish: allow generating session keys in older versions of fish (#3697) (0fb4219)
  • init: Change Elvish init to catch for 0.18 (#3769) (538329d)
  • nu: Use = instead of space to pass command line parameters (#3833) (2608db3)
  • nu: use shell-provided terminal width (#3800) (859b780)

This package has no dependencies.

Discussion for the Starship Package

Ground Rules:

  • This discussion is only about Starship and the Starship package. If you have feedback for Chocolatey, please contact the Google Group.
  • This discussion will carry over multiple versions. If you have a comment about a particular version, please note that in your comments.
  • The maintainers of this Chocolatey Package will be notified about new comments that are posted to this Disqus thread, however, it is NOT a guarantee that you will get a response. If you do not hear back from the maintainers after posting a message below, please follow up by using the link on the left side of this page or follow this link to contact maintainers. If you still hear nothing back, please follow the package triage process.
  • Tell us what you love about the package or Starship, or tell us what needs improvement.
  • Share your experiences with the package, or extra configuration or gotchas that you've found.
  • If you use a url, the comment will be flagged for moderation until you've been whitelisted. Disqus moderated comments are approved on a weekly schedule if not sooner. It could take between 1-5 days for your comment to show up.
comments powered by Disqus