Skip to content

Install Spectral version 5.9.2 #1834

Answered by P0lip
tainarareis asked this question in Q&A
Discussion options

You must be logged in to vote

Hey!

I need to install a specific version of Spectral: version 5.9.2. And I need to do it using curl. Do you have any suggestions of how can I do it?

You can try the links provided here.
For instance, if you're interested in the Linux binary, you can execute the following command:

curl -L --output "spectral" https://github.com/stoplightio/spectral/releases/download/v5.9.2/spectral-linux.

If macOS or Windows is the OS of your choice, simply replace -linux with -macos or -cli.exe respectively.

At the future, if I want to avoid that the users of my solution to install the latest version instead of the version I created my custom ruleset, how can I fix the version?

I'm afraid I'm not sure…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by tainarareis
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants