* fix: replace sh with shell fix replace terminal with shell fix replace node with js fix replace output with shell fix replace cs with csharp fix replace c++ with cpp fix replace c# with csharp fix replace javasctipt with js fix replace syntax with js fix replace unix with shell fix replace linux with shell fix replace java 8 with java fix replace swift4 with swift fix replace react.js with jsx fix replace javascriot with js fix replace javacsript with js fix replace c++ - with cpp fix: corrected various typos fix: replace Algorithm with nothing fix: replace xaml with xml fix: replace solidity with nothing fix: replace c++ with cpp fix: replace txt with shell fix: replace code with json and css fix: replace console with shell
		
			
				
	
	
		
			44 lines
		
	
	
		
			1.1 KiB
		
	
	
	
		
			Markdown
		
	
	
	
	
	
			
		
		
	
	
			44 lines
		
	
	
		
			1.1 KiB
		
	
	
	
		
			Markdown
		
	
	
	
	
	
---
 | 
						|
title: Installing Rust
 | 
						|
---
 | 
						|
 | 
						|
# Installing Rust
 | 
						|
 | 
						|
Using `rustup` is preferred for Rust installation. `rustup` installs and manages Rust for your system.
 | 
						|
 | 
						|
## Installing Rust in Windows
 | 
						|
 | 
						|
Visit the [rustup website](https://rustup.rs) and download the `rustup-init.exe`. Install it and then you should be ready to go!
 | 
						|
 | 
						|
## Installing Rust in other operating systems (Mac OS X, Linux, BSD, Unix)
 | 
						|
 | 
						|
Open up your terminal and type in this command:
 | 
						|
 | 
						|
```shell
 | 
						|
curl https://sh.rustup.rs -sSf | sh
 | 
						|
```
 | 
						|
 | 
						|
This will fetch the `rustup` installer and in turn fetch everything you need.
 | 
						|
 | 
						|
### Mac OS X (Homebrew)
 | 
						|
 | 
						|
Mac OS X users can also use [Homebrew](https://brew.sh/) to install rust:
 | 
						|
```shell
 | 
						|
brew install rust
 | 
						|
```
 | 
						|
 | 
						|
# Verifying installation
 | 
						|
 | 
						|
Installing `rustup` will install all things relevant to rust, but most relevantly this means installing the compiler and the package manager. To verify that everything is installed, run this command:
 | 
						|
 | 
						|
```shell
 | 
						|
cargo version
 | 
						|
```
 | 
						|
 | 
						|
You will now be able to use Rust!
 | 
						|
 | 
						|
# More information
 | 
						|
 | 
						|
To learn more about the install process, visit
 | 
						|
https://www.rust-lang.org/en-US/install.html
 |