Run IntelliJ IDEA for the first time
You can use the Toolbox App to run any JetBrains product. In case of a standalone installation, running IntelliJ IDEA depends on the operating system:
To run IntelliJ IDEA, find it in the Windows Start menu or use the desktop shortcut. You can also run the launcher batch script or executable in the installation directory under bin .
Run the IntelliJ IDEA app from the Applications directory, Launchpad, or Spotlight.
Run the idea.sh shell script in the installation directory under bin . You can also use the desktop shortcut if it was created during installation.
For more information about running IntelliJ IDEA from the command line, refer to Command-line interface.
Once you launch IntelliJ IDEA, you will see the Welcome screen, the starting point to your work with the IDE, and configuring its settings. This screen also appears when you close all opened projects. Use the tabs on the left side to switch to the specific welcome dialog.

Customize the IDE appearance
Click Customize and select another color theme or select the Sync with OS checkbox to use your system default theme. Here you can also configure accessibility settings or select another keymap.
Try the new IntelliJ IDEA user interface.

Configure the default settings
Click Customize and select Import Settings if you already have a copy of the required settings that you want to apply.
Alternatively, click All settings to open the settings dialog. The settings that you modify at this moment will become the new default configuration for your projects and the IDE.

Install additional plugins
Click Plugins in the left pane and download and install additional plugins from JetBrains Marketplace.

Learn IntelliJ IDEA
Click Learn to get more familiar with the shortcuts, features, and workflows that the IDE has to offer. For more information, refer to Learn IDE features.
This feature is available only in the new UI. Enable it to access the lessons.

Develop your applications remotely
Click Remote Development to configure an entry point to connect to a remote server and code, run, debug, and deploy your projects remotely. For more information, refer to Connect to a remote server from IntelliJ IDEA.

Start a project in IntelliJ IDEA
When you start IntelliJ IDEA, it will show you the Welcome screen .
From the Welcome to IntelliJ IDEA dialog, you can do the following:

- Create a new project
- Create your first Java application
- Open a project
- Get a project from a version control system
Install IntelliJ IDEA
IntelliJ IDEA is a cross-platform IDE that provides consistent experience on the Windows, macOS, and Linux operating systems.
IntelliJ IDEA is available in the following editions:
- Community Edition is free and open-source, licensed under Apache 2.0. It provides all the basic features for JVM and Android development.
- IntelliJ IDEA Ultimate is commercial, distributed with a 30-day trial period. It provides additional tools and features for web and enterprise development. For pricing information, refer to Subscription options & Pricing.
For more information about the editions, refer to the comparison matrix.
System requirements
2 GB of free RAM
8 GB of total system RAM
Multi-core CPU. IntelliJ IDEA supports multithreading for different operations and processes making it faster the more CPU cores it can use.
SSD drive with at least 5 GB of free space
Officially released 64-bit versions of the following:
- Microsoft Windows 10 1809 or later Windows Server 2019 or later
- macOS 11.0 or later
- Any Linux distribution that supports Gnome, KDE , or Unity DE. IntelliJ IDEA is not available for the Linux distributions that do not include GLIBC 2.27 or later.
Pre-release versions are not supported.
Latest 64-bit version of Windows, macOS, or Linux (for example, Debian, Ubuntu, or RHEL)
You do not need to install Java to run IntelliJ IDEA because JetBrains Runtime is bundled with the IDE (based on JRE 17). However, to develop Java applications, a standalone JDK is required.
Older Linux distributions (before Ubuntu 18.04 and CentOS 8) don’t support the required JCEF version starting from IntelliJ IDEA version 2022.1. This means that components relying on the embedded browser will not work, for example, the Markdown HTML preview and the interactive debugger console.
Install using the Toolbox App
The JetBrains Toolbox App is the recommended tool to install JetBrains products. Use it to install and manage different products or several versions of the same product, including Early Access Program (EAP) and Nightly releases, update and roll back when necessary, and easily remove any tool. The Toolbox App maintains a list of all your projects to quickly open any project in the right IDE and version.
Install the Toolbox App

