Automic VaultAutomic Vault

brew

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.1 via Homebrew; verified 2026-07-01.

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 post-install hook is recorded in formula metadata.
  • Homebrew bottle metadata is available for 1 platform targets.
  • Installs with 1 runtime dependencies.

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
spectralcliglobal executable

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-07-08
manager version6.16.1
manager updated2026-07-01
local dataok
upstreamnot checked
latest detectednot detected

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

install metadata

Package metadata

Package keybrew:spectral-cli
Version6.16.1
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/spectral-cli
Homepagehttps://stoplight.io/open-source/spectral
Repositoryhttps://github.com/stoplightio/spectral
Upstream docshttps://docs.stoplight.io/docs/spectral/ZG9jOjYx-overview
LicenseMIT
Source archivehttps://registry.npmjs.org/@stoplight/spectral-cli/-/spectral-cli-6.16.1.tgz
Last updated2026-07-01T15:08:43Z
Pulseupdated
Dependenciesnode
Bottleavailable (on all)
Homebrew post-installnot defined
Servicenone declared

registry facts

Source database details

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

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.04.2-2.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/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-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
  • Nucleus package database
  • av.db category and tag curation
  • 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