# Installing Visual Studio & Rust

## Visual Studio Install

### Installing Microsoft Visual Studio

You will need Visual Studio in order to install Ord client. You can also use it to install Rust.

Go to Visual Studios website and install. You can select the Free Community version:  <https://visualstudio.microsoft.com/downloads/>

Be sure to select the "Desktop Development with C++" click Install.

<figure><img src="https://276521378-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcQxHgc3ZgaH1kNeX8bk4%2Fuploads%2F3exe3DVTUlcIew17fsml%2Fimage.png?alt=media&#x26;token=8c6ec752-1c12-4844-880d-e1dc96a6c2d9" alt=""><figcaption></figcaption></figure>

Once installed, in your Search bar at the bottom of the screen, type Developer. Click "Developer PowerShell for VS"

<figure><img src="https://276521378-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcQxHgc3ZgaH1kNeX8bk4%2Fuploads%2FzuxSkbiiaX77gSS7gZxf%2Fimage.png?alt=media&#x26;token=63e4190a-db9f-40a9-9241-e7dfcac77187" alt=""><figcaption></figcaption></figure>

## Rust Install

### Checking if already installed

First, let's check to see if you already have Rust installed on your PC.

In PowerShell, run the following command:

```
rustc --version
```

If it is installed, it will tell you the version. Go ahead and continue to "[Installing Ord Client](https://guide.ordinalshelp.com/bitcoin-core-ord-client-setup-on-windows/installing-and-indexing-ord-client)" section of this tutorial:

<figure><img src="https://276521378-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcQxHgc3ZgaH1kNeX8bk4%2Fuploads%2Fzzaf5Pc5oCsf7Z8V6sbJ%2Fimage.png?alt=media&#x26;token=3631e70c-1c7e-45d3-a80b-983249b23a3b" alt=""><figcaption></figcaption></figure>

### If Not Installed

Here is an example screenshot if it is not installed:

<figure><img src="https://276521378-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcQxHgc3ZgaH1kNeX8bk4%2Fuploads%2FTO2pLk5wFwR8RrFxi5QC%2Fimage.png?alt=media&#x26;token=a9b49d1b-aec0-4fe7-89eb-59e5fa4b47f3" alt=""><figcaption></figcaption></figure>

Go ahead and figure out if your Computer is a 32 or 64-bit system. Run the following command in PowerShell:

```
systeminfo | find "System Type"
```

<figure><img src="https://276521378-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcQxHgc3ZgaH1kNeX8bk4%2Fuploads%2FgfvuKpKGJQmP5FNJDnaV%2Fimage.png?alt=media&#x26;token=ac2e19aa-31d2-4e15-be2b-bd36ca6a82ef" alt=""><figcaption></figcaption></figure>

Go to the official Rust website <https://www.rust-lang.org/tools/install> and download Rust. Select the correct system (32 or 64 bit) based on the result above:

<figure><img src="https://276521378-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcQxHgc3ZgaH1kNeX8bk4%2Fuploads%2FHQwTJ1vfVk0QiyvZT53v%2Fimage.png?alt=media&#x26;token=f9094501-ed70-4a68-9201-3b03f5955d45" alt=""><figcaption></figcaption></figure>

The file will be most likely in your Downloads folder. File name is "rustup-init". No need to click on it.

<figure><img src="https://276521378-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcQxHgc3ZgaH1kNeX8bk4%2Fuploads%2FVlGNbgKge9Jtg4UhM7PM%2Fimage.png?alt=media&#x26;token=844d883e-30cf-4482-9553-0856c8777694" alt=""><figcaption></figcaption></figure>

In Developer PowerShell, navigate to your Downloads folder (or whatever folder the "rustup-init" was saved to).&#x20;

A simple `cd`*`filepath`* will navigate you there.

<figure><img src="https://276521378-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcQxHgc3ZgaH1kNeX8bk4%2Fuploads%2FLrpx3Ru0LhZgK7XBYDbC%2Fimage.png?alt=media&#x26;token=476645d2-7b77-4b3e-94f5-6a6b97c80d34" alt=""><figcaption></figcaption></figure>

Run the following command to install Rust:

```
.\rustup-init.exe -y
```

Close out of the current Developer PowerShell window and open a new one. Run the version command to see if it is successfully installed:

```
rustc --version
```

<figure><img src="https://276521378-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcQxHgc3ZgaH1kNeX8bk4%2Fuploads%2FarQv7TAQCKkXH90mvF36%2Fimage.png?alt=media&#x26;token=e5da25fe-6898-4323-ad9a-5205461f4a59" alt=""><figcaption></figcaption></figure>
