1.确定已经安装了java环境
java -version
2.下载安装包
https://www.scala-lang.org/download/
3.配置scala路径
cmd --> sysdm.cpl
SCALA_HOME
D:\ProgramFiles(x86)\scala
//追加PATH路径
%SCALA_HOME%\bin
4.进入Scala交互
C:\Users\Maibenben>scala
Welcome to Scala 2.13.1 (Java HotSpot(TM) 64-Bit Server VM, Java 1.8.0_211).
Type in expressions for evaluation. Or try :help.
scala> println("Hello world")
Hello world
scala> :q //退出shell界面
推荐网站 https://www.hellogithub.com/