From the course: Scala Essential Training for Data Science

Unlock this course with a free trial

Join today to access over 25,000 courses taught by industry experts.

Installing Scala

Installing Scala

- [Instructor] Okay, let's install Scala. So I have opened a browser and navigated to the website scala-lang.org, and I've selected the download page. Now from here, we have the option of installing Scala on macOS, Linux, Windows, or other operating systems. Now I'm running on a macOS, so I'm going to choose one of the macOS options. Now I can use brew in some cases. Now notice it says, "Alternatively for Apple Silicon, or if you don't use Homebrew," there's another option. Well, I'm running on a Mac that uses Apple Silicon, so I'm going to choose this option and which is to use a curl command. So I'm going to click on the copy icon over here on the right, and then I'm going to just step over into a terminal window. I'm in a terminal here, and I'm just simply going to paste in that curl command. And now I'm going to run that curl command, and this will download the installer. Now, you'll notice here that there was no Java virtual machine found. So what it's going to do is install that…

Contents