[MUSIC] [MUSIC] Welcome to this tutorial installation video of the Scala development development environment. In this tutorial I will show you step by step how to install all the components needed to use this development environment. development environment. So this development environment, its name is IntelliJ IDEA. You are going to install it on your computer, here is the installation on an Apple Macintosh computer. So we'll start by looking for the installation program of the main environment. To do this, you can start from any search engine search engine, here, we'll start from Google. So we'll type in the name of the environment, IntelliJ IDEA, and we will see the results that are proposed to us, and we will select the first page, and this first page, it will allow us to get to the page. We check that it concerns IntelliJ IDEA. We have the download button. We can also check that we are on the site on the site, here, of the company, so JetBrains is the company that develops this environment. Of course, there are other ways to get to this page: you can go directly to the site of the company site, jetbrains.com, and then navigate through the site's menus to get to the to get to the download page. Once you arrive on this download page this download page, you click on the Download button. [Noises] You are about to arrive on the download page of the operating system operating system you are concerned with. So you can see that here, we have three tabs one tab that corresponds to Windows, one for macOS, one for Linux. If you are on your Mac computer, by default, your browser should have have chosen the macOS option. There are two versions that are proposed: the Ultimate version, which is a paid version with a free trial, and the Community version, which is the free version, which is the version that we're going to download. We have the download button here, but before selecting it, be careful carefully, there are two versions that are proposed: the Intel version and the Apple Silicon version. The best way to check which of the two of the two versions to select, is to go to the apple menu, so a left click on the apple, you select About this Mac, and in the window that appears, we'll look at the line that corresponds to Processor. So you can see that on this line appears the word Intel, which simply indicates that the processor in my computer was made by this company, the Intel company, so it's, of course, that's the version that I'm going to choose. If you have anything else that comes up, that means, of course, that you have to download the other version, so the Apple Silicon version. Once you have selected the selected the right version, you click on the Download button, [AUDIO_VIDE] which should allow us to start the download of the download of the installation file. [NOISE] Here he appears here. So you see the name of the file name that matches, among others, to the version of IntelliJ that you downloaded. This number may change depending on when you are going to depending on when you are going to do the installation, there are new version of this environment that are offered regularly. The file has a DMG extension, which indicates that it is a program installation file. By default, your browser will probably offer you to will probably offer to drop this file in the Downloads folder, and now you just have to click on the Save button to start the download. You can, normally, follow this download: you have some indications that appear at the bottom of your browser window your browser window or you can go to directly into the main download window, which will allow you to window, which will allow you, there too, to follow the download of the file. We're going to take a break here, now, and meet again once we've the download of the installation file file will be finished. Now we find that the download of the download of the file is finished. We'll need to find it in the find it in the Finder. In most browsers, you will see that you have an option that you will have an option that allows you to find it directly. So we'll click on View in the Finder, and you'll see that we is here, we have the file that we downloaded. We will simply double click on it, and you should find yourself in front of this window. Now, to finalize the installation of the main part of the environment, we will simply select this icon and drop it in the Applications folder. So this will cause the copy the file and, if you go to the Applications folder, you'll see that you will find a file, which is IntelliJ IDEA CE. CE indicates that this is the Community version, so the free version. Here the program, for the moment, is installed. We'll start it. The easiest thing to do, for this time, a click on the file icon, and select Open. Your computer will perform a number of security checks security checks, and then you see here, it's going to ask you for confirmation: do you you want to open this application? You select Open. This request will be made only at the first launch at the first launch; thereafter, the application will start without asking you you any confirmation. [AUDIO_VIDE] We are going to propose you, first of all, to share your data, this is an option option that you can accept or not. The data exchanges are anonymous and they are used, a priori, by the company that develops the environment to improve the development of this application. The second window, we will have the possibility possibility, if we have already installed an old version of the program, to recover the configuration. We're going to make a new installation, so we're not importing settings, so we keep the selection that is predefined, and we simply click on OK. So here you can see that the icon appears in the Docker. If you want to simplify the access to this application to this application for the rest of the program, you can of course, here, with the right menu, select the option Keep in Dock, which will allow you to the icon to allow you to access it automatically. to access it automatically. Now, what we're going to do is we're going to have to have to install, by default, IntelliJ does not understand, is not able to compile compile programs in Scala, you still have to add what is called a plug-in, which is a set of components that will be added to the main application to the main application and that will to compile, to understand the Scala language. So we select here, in the left-hand column column, the line called Plugins, and we'll install, we're going to look for the plug-in that's called, simply, Scala. It should appear first. If this is not the case, all you have to do here is indicate Scala, and the plug-in will appear in the window, it will be selected. So what we'll do here is we'll click on the install button. So you can see that there is a download that is produced, and obviously, since these are new files, for the installation to be complete, you have to restart the application completely so that it takes into account the new components that components that have been recovered. So we just click on Restart IDE, and accept the restart. So it restarts again, and now, we can check that the plug-in is installed. We return to the Projects section. The Projects section is where we create we're going to create, for each program, a new project. We still need to install two libraries: a library that allows to compile the Java language, and a library that allows to compile the Scala language. Why the Java language library? Simply because Scala is a language that is built on the Java language. Java, so they both collaborate, in a way, and so we need to install both libraries: the Java library and the Scala library. To do this, we'll do it by creating a new project. This new project, we'll start it here, New Project. Then here, in the left column, we have all the different types of language or environment in which we development, so you can see that in this left-hand column see that, in this left-hand column, almost at the bottom, you have the possibility of having a project in Scala. There are different types of Scala projects projects possible, we'll select a project of type IDEA, which corresponds to the project that our development environment development environment allows to develop, and we will select the next step. So a project, we'll give it a name. By default, there will be a name that corresponds to the fact that it has no name, so it is untitled, and then with a number, possibly, behind it. We'll call it FirstProject. The second line tells you where the project is going to be project will be saved, so here, a priori, you don't have to change this location, IntelliJ has created a directory, a folder, on your computer, in which it will save all the files corresponding to the different projects you are going to develop. The next two lines, so you see the JDK line, it's the one that corresponds to the Java development environment, and the next line, Scala SDK, which corresponds to the Scala development environment. So we'll start by downloading the library, you see here No SDK. We'll start by downloading the Java library, and so here, what we're going to do, is we're going to select the option Download JDK. Here we will not select the latest the latest version, we'll select version 16 and, among the different providers of this environment, we, we will select the environment Java environment called Eclipse Temurin. So we select it. You don't change the location, the installation is done in a location predefined location, and we will simply proceed with the download. So you see that, again, we're going to get files that will your computer, it will complete the installation of the main environment, and you see that here, we have a JDK selected. It is necessary to do this installation for the first project and, thereafter, each time you create a new you create a new project, the library will already be installed and will already be pre-selected. Same thing for the Scala SDK, we will select Create, and go to go and find the version 2.13.6. If it does not appear in the list list, you can go and get it, download it, and you can see that here it appears. So Ivy 2.13.6 is the version that we're going to download right now. So I select it, I click OK, and I go complete the creation of the project by clicking on the Finish button. [AUDIO_VIDE] So I'll end up in the development environment of the development environment of the first project. Here, the little window I have here is the Tip of the Day, the tip of the day, so it's IntelliJ that's offering you, to make it easier for you to learn, to provide you with stuff on a regular basis. If you don't want to see them to see them systematically, which can be a bit annoying after a while, you click on the Don't show tips, and close the window. Here it also offers you a little message with a option called Code With Me, you just tell you just tell it that you have understood. You have two windows here. This window will correspond to the place where where you will edit the code, and this window here corresponds to the file structure of your project, IntelliJ will handle this automatically. We'll see later, in the next tutorial, how to really create your first program. your first program. We created a first project, the goal of this first project first project was not to make a program, it was just to to install the two libraries. So we can stop here, the installation installation is complete and you are ready to start create your next program in the following tutorial. [MUSIC] [MUSIC]