Depot tools
lastmod 2026-11-10created 2017-02-047 edits
depot_tools is a collection of scripts used to fetch and build source code for the Chromium project. It includes gclient, which syncs multiple git repositories as a single tree, the source checkout command fetch, git cl for uploading code reviews, and the GN and ninja binaries. It is shared by projects in the same ecosystem, such as WebRTC, V8, and Skia, not just Chromium, so you must add it to your PATH before building any of them.
How to install
$ git clone https://chromium.googlesource.com/chromium/tools/depot_tools.git
$ export PATH=$PATH:/path/to/depot_tools
Troubleshooting
Python3 support
See also
Favorite site
- Install depot_tools
- depot_tools_tutorial(7) Manual Page
- Using depot_tools
- Checking out and building Chromium on Linux
Pages that link here