- Download the installer .exe from the Toolbox App web page.
- Run the installer and follow the wizard steps.
- After you run the Toolbox App, click its icon in the notification area and select which product you want to install. To install a specific version, click and select Available versions .
Log in to your JetBrains Account from the Toolbox App, and it will automatically activate the available licenses for any IDE that you install.
Install the Toolbox App

- Download the disk image .dmg from the Toolbox App web page. There are separate disk images for Intel and Apple Silicon processors.
- Mount the image and drag the JetBrains Toolbox app to the Applications folder.
- After you run the Toolbox App, click its icon in the main menu and select which product you want to install. To install a specific version, click and select Available versions .
Log in to your JetBrains Account from the Toolbox App, and it will automatically activate the available licenses for any IDE that you install.
Install the Toolbox App
- Download the tarball .tar.gz from the Toolbox App web page.
- Extract the tarball to a directory that supports file execution. For example, if the downloaded version is 1.17.7391, you can extract it to the recommended /opt directory using the following command:
sudo tar -xzf jetbrains-toolbox-1.17.7391.tar.gz -C /opt

Log in to your JetBrains Account from the Toolbox App, and it will automatically activate the available licenses for any IDE that you install.
If you installed IntelliJ IDEA via the Toolbox App, you can find the installation directory in the app: open the settings of the IDE instance in the Toolbox App, expand Configuration , and look for the Install location field.
Standalone installation
Install IntelliJ IDEA manually to manage the location of every instance and all the configuration files. For example, if you have a policy that requires specific install locations.

- Download the installer .exe . There is a separate installer for ARM64 processors.
- Run the installer and follow the wizard steps. On the Installation Options step, you can configure the following:
- Create a desktop shortcut for launching IntelliJ IDEA.
- Add the directory with IntelliJ IDEA command-line launchers to the PATH environment variable to be able to run them from any working directory in the Command Prompt.
- Add the Open Folder as Project action to the system context menu (when you right-click a folder).
- Associate specific file extensions with IntelliJ IDEA to open them with a double click.
To run IntelliJ IDEA, find it in the Windows Start menu or use the desktop shortcut. You can also run the launcher batch script or executable in the installation directory under bin .
- Download the ZIP archive
- Extract the archive to the desired folder.
To run IntelliJ IDEA, use the launcher batch script or executable in the extracted directory under bin .
- Download the disk image . There are separate disk images for Intel and Apple Silicon processors.
- Mount the image and drag the IntelliJ IDEA app to the Applications folder.
Run the IntelliJ IDEA app from the Applications directory, Launchpad, or Spotlight.
- Download the tarball .tar.gz . There is a separate tarball for ARM64 processors.
- Extract the tarball to a directory that supports file execution. For example, to extract it to the recommended /opt directory, run the following command for IntelliJ IDEA Ultimate:
sudo tar -xzf ideaIU-*.tar.gz -C /opt
For IntelliJ IDEA Community, run:
sudo tar -xzf ideaIC-*.tar.gz -C /opt
Do not extract the tarball over an existing installation to avoid conflicts. Always extract it to a clean directory.
Execute the idea.sh script from the extracted directory to run IntelliJ IDEA.
Create a desktop entry
- On the Welcome screen, click Options Menu | Create Desktop Entry . The following steps are for Ubuntu 23.10. If you are using a different Linux distribution or version of Ubuntu, refer to its documentation.
- Click Activities in the top-left corner of the screen.
- Click the grid button in the dash to show all applications.
- To pin the app to the dash, right-click the IntelliJ IDEA icon and select Add to Favorites .
When you run IntelliJ IDEA for the first time, you can take several steps to complete the installation, customize your instance, and start working with the IDE.
For more information about the location of the default IDE directories with user-specific files, refer to Directories used by the IDE.
Silent installation on Windows
Silent installation is performed without any user interface. It can be used by network administrators to install IntelliJ IDEA on a number of machines and avoid interrupting other users.
To perform silent install, run the installer with the following switches:
- /S : Enable silent install
- /CONFIG : Specify the path to the silent configuration file
- /D : Specify the path to the installation directory This parameter must be the last in the command line, and it should not contain any quotes even if the path contains blank spaces.
ideaIU.exe /S /CONFIG=d:\temp\silent.config /D=d:\IDE\IntelliJ IDEA Ultimate
To check for issues during the installation process, add the /LOG switch with the log file path and name between the /S and /D parameters. The installer will generate the specified log file. For example:
ideaIU.exe /S /CONFIG=d:\temp\silent.config /LOG=d:\JetBrains\IDEA\install.log /D=d:\IDE\IntelliJ IDEA Ultimate
Silent configuration file
You can download the default silent configuration file for IntelliJ IDEA at https://download.jetbrains.com/idea/silent.config
The silent configuration file defines the options for installing IntelliJ IDEA. With the default options, silent installation is performed only for the current user: mode=user . If you want to install IntelliJ IDEA for all users, change the value of the installation mode option to mode=admin and run the installer as an administrator.
The default silent configuration file is unique for each JetBrains product. You can modify it to enable or disable various installation options as necessary.
It is possible to perform silent installation without the configuration file. In this case, omit the /CONFIG switch and run the installer as an administrator. Without the silent configuration file, the installer will ignore all additional options: it will not create desktop shortcuts, add associations, or update the PATH variable. However, it will still create a shortcut in the Start menu under JetBrains .
Install as a snap package on Linux
You can install IntelliJ IDEA as a self-contained snap package. Since snaps update automatically, your IntelliJ IDEA installation will always be up-to-date.
To use snaps, install and run the snapd service as described in the snapd installation guide.
On Ubuntu 16.04 LTS and later, this service is pre-installed.
IntelliJ IDEA is distributed via two channels:
-
The stable channel includes only stable versions. To install the latest stable release of IntelliJ IDEA, run the following command:
Установка IntelliJ IDEA в Windows
В статье рассказывается, как установить IntelliJ IDEA.
Установка JDK
Вначале необходимо установить JDK. Всё просто, но если есть вопросы, то подробно можно узнать в статье: Установка JDK в Windows.
Скачивание IntelliJ IDEA
Скачиваем там последнюю версию IntelliJ IDEA:

