I want to install Scala on my PC.
Preparation
I read Scala’s documentation.
Method
- Install Java as explained in this post.
- Install Scala (without sbt) from here.
- Create a system variable
SCALA_HOMEand set it to the path of the Scala installation. - Add
%SCALA_HOME%\jre\binto path. - Open
cmdand typescala. The output should look something like this.C:\Users\steve-rogers>scala Welcome to Scala 2.13.0 (Java HotSpot(TM) Client VM, Java 1.8.0_221). Type in expressions for evaluation. Or try :help. scala>