[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"academy-blog-translations-none":3,"academy-blogs-en-1-1-all-install-rustup-vscode-rustrover-setup-all--*":4},{},{"data":5,"meta":78},[6],{"categoryId":7,"collectionId":8,"collectionName":9,"content":10,"createBy":11,"createDate":12,"created":13,"description":14,"expand":15,"group":67,"id":68,"image":69,"imageAlt":70,"imagePath":71,"keywordIds":72,"langId":63,"publishDate":73,"scheduleDate":22,"slug":74,"status":28,"title":75,"updateBy":11,"updated":76,"views":77},"mfqe235iv6x1or8","sclblg987654321","school_blog","\u003Cp>Welcome back to \u003Cstrong>Rust The Series\u003C\u002Fstrong> by \u003Cstrong>Superdev Academy\u003C\u002Fstrong>!\u003C\u002Fp>\u003Cp>In EP.1, we explored why Rust has been voted the \"most loved language\" by programmers worldwide for several consecutive years. In this article, it’s time to get our hands dirty!\u003C\u002Fp>\u003Cp>Just like a warrior needs a reliable weapon, a programmer needs the right environment. Today, we will set up our machines for Rust development—covering everything from proper installation to choosing the right Editor (IDE) to ensure your coding experience is as smooth as possible.\u003C\u002Fp>\u003Ch2>1. Installing Our Hero: Rustup\u003C\u002Fh2>\u003Cp>To install Rust, we don't just download a basic installer. Instead, we use a tool called \u003Cstrong>Rustup\u003C\u002Fstrong>, the official toolchain installer for Rust. The beauty of Rustup is that it installs everything you need in one go: \u003Cstrong>rustc\u003C\u002Fstrong> (the compiler), \u003Cstrong>cargo\u003C\u002Fstrong> (the incredible package manager), and other essential utilities.\u003C\u002Fp>\u003Ch3>💻 For macOS and Linux Users\u003C\u002Fh3>\u003Cp>If you are on macOS (especially Apple Silicon like the M-series, which compiles code incredibly fast!) or Linux, open your Terminal and paste the following command:\u003C\u002Fp>\u003Cp>Bash\u003C\u002Fp>\u003Cpre>\u003Ccode>curl --proto '=https' --tlsv1.2 -sSf https:\u002F\u002Fsh.rustup.rs | sh\n\u003C\u002Fcode>\u003C\u002Fpre>\u003Cp>Once you hit Enter, a menu will appear. Type \u003Cstrong>1\u003C\u002Fstrong> (Proceed with installation (default)) and wait for the process to complete.\u003C\u002Fp>\u003Ch3>🪟 For Windows Users\u003C\u002Fh3>\u003Cp>Go to \u003Ca target=\"_blank\" rel=\"noopener noreferrer nofollow\" href=\"http:\u002F\u002Frustup.rs\">rustup.rs\u003C\u002Fa> and download the \u003Ccode>rustup-init.exe\u003C\u002Fcode> file, then follow the standard installation steps.\u003C\u002Fp>\u003Cblockquote>\u003Cp>⚠️ \u003Cstrong>Note for Windows Users:\u003C\u002Fstrong> Rust requires \u003Cstrong>C++ Build Tools\u003C\u002Fstrong>. If your machine doesn't have them yet, the installer will notify you. You'll need to download the \u003Cstrong>Visual Studio Installer\u003C\u002Fstrong> and select the workload named \u003Cstrong>\"Desktop development with C++\"\u003C\u002Fstrong> before proceeding.\u003C\u002Fp>\u003C\u002Fblockquote>\u003Ch3>✅ Verification\u003C\u002Fh3>\u003Cp>After installation, close your current Terminal and open a new one. Type the following commands to check if your tools are ready:\u003C\u002Fp>\u003Cp>Bash\u003C\u002Fp>\u003Cpre>\u003Ccode>rustc --version\ncargo --version\n\u003C\u002Fcode>\u003C\u002Fpre>\u003Cp>If you see the Rust version (e.g., \u003Ccode>rustc 1.xx.x\u003C\u002Fcode>), your machine is ready for action!\u003C\u002Fp>\u003Cp>\u003Cem>(💡 \u003C\u002Fem>\u003Cstrong>\u003Cem>Tip:\u003C\u002Fem>\u003C\u002Fstrong>\u003Cem> To update Rust to the latest version in the future, simply run \u003Ccode>rustup update\u003C\u002Fcode>.)\u003C\u002Fem>\u003C\u002Fp>\u003Ch2>2. Choosing Your Sword: VS Code or RustRover?\u003C\u002Fh2>\u003Cp>Writing Rust becomes ten times more enjoyable with an IDE (Integrated Development Environment) that provides code completion, suggestions, and error checking in real-time. Currently, there are two major contenders favored by the Rust community:\u003C\u002Fp>\u003Ch3>Option 1: Visual Studio Code (VS Code) + rust-analyzer\u003C\u002Fh3>\u003Cp>This is the most popular \u003Cstrong>free\u003C\u002Fstrong> choice. VS Code is lightweight and highly customizable. However, since it doesn't support Rust natively, you’ll need these essential extensions:\u003C\u002Fp>\u003Cul>\u003Cli>\u003Cp>\u003Cstrong>rust-analyzer (Crucial 🌟):\u003C\u002Fstrong> The brain of your Rust setup. It provides auto-complete, quick fixes, and real-time error highlighting. \u003Cem>(Note: Avoid the old \"Rust\" extension as it is no longer maintained).\u003C\u002Fem>\u003C\u002Fp>\u003C\u002Fli>\u003Cli>\u003Cp>\u003Cstrong>CodeLLDB:\u003C\u002Fstrong> Essential for debugging, allowing you to run code line-by-line and inspect memory variables.\u003C\u002Fp>\u003C\u002Fli>\u003Cli>\u003Cp>\u003Cstrong>Even Better TOML:\u003C\u002Fstrong> Rust configuration files (\u003Ccode>Cargo.toml\u003C\u002Fcode>) use the TOML format. This extension adds syntax highlighting and makes them easier to read.\u003C\u002Fp>\u003C\u002Fli>\u003Cli>\u003Cp>\u003Cstrong>crates:\u003C\u002Fstrong> A handy helper that tells you if your libraries (Crates) are up to date.\u003C\u002Fp>\u003C\u002Fli>\u003Cli>\u003Cp>\u003Cstrong>Error Lens (Recommended):\u003C\u002Fstrong> This brings Rust’s detailed error messages right next to the problematic line of code, helping you debug much faster.\u003C\u002Fp>\u003C\u002Fli>\u003C\u002Ful>\u003Ch3>Option 2: RustRover by JetBrains\u003C\u002Fh3>\u003Cp>If you prefer an \u003Cstrong>\"Out-of-the-box\"\u003C\u002Fstrong> experience without fiddling with extensions, \u003Cstrong>RustRover\u003C\u002Fstrong> is the way to go. Created by JetBrains (the makers of IntelliJ and WebStorm), it is designed specifically for Rust.\u003C\u002Fp>\u003Cp>It features highly intelligent code analysis and built-in support for Cargo and debugging. Best of all, JetBrains currently offers a \u003Cstrong>free version for non-commercial use\u003C\u002Fstrong>, making it a fantastic choice for beginners who want to save time on setup.\u003C\u002Fp>\u003Ch2>3. Testing Your Blade: The Series' First Project\u003C\u002Fh2>\u003Cp>To ensure everything is working perfectly, let's create our first project. Open your Terminal and type:\u003C\u002Fp>\u003Cp>Bash\u003C\u002Fp>\u003Cpre>\u003Ccode>cargo new hello_superdev\ncd hello_superdev\n\u003C\u002Fcode>\u003C\u002Fpre>\u003Cp>The \u003Ccode>cargo new\u003C\u002Fcode> command creates a new project folder with boilerplate files. If you open \u003Ccode>src\u002F\u003C\u002Fcode>\u003Ca target=\"_blank\" rel=\"noopener noreferrer nofollow\" href=\"http:\u002F\u002Fmain.rs\">\u003Ccode>main.rs\u003C\u002Fcode>\u003C\u002Fa>, you will see the following Rust code:\u003C\u002Fp>\u003Cp>Rust\u003C\u002Fp>\u003Cpre>\u003Ccode>fn main() {\n    println!(\"Hello, world!\");\n}\n\u003C\u002Fcode>\u003C\u002Fpre>\u003Cul>\u003Cli>\u003Cp>\u003Cstrong>\u003Ccode>fn main()\u003C\u002Fcode>\u003C\u002Fstrong> is the entry point for every Rust program.\u003C\u002Fp>\u003C\u002Fli>\u003Cli>\u003Cp>\u003Cstrong>\u003Ccode>println!\u003C\u002Fcode>\u003C\u002Fstrong> prints text to the screen. (Note the \u003Ccode>!\u003C\u002Fcode> at the end—in Rust, this is a \u003Cstrong>Macro\u003C\u002Fstrong>, not a standard function. We’ll dive deeper into this in later chapters.)\u003C\u002Fp>\u003C\u002Fli>\u003C\u002Ful>\u003Cp>Now, run your program with:\u003C\u002Fp>\u003Cp>Bash\u003C\u002Fp>\u003Cpre>\u003Ccode>cargo run\n\u003C\u002Fcode>\u003C\u002Fpre>\u003Cp>If your screen displays \u003Ccode>Hello, world!\u003C\u002Fcode> Congratulations! You have officially become a \u003Cstrong>Rustacean\u003C\u002Fstrong> (the name for Rust developers).\u003C\u002Fp>\u003Cp>\u003C\u002Fp>\u003Cdiv data-type=\"horizontalRule\">\u003Chr>\u003C\u002Fdiv>\u003Ch2>Conclusion\u003C\u002Fh2>\u003Cp>Today, we’ve equipped ourselves with the essential tools: Rustup and a powerful IDE. Seeing \"Hello, world!\" on your screen is a massive first step for any new Rustacean!\u003C\u002Fp>\u003Cp>In \u003Cstrong>EP.3: Hello World &amp; Cargo\u003C\u002Fstrong>, we will dissect the project structure we just created and explore the powerful features of Cargo in more depth.\u003C\u002Fp>\u003Cp>Get your computers and IDEs ready—I’ll see you in the next article! You’re going to love what Cargo can do.\u003C\u002Fp>\u003Cp>🎯 \u003Cstrong>Follow Superdev Academy for more high-quality Dev content:\u003C\u002Fstrong>\u003C\u002Fp>\u003Cul>\u003Cli>\u003Cp>🔵 \u003Cstrong>Facebook:\u003C\u002Fstrong> \u003Ca target=\"_blank\" rel=\"noopener\" class=\"ng-star-inserted\" href=\"https:\u002F\u002Fwww.facebook.com\u002Fsuperdev.academy.th\">Superdev Academy Thailand\u003C\u002Fa>\u003C\u002Fp>\u003C\u002Fli>\u003Cli>\u003Cp>🎬 \u003Cstrong>YouTube:\u003C\u002Fstrong> \u003Ca target=\"_blank\" rel=\"noopener\" class=\"ng-star-inserted\" href=\"https:\u002F\u002Fwww.youtube.com\u002F@SuperdevAcademy\">Superdev Academy Channel\u003C\u002Fa>\u003C\u002Fp>\u003C\u002Fli>\u003Cli>\u003Cp>📸 \u003Cstrong>Instagram:\u003C\u002Fstrong> \u003Ca target=\"_blank\" rel=\"noopener\" class=\"ng-star-inserted\" href=\"https:\u002F\u002Fwww.instagram.com\u002Fsuperdevacademy\u002F\">@superdevacademy\u003C\u002Fa>\u003C\u002Fp>\u003C\u002Fli>\u003Cli>\u003Cp>🎬 \u003Cstrong>TikTok:\u003C\u002Fstrong> \u003Ca target=\"_blank\" rel=\"noopener\" class=\"ng-star-inserted\" href=\"https:\u002F\u002Fwww.tiktok.com\u002F@superdevacademy?lang=th-TH\">@superdevacademy\u003C\u002Fa>\u003C\u002Fp>\u003C\u002Fli>\u003Cli>\u003Cp>🌐 \u003Cstrong>Website:\u003C\u002Fstrong> \u003Ca target=\"_blank\" rel=\"noopener noreferrer nofollow\" href=\"http:\u002F\u002Fsuperdevacademy.com\">superdevacademy.com\u003C\u002Fa>\u003C\u002Fp>\u003C\u002Fli>\u003C\u002Ful>\u003Cp>\u003C\u002Fp>","oplnwslvnmx5axc","2026-03-23 00:00:00.000Z","2026-03-23 03:27:16.550Z","Start your Rust programming journey! A complete beginner's guide to installing Rustup and configuring VS Code or RustRover for the best development experience.",{"categoryId":16,"keywordIds":30,"langId":58},{"blogIds":17,"collectionId":18,"collectionName":19,"createBy":11,"created":20,"id":7,"image":21,"imageAlt":22,"imagePath":23,"label":24,"name":25,"priority":26,"publishDate":27,"scheduleDate":22,"status":28,"updateBy":11,"updated":29},[],"sclcatblg987654321","school_category_blog","2026-03-16 04:40:07.104Z","47vt5s1gglj_tz0b90vnge.png","","https:\u002F\u002Ftwsme-r2.tumwebsme.com\u002Fsclcatblg987654321\u002Fmfqe235iv6x1or8\u002F47vt5s1gglj_tz0b90vnge.png",{"en":25,"th":25},"Rust The Series",2,"2026-03-16 04:40:09.199Z","Publish","2026-03-17 06:07:58.599Z",[31,37,41,45,49,53],{"collectionId":32,"collectionName":33,"createBy":22,"created":34,"id":35,"publishDate":22,"scheduleDate":22,"status":28,"title":36,"updateBy":22,"updated":34},"sclkey987654321","school_keyword","2026-03-23 03:26:35.686Z","lxf3i0dmdedlx7f","Install Rust",{"collectionId":32,"collectionName":33,"createBy":22,"created":38,"id":39,"publishDate":22,"scheduleDate":22,"status":28,"title":40,"updateBy":22,"updated":38},"2026-03-23 03:26:43.307Z","pf009wnev852vvt","Rust tutorial",{"collectionId":32,"collectionName":33,"createBy":22,"created":42,"id":43,"publishDate":22,"scheduleDate":22,"status":28,"title":44,"updateBy":22,"updated":42},"2026-03-23 03:26:51.317Z","vnqjzw7zge6vw5a","Rustup guide",{"collectionId":32,"collectionName":33,"createBy":22,"created":46,"id":47,"publishDate":22,"scheduleDate":22,"status":28,"title":48,"updateBy":22,"updated":46},"2026-03-23 03:26:58.067Z","v8uuhglvmd7n0py","VS Code Rust setup",{"collectionId":32,"collectionName":33,"createBy":22,"created":50,"id":51,"publishDate":22,"scheduleDate":22,"status":28,"title":52,"updateBy":22,"updated":50},"2026-03-23 03:08:56.729Z","ttp78s7jayewgl4","Rust",{"collectionId":32,"collectionName":33,"createBy":22,"created":54,"id":55,"publishDate":56,"scheduleDate":22,"status":28,"title":57,"updateBy":22,"updated":54},"2026-03-04 08:44:11.146Z","gms2qr4xg6qv65e","2026-03-02 04:30:22.021Z","Superdev Academy",{"code":59,"collectionId":60,"collectionName":61,"createAt":62,"id":63,"is_default":64,"language":65,"updateAt":66},"en","pbc_1989393366","locale","2026-01-22 11:00:02.726Z","qv9c1llfov2d88z",false,"English","2026-02-05 10:48:59.032Z","attm8n0i9a27iqi","zhz9rrnn0mjmtav","4xvjqch85u2_c3doph7yjr.png","Cover image for Rust programming tutorial on installing Rustup and setting up VS Code and RustRover by Superdev Academy","https:\u002F\u002Ftwsme-r2.tumwebsme.com\u002Fsclblg987654321\u002Fzhz9rrnn0mjmtav\u002F4xvjqch85u2_c3doph7yjr.png",[35,39,43,47,51,55],"2026-03-23 03:31:52.156Z","install-rustup-vscode-rustrover-setup","How to Install Rustup & Setup IDE (VS Code & RustRover) | Rust The Series EP.2","2026-03-23 03:31:52.327Z",7,{"pagination":79},{"page":80,"pageSize":80,"pageCount":80,"total":80},1]