Skip to content

Instantly share code, notes, and snippets.

@witt3rd
Last active April 18, 2021 14:08
Show Gist options
  • Select an option

  • Save witt3rd/e0aa245bcce6c2f0e4a16d4a504e6fa9 to your computer and use it in GitHub Desktop.

Select an option

Save witt3rd/e0aa245bcce6c2f0e4a16d4a504e6fa9 to your computer and use it in GitHub Desktop.
Scala installation, setup, and usage notes

Scala

Install

SDKMan

Java

sdk ls java

Amazon Coretto

sdk install java 11.0.10.9.1-amzn

Coursier

coursier is a dependency resolver / fetcher à la Maven / Ivy, entirely rewritten from scratch in Scala. It aims at being fast and easy to embed in other contexts. Its core embraces functional programming principles. It handles many features of the Maven model, and is able to fetch metadata and artifacts from both Maven and Ivy repositories. It handles parallel downloads out-of-the-box without resorting to global locks.

Coursier

brew install coursier/formulas/coursier
cs setup

Scala 3

cs install scala3-compiler
cs install scala3-repl

Bloop

Bloop

cs install bloop --only-prebuilt=true

Metals

Metals

Creating a new Scala 3 project

Alvin Alexander - How to create a Scala 3 project with SBT

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment