West is the swiss-army knife command line tool developed by the Zephyr
Project. It manages a workspace of Git repositories from a single file, the
west manifest: west init creates the workspace and west update clones
and updates the repositories the manifest names. West is also extensible: you
can add your own commands to it without modifying its source code.
West is distributed through PyPI. Install it with pip, preferably in a
virtual environment:
pip install west
See Installing west for the details and for other ways to install it.
Create a workspace from a manifest repository and fetch the repositories it lists. This example uses the Zephyr manifest:
west init -m https://github.com/zephyrproject-rtos/zephyr zephyrproject cd zephyrproject west update
west init -mclones the manifest repository, here the Zephyr repository, into the newzephyrprojectworkspace. The manifest repository containswest.yml, the manifest file listing the other repositories. Use--mrto select a revision of the manifest repository and--mfto use a manifest file other thanwest.yml.west updateclones the repositories named in the manifest file into the workspace, and updates them when it is run again.
After west init, you can run west commands from anywhere in the workspace.
For a list of the available commands, run west -h; for help on a command,
run west <command> -h. See Extensions for adding your own commands.
📦 Releases🤝 Contributing: guidelines, installing west from source, running its tests and building its documentation
💬 Discord Server for real-time community discussions, in the#westchannel
⚠️ Report security vulnerabilities at [email protected]
评论