Step by Step
- First go to Download the Intellij
- Choose your desired operating system e.g(Windows/macOS/linux)
- Click on the "Download"Free trial or "Download" Open source
- Downloading will start on your operating system
- When it have downloaded, then click on the Intellij setup
- Now the installation of intellij will start on your operating system.
- After installation completes, run Intellij.
- IntelliJ will start up with a dialog with options such as “Create New Project”, “Import Project”, etc.
- At the bottom right, there is a Configure drop-down: Click the Configure drop-down and select Plugins
- Click the “Install JetBrains plugin…” button at the bottom left
- In the search field at the top, type “Scala"
- The Scala 3.0.1 (or newer) plugin should appear, with details in the right pane
- Click the green Install button
- This will download and automatically install the Scala plugin
- After that completes, click Close
- Intellij will ask if you want to restart it to activate plugin changes - click “Restart"
- After it restarts, click “Create New Project” - Scala should show up as an option on the left-hand side.
- Click Scala
- Create a sample project called “ScalaSample"
- Click “Create” next to Scala SDK and then click "Download"
- This will download the latest Scala (2.11.8) and SBT (0.13.8) - note this may take some time
- After it completes, make sure “scala-sdk-2.11.8” shows up in the Scala SDK drop down
- For Project SDK, you need to choose the location where the Java 1.8 SDK was installed
- Then click “Finish"
- In order to open a Scala Worksheet go to File>>New>>Scala Worksheet
- Your Scala Worksheet will be open.