macOS
brew install westlocal Homebrew formula metadata
安装
brew install westlocal Homebrew formula metadata
概览
Zephyr meta-tool
历史
west is Zephyr's meta-tool: a Python CLI for managing Zephyr workspaces, multiple Git repositories, manifests, and common build, flash, debug, and extension workflows. The Zephyr documentation calls it a swiss-army-knife command line tool developed in its own repository.
west was added because Zephyr needed two things at once: a standardized way to work with multiple Git repositories and an extensible command-line interface for basic Zephyr workflows. Zephyr's own history-and-motivation page explains that existing tools such as Git submodules and Google's Repo were examined but did not satisfy the project's requirements, including downstream overrides, Windows support, and commit-based or continuous project updating.
The GitHub repository was created in May 2018, and Zephyr 1.14-era release material introduced west for multiple-repository management plus improved flashing and debugging. That timing matches Zephyr's transition from a single RTOS repository mindset toward a modular embedded ecosystem with external modules, HALs, tools, samples, and downstream distributions.
west evolved through a pre-1.0 period where the tool's packaging and manifest APIs were still settling. Its v0.6 line removed the old split bootstrapper model and made core commands part of the PyPI-distributed package. West v1.0.0, published in February 2023, declared the APIs stable and dropped the compatibility modules needed by the old Zephyr 1.14 LTS line.
west adoption is tied directly to Zephyr adoption: most Zephyr users encounter it during workspace setup. The standard flow is `west init` to create a workspace and clone the manifest repository, followed by `west update` to fetch the projects named in the manifest. Vendors and downstreams also use west manifests to pin Zephyr and module revisions for reproducible embedded products.
Because Zephyr is not just a kernel tree but a collection of code, modules, vendor HALs, and tools, west became the package-nerd-visible front door for many embedded developers. It is also extensible, so Zephyr can expose workflow commands such as build, flash, debug, and signing through the same top-level CLI.
west workspaces contain a `.west` directory, a manifest repository, and multiple project repositories defined in a YAML manifest, usually `west.yml`. The command's core model is deterministic: the manifest repository's commits name exact or trackable revisions in project repositories, and `west update` makes the workspace match that manifest.
Typical users run `west init -m` with a Zephyr or downstream manifest, `west update` to clone modules, and Zephyr extension commands such as `west build`, `west flash`, or `west debug` during firmware work. Advanced users use `west manifest`, `west list`, `west forall`, `west compare`, and newer commands such as `west grep` to inspect or operate across a multi-repository workspace.
west is significant because it packages Zephyr's multi-repository source distribution into a single command-line mental model. For embedded developers, installing `west` is often the step that turns a pile of Git repositories into a coherent Zephyr SDK-style workspace.
安全态势
narrow executable package without higher-risk signals.
绿色 风险 · 低 置信度 · appliance
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
local files
These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.
Config paths the tool may read or write during local use.
/etc/westconfig~/.westconfig$XDG_CONFIG_HOME/west/config<workspace-topdir>/.west/config/usr/local/etc/westconfig~/.westconfig<workspace-topdir>/.west/config%PROGRAMDATA%\west\config%USERPROFILE%\.westconfig<workspace-topdir>\.west\config可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
west | 可执行文件 | 已索引可执行文件 | 从本地可执行文件索引发现。 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
安装元数据
| 软件包键 | brew:west |
|---|---|
| 版本 | 1.5.0 |
| 软件包管理器 | Homebrew |
| 主页 | https://github.com/zephyrproject-rtos/west |
| 仓库 | https://github.com/zephyrproject-rtos/west |
| Bottle | 未记录 |
| 服务 | 未声明 |
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
west 1.3.0-3
Zephyr RTOS Project meta-tool
https://github.com/zephyrproject-rtos/west
sudo apt install west来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.