Free

Rust playground

A Linux machine with the Rust toolchain: cargo, rustfmt and clippy.

1 machine
  • 60-minute sessions
  • Start again any time
  • Wiped when you finish

What you get

  • The Rust toolchain with cargo
  • rustfmt and clippy
  • VS Code in your browser with rust-analyzer
  • Root access on the machine

Things to try

  • cargo new hello && cd hello

    Create a new crate

  • cargo run

    Build and run the program

  • cargo clippy

    Lint the code with clippy

  • cargo fmt

    Format the code

  • cargo test

    Run the tests

  • cargo build --release

    Build a release binary

About this playground

The Rust playground gives you a Linux machine with the Rust toolchain (cargo, rustfmt and clippy), and VS Code in your browser with rust-analyzer. Create a crate, run clippy, write tests and build a release. You have root access, and the machine is deleted when the session ends.

Frequently asked questions

Is there an online Rust playground with a real terminal?

Yes. With a free account you open a machine with the Rust toolchain and VS Code in your browser, so you work on a whole crate, not one file. Sessions last 60 minutes.

Are clippy and rustfmt included?

Yes, along with rust-analyzer in VS Code for completion and errors as you type.

Do I need rustup on my computer?

No. The toolchain runs on the machine you open; all you need is a browser.

Is my code saved?

No. The machine is deleted when the session ends. Push your work to a Git repository before the time runs out.