-
Notifications
You must be signed in to change notification settings - Fork 320
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add SDKMAN for installation on download page. #957
Conversation
I'm somewhat skeptical about merging this, because I think that on a page like the download page, we're usually looking to follow the community and not to lead it — we're presenting options that are already popular, not letting people know about options that might be popular if they were better known. Perhaps SDKMAN is better known than I realize. But I haven't personally heard of it, and I monitor all the usual Scala channels (chat rooms, forums, Reddit, Twitter, etc) pretty closely and I haven't seen others recommending it as a way to obtain Scala. That's normally how I would expect something to get on my radar. (And, offering more choices might seem like an unalloyed good — choice is good, right? — but in practice, the more choices you offer the more confusing it is for users.) Anyone else have an opinion on this...? |
SDKMan is pretty well known and perhaps may not have made itself known to some in the Scala community. Though it is already well received, my bet, with the new Oracle Java Licensing model, SDKMan will soon be as well known as |
Does SDKMan make it easier to install a JDK for users without JVM experience? I think that can be a valuable addition to our installation experience (say, for users coming from Python/Ruby). I do have one hesitation -- once we add SDKMan, how many more alternatives should we expect to receive PRs for? (Especially since there's a commercial offering.) I'm okay merging this, but I'll let @sjrd decide. |
One alternative could be to add this to a new section in https://github.com/scala/scala-lang/blob/master/download/install.md |
I also share this concern. Is SDKMAN somehow the such manager? Additionally, the proposed link is not really at the same "level of abstraction" as the others. All the other links point to a Scala-specific location, which directly explains how to get Scala running (or runs Scala in the browser right away). The link to SDKMAN is its homepage, which only mentions Scala in passing, among a long list of all-things-Java. If I go there, honestly I have no idea what the next steps are to get Scala. I had to explore the site to finally get to https://sdkman.io/sdks#scala, which does suggest that, if I manage to install SDKMAN, then after that I can do Is there a Scala-specific landing page that explains how to get from zero to installing Scala using SDKMAN, which we could more easily link to than the generic home page? |
@adriaanm yes, sdkman makes it very easy to install both the JDK, Scala and even SBT. It would be something like:
It manages all the Lastly, most of the sdkman backend is written in Scala :-) |
@sjrd That is a very good point, users could get lost if they simply get taken to our home page. The Kotlin community have done the following on their site, giving a short recipe of how to install with sdkman, brew and a few others. Alternatively, we do have this section on our website that gives a deep link to Scala and how to install. |
Perhaps an alternative formulation for that line would be: <li>Using <a href="https://sdkman.io/">SDKMAN!</a>, you can easily <a href="https://sdkman.io/sdks#scala">install Scala</a> with <code>sdk install scala</code>.</li> which makes it clearer that SDKMAN per se is not Scala-specific, gives a link the Scala-specific section of the website and provides the user who already knows SDKMAN with the actual one-liner install incantation. |
@sjrd I made the change as suggested. |
Well, I would prefer that if we have this, we also had more such links to various package managers (e.g. Homebrew, which is where I currently get my JDK+Scala+sbt), rather than SDKMAN only. But perhaps we should go ahead and merge this and invite the community to follow up with more PRs in this area. "how many more alternatives should we expect to receive PRs for?" asks Adriaan — if it eventually becomes unwieldy, we can deal with it then (perhaps with more compact formatting). |
|
@SethTisue thanks for merging this! |
SDKMAN provides an easy way to install JVM related SDKs. We have supported Scala for a long time, and even allow installation of historic versions as early as 2.11.0.
It would be great to have SDKMAN mentioned as an installation option on the Scala download page.