Выбираем именно Community версию:

Установка IntelliJ IDEA
Установка простая. Запускаем скаченный EXE файл:



Если у вас 32-битная операционная система, то и выбираем 32-битные компоненты:



Программа установилась. Запускаем её, не забыв перезагрузить компьютер.
Первоначальная настройка IntelliJ IDEA
При первом запуске спросит про импорт настроек с прежних установок данной программы. Если таковых не было, то говорите, что не хотите:

Выбираем тему редактора. Мне нравится светлая тема. А также плагины выбираем по умолчанию:

Создание нового приложения

Если вы у себя видите на месте SDK фразу No SDK в отличии от скриншота внизу, то нужно вначале будет выбрать SDK, которым будем компилировать приложения, через кнопку New. :

У меня JDK находится в папке C:\Program Files\Java\jdk-12.0.1 . Выбираем это месторасположение (у вас может быть другое), если JDK не определяется автоматически.
Говорим, что хотим создать приложение уже с готовым шаблоном (будет присутствовать метод Main ):

Выбираем название проекта, папку для размещения проекта (по своему усмотрению):

Возможно, что вас спросят создать новую папку под проект. Соглашайтесь:

Всё. Создался проект консольного приложения Java. Если наверху справа появится желтая надпись Attach annotations , как на скриншоте внизу, то щелкните по ней:

Запуск приложения
В методе main пропишем простейшую команду:
System.out.println("Hello, World!");


В консоли отобразился результат выполнения программы:

Дополнительные настройки
Настройки, описанные в данном разделе, опциональны, и можно их вообще не трогать.
Переходим в настройки приложения:

В разделе General я ставлю возможность увеличения шрифта колесиком мыши при нажатом Ctrl , а также устанавливаю правило, что при сохранении файла все лишние пробелы справа у всех строк будут удаляться:

