sbt / website

The source for scala-sbt.org
https://www.scala-sbt.org/
Apache License 2.0
77 stars 344 forks source link

Document installing sbt on windows using winget #1063

Open DanaKirsh opened 2 years ago

DanaKirsh commented 2 years ago

https://winget.run/pkg/sbt/sbt

winget install -e --id sbt.sbt

https://github.com/sbt/website/blob/4f80ff7394165d1d949d36d5beab15ea1b6f8fa6/src/reference/00-Getting-Started/01-Setup/b.md

eed3si9n commented 2 years ago

Since I don't use Windows much, I don't really have a horse in this race but looking at chocolately and scoop, they seem to be well maintained since both list the latest version (1.6.1) as the latest even though sbt project itself not involved in maintaining them:

winget on the other hand says sbt 1.3.8. I am not sure what that means but I am guessing that is considered the default? Even among the versions, 1.6.1 is not listed there. Given that not having the latest installed could cause unnecessary confusions, I would recommend against listing winget as one of the documented way of installing sbt.

DanaKirsh commented 2 years ago

I think the winget website is not up to date, when I search for sbt in terminal I get:

>winget search sbt
Name Id      Version Source
----------------------------
sbt  sbt.sbt 1.6.1   winget

Still, your reasoning makes sense, and we can wait until they update the package web page.