DEV Community

Rishit Khandelwal
Rishit Khandelwal

Posted on

1

Setting up rust

Rust

A short description of rust from wikipedia:
image

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 https://sh.rustup.rs | 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

Sentry image

See why 4M developers consider Sentry, “not bad.”

Fixing code doesn’t have to be the worst part of your day. Learn how Sentry can help.

Learn more

Top comments (0)

A Workflow Copilot. Tailored to You.

Pieces.app image

Our desktop app, with its intelligent copilot, streamlines coding by generating snippets, extracting code from screenshots, and accelerating problem-solving.

Read the docs

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay