pkg.soopen package index

brew / rank 3649

Install spectral-cli with Homebrew, dnf, winget

JSON/YAML linter and support OpenAPI v3.1/v3.0/v2.0, and AsyncAPI v2.x. Version 6.16.2 via Homebrew; verified 2026-07-21. Also installable with dnf: sudo dnf install neochat.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install spectral-cli

local Homebrew formula metadata

Windows

Windows Package Managerverified · 92%
winget install --id Stoplight.Spectral -e

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

overview

Package summary

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

Commands and aliases

  • spectral

history

Project history and usage

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

Project history

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.

Adoption history

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.

How it is used

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.

Why package nerds care

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.

Timeline

  • 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.

security posture

No protected-tool coverage found yet

No matching local secret-handling manifest was found for spectral-cli. Nucleus package metadata is still published here so future coverage has a stable package URL.

Install behavior

  • No Homebrew bottle metadata was recorded.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

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

executables

Installed executables

CommandKindExposureNote
spectralexecutableindexed executableDiscovered from the local executable index.

freshness

Version and freshness

These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.

page generated2026-08-03
manager version6.16.2
manager updated2026-07-21
local dataunknown
upstreamnot available
latest detectednot detected
  • okNo freshness warnings were generated.

install metadata

Package metadata

Package keybrew:spectral-cli
Version6.16.2
Package managerHomebrew
Homepagehttps://stoplight.io/open-source/spectral
Last updated2026-07-21T07:03:13Z
Pulseupdated
Bottlenot recorded
Servicenone declared

source database matches

Other package-manager records

Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.

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 dependencies
  • 5 provides
  • installed executable or alias match
  • Matched by: 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
  • Matched by: 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

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

  • 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