Install with winget
Open PowerShell or Command Prompt and run:
winget install Stoplight.Spectral
Copied to clipboard!
1Open PowerShell or Command Prompt
2Paste and run the command above
3Follow any on-screen prompts to complete installation
About Spectral
A flexible JSON/YAML linter for creating automated style guides, with baked in support for OpenAPI v3.1, v3.0, and v2.0 as well as AsyncAPI v2.x.
Advanced Install Options
Install (latest)
winget install Stoplight.SpectralInstall (pinned version)
winget install --id Stoplight.Spectral -e --version 6.15.0Upgrade
winget upgrade Stoplight.SpectralUninstall
winget uninstall Stoplight.SpectralFrequently Asked Questions
How do I install Spectral using winget?
Open PowerShell or Windows Terminal and run:
winget install Stoplight.Spectral. Winget comes pre-installed on Windows 10 (1809+) and Windows 11.What is Spectral?
A flexible JSON/YAML linter for creating automated style guides, with baked in support for OpenAPI v3.1, v3.0, and v2.0 as well as AsyncAPI v2.x.
Is Spectral free to use?
Spectral is distributed under the Apache-2.0 license. Check the publisher’s site for full licensing details.
How do I update Spectral with winget?
Run
winget upgrade Stoplight.Spectral in PowerShell or Windows Terminal to upgrade to the latest available version.How do I uninstall Spectral?
Run
winget uninstall Stoplight.Spectral to remove Spectral from your system.