Дополнительно
- IntelliJ IDEA Logo.svg by JetBrains / (2019-06-10)
- Установка
- IntelliJ IDEA
- JetBrains
- Java
В статье рассказывается, как установить IntelliJ IDEA.
В статье рассказывается, как установить IntelliJ IDEA.
Harrix
- GitHub User
- [email protected]
Write an awesome description for your new site here. You can edit this line in _config.yml. It will appear in your document head meta (for Google search results) and in your feed.xml site description.
Как установить JDK и среду разработки IntelliJ IDEA
Начинаем разрабатывать на Java: где взять, как установить и настроить всё, что нужно.



Паша Лебедев
Пишет на Java. Верит в Agile. Пьёт много кофе и не любит грязный код.
Чтобы начать программировать на Java, нужно установить комплект разработчика приложений (SDK) . Он позволит запускать, отлаживать и исполнять наши первые программы. Также нам понадобится среда разработки ( IDE ), где мы и будем писать код.
Пройдём через это вместе. Установим JDK в Windows, Ubuntu и macOS, и IntelliJ IDEA тоже в Windows, Ubuntu и macOS. Поехали!
Установка Java Development Kit в Windows
Java Development Kit (JDK) — это комплект ПО для разработчиков приложений на Java. Стандартная установка включает в себя интерпретатор, облегчённый интерпретатор JRE, компилятор, библиотеку Java-классов, отладчик, средства архивации и сжатия jar и другое.
Чтобы установить JDK в Windows, нужно:
- загрузить актуальную версию пакета,
- установить его,
- настроить переменные окружения.
1. Скачиваем установочный архив
Нам нужна бесплатная версия — AdoptOpenJDK (она есть под Windows, macOS, Ubuntu и другие платформы).
Идём сюда и выбираем версию JDK (актуальны версии 8+), виртуальную Java-машину (JVM) и свою платформу.
Я выбрал OpenJDK 11 ( LTS ), HotSpot и Windows x64 jdk соответственно:

Скачиваем файл по появившейся ссылке (я выделил её жёлтым на скрине выше).
2. Устанавливаем
Извлекаем скачанный архив в папку C:\Program Files\Java\
При этом будет создана подпапка jdk-*номер версии*, а внутри неё появится папка bin.
В результате полный путь до папки bin у меня выглядит так:
C:\Program Files\Java\jdk-11.0.2\bin
3. Настраиваем переменные окружения Windows
Нам нужно создать системную переменную JAVA_HOME, которая будет хранить путь до нашей версии JDK. Это понадобится программам для работы с проектами Java.
Заходим в Панель управления → Система → Дополнительные параметры системы → Дополнительно
А можно и прямо в Панели управления вбить в поиск слово «переменных» (без кавычек). ОС предложит варианты, из которых выбирайте «Изменение системных переменных среды».
У вас откроется окно:

Здесь жмём на кнопку «Переменные среды».
В новом окне для раздела «Системные переменные» кликаем «Создать». В «Имя переменной» вводим JAVA_HOME (именно так, латиницей в верхнем регистре), а в поле «Значение переменной» подставляем наш путь C:\Program Files\Java\jdk-*номер версии*:

Далее в разделе «Переменные среды…» редактируем системную переменную Path. Нужно добавить в неё путь к папке с исполняемыми файлами Java, а именно: %JAVA_HOME%\bin (соблюдайте регистр символов):

4. Проверяем установку
Запускаем Командную строку Windows. Для этого нажимаем Win + R, а в появившемся окне вводим cmd.exe и жмём на Enter.
В открывшейся консоли набираем javac -version и жмём ввод.
Если установка прошла успешно, то ответ покажет версию вашего компилятора:

Установка Java Development Kit в Linux (Ubuntu)
Рассмотрим установку JDK на одном из самых популярных дистрибутивов Linux — Ubuntu 20.04 ( LTS ).
Проще всего установить версию, которая входит в пакет Ubuntu. По умолчанию в Ubuntu 20.04 входит версия Open JDK 11.
1. Проверяем ранее установленные версии
Открываем терминал сочетанием клавиш Ctrl + Alt + T и обновляем базу данных пакетов с помощью APT :

2. Устанавливаем
Для запуска любых приложений Java нужна JRE (Java Runtime Environment — среда выполнения для языка Java). Но для компиляции и разработки программ требуется JDK (Java Development Kit).
Чтобы установить JRE, вводим в консоль:

