# Install the Aerospike client

::: tip
**Now available in preview:** the [Aerospike Rust client version 2.0](https://github.com/aerospike/aerospike-client-rust/tree/v2).
:::

## Versions

-   The latest stable release of the Rust client is [version 1.3.0](https://github.com/aerospike/aerospike-client-rust/blob/master/CHANGELOG.md).
    
-   An alpha release of [version 2.0](https://github.com/aerospike/aerospike-client-rust/tree/v2) is available in preview.
    
-   With version 2.2.0, the Rust client will become an officially supported Aerospike client library.
    

## Prerequisites

-   Rust 1.34 and above.

## Build from Source Code

The client library can be built from source code using Cargo. The source code is available from [GitHub](http://github.com/aerospike/aerospike-client-rust). To clone the source code repository and build the library, run the following commands:

Terminal window

```bash
git clone git@github.com:aerospike/aerospike-client-rust.git

cd aerospike-client-rust

cargo build
```

## Reference Client Library

When building an application using Aerospike, the Rust client library needs to be added as a dependency in your `Cargo.toml` file:

```plaintext
[dependencies]

aerospike = "0.4.0"
```