pkg.soopen package index

brew / 排名 4484

使用 Homebrew, apt 安装 west

查看 west 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install west

local Homebrew formula metadata

Linux

Debian apt已验证 · 92%
sudo apt install west

Debian stable package indexes · west · 来源: deb.debian.org

概览

软件包摘要

Zephyr meta-tool

命令和别名

  • west

历史

项目历史与用法

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.

时间线

  • May 2018: zephyrproject-rtos/west repository is created.
  • Zephyr 1.14 era: west is introduced for multiple repository management and enhanced flashing/debugging workflows.
  • v0.6.x: west moves away from a split bootstrapper model and is distributed as one PyPI package.
  • February 20, 2023: west v1.0.0 is published with stable APIs and no Zephyr 1.14 LTS compatibility modules.
  • 2023-2025: later releases add workspace comparison, grep, aliases, manifest filtering, packaging updates, and auto-caching support.

安全态势

风险级别:绿色

narrow executable package without higher-risk signals.

风险分类器

绿色 风险 · 低 置信度 · appliance

原因

  • narrow executable package without higher-risk signals

信号

  • metadata:no-higher-risk-signals

安装行为

  • 未记录 Homebrew bottle 元数据。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

local files

Configuration and credential file locations

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.

Configuration files

Config paths the tool may read or write during local use.

Linux
/etc/westconfig~/.westconfig$XDG_CONFIG_HOME/west/config<workspace-topdir>/.west/config
macOS
/usr/local/etc/westconfig~/.westconfig<workspace-topdir>/.west/config
Windows
%PROGRAMDATA%\west\config%USERPROFILE%\.westconfig<workspace-topdir>\.west\config

可执行文件

已安装的可执行文件

命令类型暴露范围备注
west可执行文件已索引可执行文件从本地可执行文件索引发现。

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-08-03
管理器版本1.5.0
管理器更新时间
本地数据未知
上游不可用
检测到的最新版本未检测到
  • OK没有生成新鲜度警告。

安装元数据

软件包元数据

软件包键brew:west
版本1.5.0
软件包管理器Homebrew
主页https://github.com/zephyrproject-rtos/west
仓库https://github.com/zephyrproject-rtos/west
Bottle未记录
服务未声明

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。

Debian apt95%

west 1.3.0-3

Zephyr RTOS Project meta-tool

https://github.com/zephyrproject-rtos/west

sudo apt install west
  • Section: devel
  • Architecture: all
  • 6 依赖
  • normalized package name match
  • 匹配方式:West
Debian stable package indexes · deb.debian.org · Debian stable package indexes: west from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

  • Geiger risk classifier
  • cross-ecosystem install command graph
  • curated configuration and credential file locations
  • curated package history
  • external package-manager database matches
  • pkg.so package database
  • pkgdb category and tag curation