> 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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
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=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
