Before you begin
Make sure you have:- ROS2 Humble or Jazzy installed — official install guide
- Gazebo Sim (Harmonic) installed — official install guide
- An x86_64 machine running Ubuntu 20.04+
The steps below take under 5 minutes once the prerequisites above are in place. Installing ROS2 and Gazebo from scratch takes significantly longer — complete those first before continuing.
Recommended setup
- Ubuntu (Native)
- macOS (via VMware)
Running Ubuntu natively on an x86_64 machine is the recommended setup — you’ll get the best performance for Gazebo rendering and ROS2.Supported versions:
- Ubuntu 20.04 (Focal)
- Ubuntu 22.04 (Jammy) — recommended
- Ubuntu 24.04 (Noble)
Step 1: Install Drift CLI
Run the install script in your terminal:Prefer a manual install?
Prefer a manual install?
Download the latest Then run
.deb package from the GitHub Releases page and install it with:drift to start.Step 2: Launch Drift
Navigate to the directory where you want your project and start Drift:Step 3: Build your first simulation
At thedrift> prompt, describe what you want to build in plain English:
If a build step fails, Drift automatically diagnoses and retries before surfacing the error to you.
Step 4: Launch the simulation
Once the build completes, launch everything:Step 5: Iterate and debug
This is where Drift shines. Keep building on what you have — each change triggers only the necessary rebuilds:Pro tips for better results
Be specific in your prompts
Be specific in your prompts
Vague prompts produce generic results. Instead of:Try:The more detail you give about the robot type, sensors, environment, and task — the better the output.
Let Drift explore before making changes
Let Drift explore before making changes
Before modifying a simulation, ask Drift to inspect what’s already there:This helps Drift make more targeted changes and avoids unnecessary rebuilds.
Debug by asking, not by guessing
Debug by asking, not by guessing
When something breaks, describe the symptom directly:Drift checks your ROS2 topics, logs, URDF config, and process state to give you a diagnosis.
Useful slash commands
| Command | What it does |
|---|---|
/help | Show all commands and examples |
/ps | Show running background processes |
/version | Check your Drift CLI version |
/update | Update to the latest version |
/clear | Clear the terminal |
/exit | Exit Drift CLI |
What’s next?
Your First Simulation
A detailed walkthrough of building a complete simulation from scratch
Commands Reference
Full list of Drift CLI commands and slash commands
Getting help
- In Drift: Type
/helpor askdrift> how do I... - FAQ: Check the FAQ for common questions
- Bugs: Open an issue on GitHub
