DEV Community

Rishit Khandelwal
Rishit Khandelwal

Posted on

Setting up rust


A short description of rust from wikipedia:

Rust can be used for a variety of applications like networking, game dev, or anything else, on the web (using webassembly), embedded systems, etc.

Setting it up (Unix-like OSes)

Installing rust is very easy. It uses toolchain management tool called rustup.

Just run this command to install rust:

curl --proto '=https' --tlsv1.2 -sSf | sh
Enter fullscreen mode Exit fullscreen mode

After following the setups it provides, it most likely added rust in your PATH environment variable. Refresh the current terminal environment, and run rustc --version, if it fails, then try adding ~/.cargo/bin to your path manually.

Keeping Rust updated

Just run rustup update once in a while to be up to date.

More information to get started with rust

Getting started with rust

Top comments (0)