Recommended setup
- Ubuntu (Native)
- macOS (via VMware)
Running Ubuntu natively on an x86_64 machine is the recommended setup for 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: Set up ROS2 and Gazebo with Drift
Before creating your first simulation, make sure ROS2 and Gazebo are available:Step 4: 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 5: Launch the simulation
Once the build completes, launch everything:Step 6: Iterate and debug
This is where Drift shines. Keep building on what you have and each change triggers only the necessary rebuilds: For example:add a lidar sensor to my robot and rebuildwhy isn't my camera publishing images?show me the running processes
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