Skip to content

Latest commit

 

History

History
37 lines (24 loc) · 528 Bytes

scala-cli.md

File metadata and controls

37 lines (24 loc) · 528 Bytes

Scala CLI

Installing

  1. Use coursier to install scala-cli
cs install --contrib scala-cli

I prefer to use couriser because brew installs java as a dependency.

  1. To validate scala-cli is install
scala-version
  1. Install the completions
scala-cli install-completions

Usage

//> using scala "2.13.10"
//> using lib "org.typelevel::cats-core:2.9.0"
//> using lib "org.typelevel::cats-effect:3.4.2"
//> using lib "co.fs2::fs2-core:3.4.0"

import cats.syntax.all._