pkg.soopen package index

brew / 排名 3649

使用 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。Nucleus 软件包元数据仍在此发布,以便未来覆盖拥有稳定的软件包 URL。

安装行为

  • 未记录 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.

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

可执行文件

已安装的可执行文件

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

新鲜度

版本和新鲜度

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

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

安装元数据

软件包元数据

软件包键brew:spectral-cli
版本6.16.2
软件包管理器Homebrew
主页https://stoplight.io/open-source/spectral
最后更新2026-07-21T07:03:13Z
Pulseupdated
Bottle未记录
服务未声明

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 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/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-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
  • pkg.so package database
  • pkgdb category and tag curation