Skip to main content
Unlisted page
This page is unlisted. Search engines will not index it, and only users having a direct link can access it.

Quick Start

Archived Documentation

The actix actor crate is soft deprecated. We recommend ractor for new projects. This book is kept for existing users. Actix Web does not depend on the actor crate and is not deprecated.

Before you can start writing an actix application, you’ll need a version of Rust installed. We recommend you use rustup to install or configure such a version.

Install Rust​

Before we begin, we need to install Rust using the rustup installer:

curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh

If you already have rustup installed, run this command to ensure you have the latest version of Rust:

rustup update

The actix framework requires Rust version 1.40.0 and up.

Running Examples​

The fastest way to start experimenting with actix is to clone the actix repository and run the included examples in the examples/ directory. The following set of commands runs the ping example:

git clone https://github.com/actix/actix
cd actix
cargo run --example ping

Check examples/ directory for more examples.