# spectral-cli mit Homebrew, dnf, winget installieren

Prüfe Installationswege, Executables, Metadaten und Sicherheitshinweise für spectral-cli in AI-Agent-Workflows.

## Installation

```sh
sudo av install brew:spectral-cli
```

Weitere Installationsbefehle:

### macOS

- Homebrew (100%):

```sh
brew install spectral-cli
```

  Evidenz: local Homebrew formula metadata

### Linux

- dnf (92%):

```sh
sudo dnf install neochat
```

  Evidenz: Fedora Rawhide package metadata: neochat from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst

### Windows

- winget (92%):

```sh
winget install --id Stoplight.Spectral -e
```

  Evidenz: Windows Package Manager source index: Stoplight.Spectral from https://cdn.winget.microsoft.com/cache/source.msix

## Paketfakten

- **Paketschlüssel:** brew:spectral-cli
- **Paketmanager:** Homebrew
- **Version:** 6.16.2
- **Quellzusammenfassung:** JSON/YAML linter and support OpenAPI v3.1/v3.0/v2.0, and AsyncAPI v2.x
- **Homepage:** <https://stoplight.io/open-source/spectral>
- **Zuletzt aktualisiert:** 2026-07-21T07:03:13Z
- **Generiert:** 2026-08-03T19:37:03+00:00

## Executables

- spectral (Alias)

## Installationsverhalten

- Bottle: nicht verfügbar

## Version und Aktualität

- Seite generiert: 2026-08-03
- Manager-Version: 6.16.2
## Projektgeschichte und Nutzung

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

### Projektgeschichte

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.

### Adoptionsgeschichte

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.

### Wie es verwendet wird

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.

### Warum Paket-Nerds sich dafür interessieren

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.

### Zeitleiste

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

### Quellen

- <https://api.github.com/repos/stoplightio/spectral>
- <https://api.github.com/repos/stoplightio/spectral/releases?per_page=10>
- <https://docs.stoplight.io/docs/spectral/ZG9jOjYx-overview>
- <https://github.com/stoplightio/spectral#readme>
- source_facts.package-manager


## Sicherheitshinweise

Für spectral-cli wurde kein passendes lokales Secret-Handling-Manifest gefunden. Nucleus-Paketmetadaten bleiben hier veröffentlicht, damit künftige Abdeckung eine stabile Paket-URL hat.



## 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

- Unix: .spectral.yaml, .spectral.yml, .spectral.json, .spectral.js
## Andere Paketmanager-Einträge

- dnf - neochat - 26.07.90-1.fc45: installed executable or alias match | Fedora Rawhide package metadata: neochat from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Client for matrix, the decentralized communication protocol | https://invent.kde.org/network/neochat
- winget - Stoplight.Spectral: installed executable or alias match | Windows Package Manager source index: Stoplight.Spectral from https://cdn.winget.microsoft.com/cache/source.msix


## Combined YAML source

View the package source record on GitHub. [combined/spectral-cli.yml](https://github.com/mxcl/pkgdb/blob/main/combined/spectral-cli.yml)


## Quellen

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