☰ Menu
CLI Open source 14 installs/mo

west for Mac

west

.. image:: :target:

west — overview

.. image:: https://img.shields.io/pypi/pyversions/west?logo=python :target: https://pypi.org/project/west/

.. image:: https://api.securityscorecards.dev/projects/github.com/zephyrproject-rtos/west/badge :target: https://scorecard.dev/viewer/?uri=github.com/zephyrproject-rtos/west

.. image:: https://codecov.io/gh/zephyrproject-rtos/west/graph/badge.svg :target: https://codecov.io/gh/zephyrproject-rtos/west

This is the Zephyr RTOS meta tool, `west.

https://docs.zephyrproject.org/latest/develop/west/index.html

Installation

Using pip::

pip3 install west

(Use pip3 uninstall west to uninstall it.)

Basic Usage

West lets you manage multiple Git repositories under a single directory using a single file, called the west manifest file, or manifest for short. By default the manifest file is named west.yml. You use west init to set up this directory, then west update to fetch and/or update the repositories named in the manifest.

West used to default to upstream Zephyr's manifest file _. You are still able and will always be able to use this manifest but you are now required to pass it explicitly and, you are more encouraged than before to design your own manifest(s) instead and minimized security SBOMs based on your specific needs.

For more details, see the West (Zephyr's meta-tool) _ in the Zephyr documentation.

Example usage using the upstream manifest file::

mkdir zephyrproject && cd zephyrproject west init -m https://github.com/zephyrproject-rtos/zephyr/ west update

What just happened: west init -m ... clones the upstream west manifest repository, which in this case is the zephyr repository. The manifest repository contains west.yml, a YAML description of the Zephyr installation, including Git repositories and other metadata. west update clones the other repositories named in the manifest file, creating working trees in the installation directory zephyrproject.

Use west init -m to specify another manifest repository. Use --mr to use a revision to initialize from; if not given, the remote's default branch is used. Use --mf to use a manifest file other than west.yml.

Additional Commands

West has multiple sub-commands. After running west init, you can run them from anywhere under zephyrproject.

For a list of available commands, run west -h. Get help on a command with west -h.

West is extensible: you can add new commands to west without modifying its source code. See Extensions _ in the documentation for details.

Hacking on West

This section contains notes for getting started developing west itself.

pip offers many different ways to (download and) install Python software. Below are common ways relevant to west; for a complete list check _

Quick Install ~~~~~~~~~~~~~

If you are not interested in source code and git history, GitHub offers pip the ability to download and install a .zip archive of any random version with a single command. This allows testing work in progress very quickly. Examples::

pip3 uninstall west

Details

Zephyr 元工具

How to install west

  1. Open Terminal (press ⌘ + Space and type “Terminal”).
  2. If Homebrew is not installed yet, run the command below first.
  3. Run this command:

Latest 10 releases

Last updated 2025-09-23; current version v1.5.0, with the latest 10 releases listed.

VersionReleasedTypeSizemacOSWindowsLinux
v1.5.02025-09-23Stable————
v1.4.02025-05-22Stable————
v1.3.02024-10-28Stable————
v1.2.02023-10-07Stable————
v1.5.0a12025-09-16Pre-release————
v1.4.0a12025-05-12Pre-release————
v1.3.0a42024-10-22Pre-release————
v1.3.0a32024-10-11Pre-release————
v1.3.0a22024-10-04Pre-release————
v1.3.0a12024-10-04Pre-release————

Data from GitHub Releases; stable releases first, each group sorted newest first.

Prebuilt bottle platforms

Official Homebrew bottles cover:

  • Apple silicon · latest macOS
  • Apple silicon · macOS 26 Tahoe
  • Apple silicon · macOS 15 Sequoia
  • Linux · ARM64
  • Linux · x86_64

⚠️ No prebuilt bottle for Intel Macs; Intel users need brew install --build-from-source to build from source.

Compared with similar apps

Only public metadata is compared, with no subjective recommendation; see the compare pages for field-by-field comparisons.

Compared with similar apps
AppVersionLicenseArchitecture30-day installs
westv1.5.0Apache-2.0CLI14
voltv0.3.7MITCLI5
libextractor1.19GPL-3.0-or-laterCLI4
vulkan-volk1.4.350MITCLI45

Similar apps: Command-line Tools

Leave a comment

评论表单加载中…