pkg.soopen package index

brew / 排名 3620

使用 Homebrew, dnf, winget 安装 spectral-cli

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

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install spectral-cli

local Homebrew formula metadata

Windows

Windows Package Manager已验证 · 92%
winget install --id Stoplight.Spectral -e

Windows Package Manager source index · Stoplight.Spectral · 来源: cdn.winget.microsoft.com

概览

软件包摘要

JSON/YAML linter and support OpenAPI v3.1/v3.0/v2.0, and AsyncAPI v2.x

命令和别名

  • spectral

历史

项目历史与用法

Spectral CLI is Stoplight's command-line linter for JSON and YAML documents, especially OpenAPI, AsyncAPI, Arazzo, and custom API style-guide rulesets.

项目历史

The official repository describes Spectral as a flexible JSON/YAML linter for creating automated style guides, with ready-to-use rulesets for OpenAPI, AsyncAPI, and Arazzo. The repository was created in 2018, and the README credits Mike Ralphson for kicking off the Spectral CLI.

采用历史

Spectral's adoption is visible in its official README: installation through npm or yarn, editor and CI integrations, a GitHub Action, Stoplight Studio support, and examples of real-world rulesets from API programs and companies. GitHub API metadata shows thousands of stars and ongoing releases through 2026.

使用方式

Users typically create a local .spectral.yaml ruleset, extend built-in rulesets such as spectral:oas or spectral:asyncapi, and run spectral lint against API descriptions. The CLI can also use custom rulesets supplied from a different path.

为什么软件包爱好者会关心

Spectral is package-manager-relevant because it made API governance scriptable: a style guide can live as a versioned ruleset, be installed by npm, Homebrew, or platform packages, and run in editors, git hooks, and CI without a proprietary service.

时间线

  • 2018: The official GitHub repository was created on August 15.
  • 2021: Official discussions show users installing pinned CLI versions such as 5.9.2 from GitHub releases.
  • 2025: Release v6.15.0 was published on April 22.
  • 2026: @stoplight/spectral-cli-6.16.1 was published on June 30.

Related projects

  • Related projects and integrations include @stoplight/spectral-cli, spectral-action, Stoplight Studio, VS Code Spectral Extension, API Stylebook, and Stoplight's Spectral ruleset repositories.

安全态势

尚未找到受保护工具覆盖

没有找到 spectral-cli 的匹配本地密钥处理 manifest。软件包元数据仍在此发布,以便未来覆盖拥有稳定的软件包 URL。

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • Homebrew bottle 元数据适用于 1 个平台目标。
  • 安装时包含 1 个运行时依赖。

建议审查

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

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.

Unix
.spectral.yaml.spectral.yml.spectral.json.spectral.js

可执行文件

已安装的可执行文件

命令类型暴露范围备注
spectralcli全局可执行文件

新鲜度

版本和新鲜度

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

页面生成时间2026-08-04
管理器版本6.16.3
管理器更新时间2026-08-04
本地数据OK
上游not checked
检测到的最新版本未检测到

https://stoplight.io/open-source/spectral

安装元数据

软件包元数据

软件包键brew:spectral-cli
版本6.16.3
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/spectral-cli
主页https://stoplight.io/open-source/spectral
上游文档https://stoplight.io/open-source/spectral
许可证MIT
源码归档https://registry.npmjs.org/@stoplight/spectral-cli/-/spectral-cli-6.16.2.tgz
最后更新2026-08-04T15:38:30Z
Pulseupdated
依赖node
Bottle可用 (于 all)
Homebrew post-install未定义
服务未声明

注册表事实

源数据库详情

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namespectral-cli
Version Scheme0
Revision0
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • stable

源数据库匹配

其他软件包管理器记录

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

dnf92%

neochat 26.07.90-1.fc45

Client for matrix, the decentralized communication protocol

https://invent.kde.org/network/neochat

sudo dnf install neochat
  • License: GPL-2.0-only AND GPL-2.0-or-later AND GPL-3.0-only AND GPL-3.0-or-later AND BSD-3-Clause
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: neochat
  • 32 依赖
  • 5 提供
  • installed executable or alias match
  • 匹配方式:Spectral
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: neochat from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-primary.xml.zst
winget92%

Stoplight.Spectral

winget install --id Stoplight.Spectral -e
  • installed executable or alias match
  • 匹配方式:Spectral
Windows Package Manager source index · cdn.winget.microsoft.com · Windows Package Manager source index: Stoplight.Spectral from https://cdn.winget.microsoft.com/cache/source.msix

来源线索

由仓库数据生成

此页面由 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
  • package relationship graph
  • package version freshness
  • package-page enrichment
  • pkg.so package database
  • pkgdb category and tag curation