Scala Installation

In this post, we will learn what are the prerequisite for scala, how to install it and run it.

Firstly, You would like to check if scala is already installed on your system or not. To check that, open the command prompt(windows) or Terminal (Mac) and type scala. If scala is not installed you will get the message like as shown below.

Scala is not recognised as an internal or external command

Now, It is confirmed that scala is not installed. Let’s move next step by step.

  1. Open the browser and search for download scala. Click on https://www.scala-lang.org/download/
Scala website

2. As a prerequisite , you should have Java already installed on your system.

3. You need to download scala.2.13.msi file.

4. After downloading msi file, double click on that and follow the instructions.

Scala Installation

5. Accept the License terms and keep clicking Next.

Scala Installation

6. Click on Install button.

7. Wait till it says Finish.

Scala Installation

8. Click on Finish button and go to the below path in program files and copy it – “C:\Program Files(x86)\scala\bin”.

9. Right click on “This PC” or “My Computer” and select properties.

10 . Go to “Advance System Settings” –> “Environment Variable”

11. Search for environment variable named “PATH”.

12. Open variable “PATH” and Click on New and paste the copied path.

13. Click Ok button and let’s validate if scala has been installed properly.

14. Open the Command prompt and type scala. If you get the below message , that means you have successfully installed the scala. Enjoy!!

Avatar photo

Shekhar Sharma

Shekhar Sharma is founder of testingpool.com. This website is his window to the world. He believes that ,"Knowledge increases by sharing but not by saving".

You may also like...