Phase 00: Setup & Tooling

Dev Environment

Your tools shape your thinking. Set them up once, set them up right. Set up Python 3.11+, Node.js 20+, and Rust toolchains from scratch. Configure virtual environments and package managers for reproducible builds. Verify GPU access with CUDA/MPS and run a test tensor operation. Understand the four-layer stack: system, packages, runtimes, AI libraries. You're about to learn AI engineering across 500+ lessons using Python, TypeScript, Rust, and Julia. If your environment is broken, every single lesson becomes a fight against tooling instead of learning. Most people skip environment setup. Then they spend hours debugging import errors, version conflicts, and missing CUDA drivers. We're going to do this once, properly. An AI engineering environment has four layers: We install bottom-up. Each layer depends on the one below it. Check your system and install the basics. We use uv — it's 10-100x faster than pip and handles virtual environments automatically. Verify: For TypeScript lessons (agents, MCP servers, web apps). The fnm installer checks for unzip first and exits with Not installing fnm due to missing dependencies. when it is absent: on Linux it unpacks a zip archive, on macOS it installs through Homebrew. macOS ships unzip; Ubuntu, Debian, and WSL2 get it from the Step 1 apt line (sudo apt install -y unzip if you skipped that step). macOS / Apple Silicon…

Dev Environment: Your tools shape your thinking. Set them up once, set them up right. Set up Python 3.11+, Node.js 20+, and Rust toolchains from scratch.…

This free lesson is part of the AI Engineering from Scratch curriculum. Read the full explanation, run the lesson code, and verify the result in the interactive reader or from the repository source.

Browse the complete course catalog or open this lesson on GitHub.