Пока что нам хватит возможностей бесплатной версии.
На заметку: IntelliJ предлагает студентам и преподавателям свободный доступ к своим продуктам.
2. Сама установка
Заходим сюда и качаем версию для Windows.

Запускаем скачанный файл .exe:

Жмём Next (Далее) и выбираем путь для установки:

Снова Next, и настраиваем параметры установки:

В общем случае это:
- 64-bit launcher — для запуска 64-разрядной версии приложения (будет создан ярлык на рабочем столе);
- Add ”Open Folder as Project“» — позволяет открывать папки с исходниками как проекты прямо через контекстное меню;
- .java — файлы такого типа (с таким расширением) будет открывать IDEA (по умолчанию и через контекстное меню).
Кликаем Next (Далее) и выбираем папку для ярлыков IDEA (оставляем по умолчанию):

Нажимаем Install (Установить), после чего стартует установка:

Дожидаемся её окончания и жмём Finish (Завершить):

3. Запуск IntelliJ IDEA и настройка параметров
При первом запуске принимаем пользовательское соглашение и нажимаем Continue (Продолжить):

Далее выбираем тему оформления (доступны тёмная и светлая):

Жмём Next: Default plugins и переходим к выбору устанавливаемых плагинов:

Если не знаете, что вам точно пригодится, — оставляйте всё как есть. А если, например, с Андроидом вам не работать — выключите соответствующий пункт.
Не волнуйтесь, если надобавляете лишнего или о чём-то забудете. Всё можно будет переиграть — в настройках среды.
После чего нажмите на кнопку Next: featured plugins и выберите другие нужные плагины (или оставляйте всё по умолчанию):

И наконец, нажимаем Start using IntelliJ IDEA.
Вас встретит начальный экран среды разработки (Welcome screen). Здесь можно создать новый проект, открыть или импортировать существующий, а также скачать проект из системы контроля версий:

Если вы видите такой же экран — поздравляю, установка и настройка прошли успешно! Приятного обучения!
Установка среды разработки IntelliJ IDEA Community (macOS)
Здесь всё даже легче, чем в Windows. Для начала качаем версию для macOS отсюда (о различии между редакциями Community и Ultimate читайте выше — в пункте про установку на Windows):

Открываем скачанный файл .dmg:

Копируем файл в «Программы»:

Читаем предупреждение ОС и жмём «Открыть»:

Принимаем пользовательское соглашение и жмём кнопку Continue (Продолжить):

Теперь приложением можно пользоваться. Приятного обучения!
Установка среды разработки IntelliJ IDEA Community (Ubuntu)
Для установки IntelliJ IDEA открываем Центр приложений Ubuntu:

Вводим в поиск слово «Intellij» (без кавычек). Нам нужна IDEA Community (о различии между редакциями Community и Ultimate читайте выше — в пункте про установку на Windows):

Выбираем версию и нажимаем кнопку Install (Установить):

После установки видим IDEA в меню программ:

Запускаем, принимаем пользовательское соглашение и нажимаем кнопку Continue (Продолжить):

Вы увидите экран загрузки:

Далее вас встретит начальный экран (Welcome screen). Здесь можно создать новый проект, открыть или импортировать существующий, а также скачать проект из системы контроля версий.

Если вы видите такой же экран — поздравляю, установка и настройка прошли успешно! Приятного обучения!
От англ. Software Development Kit. Поставщики SDK часто заменяют слово «software» в названии на более точное. Например, комплект от Oracle зовётся Java Development Kit (JDK).
От англ. Integrated Development Environment — единая/интегрированная среда разработки. Это система программных средств для создания ПО, которая зачастую поддерживает несколько языков программирования
От англ. Long Term Support — долгосрочная поддержка (ПО). Означает, что стабильный релиз поддерживается долго и считается стандартом для распространения.
От англ. Long Term Support — долгосрочная поддержка (ПО). Означает, что стабильный релиз поддерживается долго и считается стандартом для распространения.
APT (Advanced Package Tool) — инструмент командной строки для взаимодействия с системой управления пакетами (dpkg). Позволяет искать, устанавливать, обновлять и удалять пакеты.