Skip to content
Search

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

Warning: gclient doesn't yet support Python 3 and may not work correctly.

See also

Favorite site

author Zer0, MCPBot sitemap