$ brew install scala
Updating Homebrew...
==> Auto-updated Homebrew!
Updated 2 taps (homebrew/core and homebrew/cask).
==> New Formulae
aliddns crane ko luv
==> Updated Formulae
Updated 143 formulae.
==> New Casks
aegisub kieler prezi-video spotter the-unofficial-homestuck-collection
==> Updated Casks
Updated 175 casks.
==> Deleted Casks
evom irip ringtones ripit tagalicious teamspeak-client
==> Downloading https://downloads.lightbend.com/scala/2.13.4/scala-2.13.4.tgz
######################################################################## 100.0%
==> Caveats
To use with IntelliJ, set the Scala home to:
/usr/local/opt/scala/idea
==> Summary
🍺 /usr/local/Cellar/scala/2.13.4: 42 files, 23.4MB, built in 8 seconds
$ scala
Welcome to Scala 2.13.4 (OpenJDK 64-Bit Server VM, Java 15.0.1).
Type in expressions for evaluation. Or try :help.
scala> var a = 10
var a: Int = 10
scala>
Hello, world!
Process finished with exit code 0
댓글남기기