Scala Environment Setup – How to install the Scala plugin in IntelliJ?

By Nadim Bahadoor | Last updated: February 2, 2020 at 17:43 pm

Overview

In this tutorial, we will go over how to install the Scala plugin in IntelliJ. The plugin will allow you to create and run your Scala application from the comfort of the IntelliJ IDE code editor. If you are using the most recent IntelliJ IDEA code editor version 2019, use our instructions from this page to install the Scala plugin, accordingly.

 

But don't worry, installing the plugin is easier than it sounds!

 

Steps

1. Start IntelliJ
If you have followed the previous tutorials, you should have IntelliJ already installed.

On Mac, click on the icon in your taskbar.

 

intellij_installer_5

 

On Windows, click on IntelliJ menu item from your Windows Start menu:

 

install_intellij_10

 

This will open the IntelliJ's welcome window:

 

intellij_installer_7

 

NOTE:

2. Open IntelliJ preferences

On Mac, click on the menu item IntelliJ and click Preferences:

 

scala_plugin_1

 

On Windows, click on the Configure and then select the Settings menu item from the Welcome Window in Step 1:

 

install_intellij_11

 

This will open the default preferences window as shown below:

 

scala_plugin_2

 

3. Find and install Scala Plugin

In the Default Preferences window from Step 2, click on the Plugins sections on the left panel:

 

scala_plugin_3

 

Next, click on the "Install JetBrain plugin…" button:

 

scala_plugin_4

 

This opens another window which has a search box on the top left corner. Type in Scala in the search box and this will show the Scala plugin which you need to install:

 

scala_plugin_5

 

Next, click on the Install button in the right panel to kick off the installation of the Scala plugin:

 

scala_plugin_6

 

You will see a dialog with the progress for the installation:

 

scala_plugin_7

 

When the installation is completed, you will see a button to restart your IntelliJ IDE. Go ahead and click it to restart your IntelliJ:

 

scala_plugin_8

 

That's it! You have successfully installed your first IntelliJ plugin.

 

This concludes our tutorial on Scala Environment Setup - How to install the Scala plugin in IntelliJ and I hope you've found it useful!

 

Stay in touch via Facebook and Twitter for upcoming tutorials.

 

Don't forget to like and share this page :)

Summary

In this article, we went over the following:

  • How to install the Scala plugin in IntelliJ.

Tip

  • I'm sure as you progress in your career as a developer, you will be installing additional plugins in IntelliJ. But now you know how to install plugins!

Source Code

The source code is available on the allaboutscala GitHub repository.

 

What's Next

In the next tutorial, you will write your first Scala application which will be a simple Hello World application. But, you will be using your IntelliJ IDE and the Scala plugin that we have installed in this tutorial.

 

Stay tuned!

Nadim Bahadoor on FacebookNadim Bahadoor on GithubNadim Bahadoor on LinkedinNadim Bahadoor on Twitter
Nadim Bahadoor
Technology and Finance Consultant with over 14 years of hands-on experience building large scale systems in the Financial (Electronic Trading Platforms), Risk, Insurance and Life Science sectors. I am self-driven and passionate about Finance, Distributed Systems, Functional Programming, Big Data, Semantic Data (Graph) and Machine Learning.
Other allaboutscala.com tutorials you may like:

Share this article on