This article introduces how to set up the Autoware development environment.
Introduction
Autoware is the world’s leading open-source project for autonomous driving.
This article was written on July 19, 2025, based on Autoware version 0.45.1.
Environment
My system environment.
Intel(R) Core(TM) i9-14900K
NVIDIA GeForce RTX 2080 Ti
Ubuntu 22.04.5 LTS
Please install Docker Engine and NVIDIA Container Toolkit yourself. You can refer to the official Docker documentation and others.
Download Source Code
Clone the Autoware repository and switch to the specified version.
1 2 3
git clone https://github.com/autowarefoundation/autoware.git cd autoware git checkout 0.45.1
Install required dependencies.
1
./setup-dev-env.sh -y docker
To use -y, you can run sudo ls or a similar command to enter your password once. Alternatively, you can remove the -y option and manually confirm and enter your password when prompted. Otherwise, the script may fail due to needing sudo privileges.
After completion, you should see the following output.
To exit the development container, it is recommended to use the CTRL-p CTRL-q key combination to avoid losing changes. You can reconnect to the container using docker attach CONTAINER or docker exec -it CONTAINER bash. For more information, refer to docker container attach.
If you encounter GPG Key errors during apt update, you can try the following commands.
1 2 3 4 5
W: GPG error: http://packages.ros.org/ros2/ubuntu jammy InRelease: The following signatures were invalid: EXPKEYSIG F42ED6FBAB17C654 Open Robotics <info@osrfoundation.org> E: The repository 'http://packages.ros.org/ros2/ubuntu jammy InRelease' is not signed. N: Updating from such a repository can't be done securely, and is therefore disabled by default. N: See apt-secure(8) manpage for repository creation and user configuration details. W: http://ppa.launchpad.net/kisak/kisak-mesa/ubuntu/dists/jammy/InRelease: Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION section in apt-key(8) for details.