Downloads of v 1.18.3:


Last Update:

10 Jul 2019

Package Maintainer(s):

Software Author(s):

  • Mozilla


rustup rust

rustup (Install)

This is not the latest version of rustup (Install) available.

  • 1
  • 2
  • 3

1.18.3 | Updated: 10 Jul 2019



Downloads of v 1.18.3:



Software Author(s):

  • Mozilla


rustup rust

  • 1
  • 2
  • 3
rustup (Install) 1.18.3

This is not the latest version of rustup (Install) available.

  • 1
  • 2
  • 3

Some Checks Have Failed or Are Not Yet Complete

Not All Tests Have Passed

Validation Testing Passed

Verification Testing Passed


Scan Testing Resulted in Flagged:

This package was submitted (and approved) prior to automated virus scanning integration into the package moderation processs.

We recommend clicking the "Details" link to make your own decision on installing this package.


To install rustup (Install), run the following command from the command line or from PowerShell:


To upgrade rustup (Install), run the following command from the command line or from PowerShell:


To uninstall rustup (Install), run the following command from the command line or from PowerShell:


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

1. Ensure you are set for organizational deployment

Please see the organizational deployment guide

  • 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 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. Enter your internal repository url

(this should look similar to

4. Choose your deployment method:

choco upgrade rustup.install -y --source="'STEP 3 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 rustup.install -y --source="'STEP 3 URL'"

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

Exit $exitCode

- name: Ensure rustup.install installed
    name: rustup.install
    state: present
    version: 1.18.3
    source: STEP 3 URL

See docs at

chocolatey_package 'rustup.install' do
  action    :install
  version  '1.18.3'
  source   'STEP 3 URL'

See docs at

    Name: rustup.install,
    Version: 1.18.3,
    Source: STEP 3 URL

Requires Otter Chocolatey Extension. See docs at

cChocoPackageInstaller rustup.install
   Name     = 'rustup.install'
   Ensure   = 'Present'
   Version  = '1.18.3'
   Source   = 'STEP 3 URL'

Requires cChoco DSC Resource. See docs at

package { 'rustup.install':
  provider => 'chocolatey',
  ensure   => '1.18.3',
  source   => 'STEP 3 URL',

Requires Puppet Chocolatey Provider module. See docs at

salt '*' chocolatey.install rustup.install version="1.18.3" source="STEP 3 URL"

See docs at

5. 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 is likely a meta/virtual (*) or an installer (*.install) or portable (*.portable) application package.

  • Meta/virtual (*) - has a dependency on the *.install or the *.portable package - it is provided for discoverability and for other packages to take a dependency on.
  • Portable (*.portable/*.commandline (deprecated naming convention)/*.tool (deprecated naming convention)) - usually zips or archives that require no administrative access to install.
  • Install (*.install/*.app (deprecated naming convention)) - uses native installers, usually requires administrative access to install.

Learn more about chocolatey's distinction of installed versus portable apps and/or learn about this kind of package.

This package was approved by moderator Pauby on 18 Jul 2019.


This package installs rustup the toolchain installer for The Rust Programming Language from the official release channels, enabling you to easily switch between stable, beta, and nightly compilers and keep them updated.

If you're a Windows Subsystem for Linux user do not install this package but run the following in your terminal, then follow the onscreen instructions to install Rust.

curl --proto '=https' --tlsv1.2 -sSf | sh

$ErrorActionPreference = 'Stop'; 

$toolsDir = "$(Split-Path -parent $MyInvocation.MyCommand.Definition)"
$url = '' 
$url64 = ''

$packageArgs = @{
    packageName    = $env:ChocolateyPackageName
    unzipLocation  = $toolsDir
    fileType       = 'exe' 
    url            = $url
    url64bit       = $url64

    softwareName   = 'rustup*' 

    checksum       = '9B15C26905D4505AB77E000750AA3AEDEB909507485C5E5901B6AD7DE9D42E2D'
    checksumType   = 'sha256' 
    checksum64     = '9DA383C67914EEF4B8F880CB8E6D75F623F1261A08ED791A0404C3EBCA8C3A5A'
    checksumType64 = 'sha256' 

    silentArgs     = '--version' # tell rustup-init.exe to just show the version instead of installing a rust toolchain. if you want the default toolchain for your os/arch use '-v -y' instead.

Install-ChocolateyPackage @packageArgs 

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.

Version Downloads Last Updated Status
rustup (Install) 1.21.1 525 Monday, June 22, 2020 Approved
rustup (Install) 1.19.0 2903 Friday, September 27, 2019 Approved
rustup (Install) 1.18.3 911 Wednesday, July 10, 2019 Approved

This package has no dependencies.

Discussion for the rustup (Install) Package

Ground Rules:

  • This discussion is only about rustup (Install) and the rustup (Install) 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 rustup (Install), 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