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

By Nadim Bahadoor | Last updated: July 25, 2017 at 13:10 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.

 

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
Senior Software Developer | Nephila Capital
Founder of allaboutscala.com. I have over 10 years of experience in building large scale real-time trading systems in the financial industry. Passionate about Distributed Systems, Scala, Big Data and Functional Programming. Stay in touch for upcoming tutorials!
Other allaboutscala.com tutorials you may like:

Share this article on

  • James Willett

    Hi Nadim,
    Thanks for the article. Do you know if you need to have the Scala SDK installed on your system before you install the plugin?

    • Hi James,
      I hope you’ve found the article useful! To your question – if you plan on building and compiling your Scala projects within IntelliJ, then you do not need to have the full Scala SDK installed.
      Thanks,
      Nadim

    • allaboutscala

      Hi James,
      I hope you’ve found the article useful! To your question – if you plan on building and compiling your Scala projects within IntelliJ, then you do not need to have the full Scala SDK installed.
      Thanks,
      Nadim