> For the complete documentation index, see [llms.txt](https://docs.eclipse.xyz/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.eclipse.xyz/developers/tutorials-and-guides/developer-guides/dapp-deployment-tutorial-eclipse-devnet/install-dependencies-windows/step-2-install-rust-and-cargo.md).

# Step 2: Install Rust and Cargo

Rust is a fast and memory-efficient programming language with no runtime or garbage collector, making it ideal for blockchain development. Cargo is Rust's package manager and build system, simplifying the process of managing dependencies and building packages.

1. **Download Rust and Cargo**:
   * Navigate to the [Rust installation page](https://www.rust-lang.org/tools/install) to access the Rustup installer, which will install Rust and Cargo.

<figure><img src="https://lh7-us.googleusercontent.com/3WZ-gfkYT9p3p3m8RpKneJ6Ju9BSr_wBO2bWLN28RomnmQxYeJ7nJ7-gY434nSsoGPIsTmZTKrJ3QB5hcTTJyskuPl1dzsukUzf9-JNjRjVJnBuhKqyMuLubxaGojaILSeDy0NLV76GoXNCR1qc9Sg4" alt=""><figcaption></figcaption></figure>

1. **Install Rust and Cargo**:
   * Follow the instructions on the website to download and run the Rustup installer. The installer will automatically download and install Rust, along with its package manager, Cargo.

<figure><img src="https://lh7-us.googleusercontent.com/s3AHAu3xIizSojX5WMd7lMNXWu4qQYlTo0ZjFL6Cr3eAslVigkmfA7ibZQ9Ra6g2kO98yZGdFhQZ6-Ywhmsz6ovo3VXdsHfM1AL5Z0Oa99eYUhMc7RksH1R13Azrt0TVgDvs3gOT5SxvDIKAIeu3ZuI" alt=""><figcaption><p>Example Output</p></figcaption></figure>

1. **Verify Installation**:
   * Open a new terminal window and run the following command to verify that Rust and Cargo are successfully installed:

```bash
rustc --version
cargo --version
```


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.eclipse.xyz/developers/tutorials-and-guides/developer-guides/dapp-deployment-tutorial-eclipse-devnet/install-dependencies-windows/step-2-install-rust-and-cargo.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
