West: an extensible workspace manager
West is the swiss-army knife command line tool developed by the Zephyr project[1]. It manages a workspace of Git repositories from a single manifest file: its built-in commands provide a multiple repository management system with features inspired by Google’s Repo tool and Git submodules. West is also “pluggable”: you can write your own extension commands which add features to west.
Quick start
Install west, preferably in a virtual environment as described in Installing west, then create a workspace from a manifest repository and fetch the projects it lists. This example uses the Zephyr manifest:
pip install west
west init -m https://github.com/zephyrproject-rtos/zephyr zephyrproject
cd zephyrproject
west update
west init clones the manifest repository into the new zephyrproject
workspace, and west update clones the other repositories named in its
west.yml. See Basics for details.
Like git and docker, the top-level west command takes some common
options, a sub-command to run, and then options and arguments for that
sub-command:
west [common-opts] <command> [opts] <args>
If the west launcher is not on your PATH, or you want to pick the
interpreter explicitly, run it as python3 -m west instead. Run west
--help (or west -h) for top-level help on the available commands, and
west <command> -h for detailed help on each command.
Getting started
Using west
Extending west
Reference
Footnotes