I've just installed Scala 3 on a brand Ubuntu machine. I used Coursier to install Scala 3 using the official instructions.
I can compile a file using scala3-compiler
, but how do I run it? Using the scala
command will still default to the 2.13 version of Scala.
PATH
earlier than the directory of the Scala-2 executable. – jwvhscala3-repl
– Luis Miguel Mejía SuárezPATH
modified? Did you try to invoke the executable via a full path (i.e. noPATH
)? – jwvh