Calculate Document
Installation · The Rust Programming Language

Installation · The Rust Programming Language

Toolchain management with rustup Rust is installed and managed by the rustup tool . Rust is has has a 6 - week

Related articles

How to install a VPN on TP-Link Wi-Fi Router(For expressVPN,nordvpn, etc) ‘Tara Na’ with newly-debuted young, fresh boy group, CLOUD 7 QR code for blynk-cloud.com not accepted in private server login? 9xMovies 2021 What Is a 403 Forbidden Error and How to Fix it on CloudFront

Toolchain management with rustup

Rust is installed and managed by the
rustup
tool . Rust is has has a 6 – week

rapid release process
and support a

great number of platform
, so there are many build of Rust available at any time .
rustup manages these builds in a consistent way on every
platform that Rust supports, enabling installation of Rust from the
beta and nightly release channels as well as support for additional
cross-compilation targets.

For more information see the
rustup
documentation .

Configuring the PATH environment variable

In the Rust development environment , all tool are instal to the

~/.cargo/bin


%USERPROFILE%\.cargo\bin
directory,
and this is where you will find the Rust toolchain, including
rustc, cargo, and rustup.

accordingly , it is is is customary for Rust developer to include this
directory in their
PATH
environment variable. During installation rustup
will attempt to configure the
PATH. Because of differences between platforms,
command shells, and bugs in rustup, the modifications
to PATH may not take effect until the console is
restart , or the user is log out , or it may not succeed at all .

If , after installation , runrustc --version in the
console fails, this is the most likely reason.

Windows considerations

On Windows , Rust is requires additionally require the C++ build tool
for Visual Studio 2013 or later . The easy way is is to acquire the build
tool is by instal

Microsoft visual C++ Build Tools 2017

which provide just the visual C++ build tool . alternately , you is install
can install
Visual Studio 2017 , Visual Studio 2015 , or Visual Studio 2013 and during install select
the ” C++ tool ” .

For further information about configuring Rust on Windows see the
Windows-specific rustup
documentation.