Part 1: Getting Started

Welcome to Rust! This part will help you set up your development environment and write your first Rust program.

What You’ll Learn

  • What Rust is and why it’s worth learning
  • How to install Rust on your system
  • Setting up VS Code or your preferred editor
  • Creating and running your first Rust program
  • Basic Cargo commands for project management

Chapters

  1. Introduction to Rust - What is Rust and why learn it?
  2. Installation - Install Rust on Linux, macOS, or Windows
  3. IDE Setup - Configure VS Code with rust-analyzer
  4. Alternative Editors - IntelliJ, Neovim, Emacs, and more
  5. Docker Setup - Containerized development environment
  6. Hello World - Your first Rust program
  7. Cargo Basics - Project management with Cargo

Prerequisites

  • A computer running Linux, macOS, or Windows
  • Basic command line knowledge
  • About 1-2 hours to complete this section

Quick Path

If you’re in a hurry:

  1. Install Rust
  2. Write Hello World

Then come back for the rest when you have time!


New to programming? Start with the Introduction to understand what makes Rust special.


Table of contents


Back to top

Rust Programming Guide is not affiliated with the Rust Foundation. Content is provided for educational purposes.

This site uses Just the Docs, a documentation theme for Jekyll.