Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

IntelliJ IDEA detailed installation and configuration method tutorial

2025-01-28 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >

Share

Shulou(Shulou.com)06/03 Report--

This article introduces the "IntelliJ IDEA detailed installation and configuration method tutorial" related knowledge, in the actual case operation process, many people will encounter such a dilemma, and then let the editor lead you to learn how to deal with these situations! I hope you can read it carefully and be able to achieve something!

IntelliJ IDEA installation and setup IntelliJ IDEA installation requirements

Hardware requirement

At least 2 GB RAM is required, but 4 GB RAM is recommended

Requires at least 1.5 GB hard disk space + 1 GB cache

1024 x768 minimum screen resolution

Software requirements

JRE 1.8 is bundled with the IntelliJ IDEA distribution. You don't need to install Java on your computer to run IntelliJ IDEA.

Java development requires a separate JDK.

Download and install IntelliJ IDEA

There are two versions of IntelliJ IDEA: Ultimate and Community. The Community version is an open source project that is free, but with fewer features. The Ultimate version is commercial and provides a set of excellent tools and features. For more information, see version comparison Matrix.

⑴ download IntelliJ IDEA (choose a version based on your operating system).

⑵ the following according to your operating system:

① Windows:

Run the downloaded ideaIC.exe or ideaIU.exe file.

Follow the instructions of the installation wizard

② MacOS:

Double-click the downloaded ideaIC.dmg or ideaIU.dmg file to install the MacOS disk image.

Copy IntelliJ IDEA to the Applications folder.

③ Linux:

Extract the downloaded ideaIC.gz or ideaIU.gz files to a different folder, if your current Downloads folder does not support file execution:

Tar xfz ideaIC.tar.gz or ideaIU.tar.gz.

The recommended installation location for the recommended file system hierarchy standard (FHS) is / opt. For example, it can enter the following command:

Sudo tar xf-* .tar.gz-C / opt/

Change to the bin directory, for example: cd opt/-*/bin

Run idea.sh from the bin subdirectory.

Note: a new instance cannot be extracted in an existing one. The destination folder must be empty.

Run IntelliJ IDEA for the first time

1. Import settings for IntelliJ IDEA

When you start IntelliJ IDEA for the first time, or after upgrading from a previous version, the full installation dialog box opens, where you can choose whether you want to import IDE settings:

If this is your first instance of IntelliJ IDEA, please select the "do not import settings" option.

2. IntelliJ IDEA selects a user interface theme

Next, you will be prompted to select a UI theme. You can choose the default theme and Darcula scheme:

3. Disable unnecessary plug-ins

IntelliJ IDEA comes with a variety of plug-ins that provide integration and application servers for different version control systems, add support for various frameworks and development technologies, and so on.

Next you can disable plug-ins that do not need to increase the performance of IntelliJ IDEA. If necessary, you can re-enable them later in the Settings dialog box (under the Ctrl + Alt + S plug-in).

You can click all of each group to disable linked plug-ins to disable them all, or customize to disable individual plug-ins.

4. Download and install other IntelliJ IDEA plug-ins

In the next step, you will be prompted to download other plug-ins that are not bundled with IDE from the IntelliJ IDEA plug-in repository:

5. Start a project in IntelliJ IDEA

When the initial IntelliJ IDEA configuration is complete, the Welcome screen opens, allowing you to open an existing project, create a new project, or check out a project from the version control system:

6. Register for IntelliJ IDEA

If you are trying to evaluate IntelliJ IDEA, you can download and install a trial version of it for free. The trial version is available for 30 days and you need to obtain and register a license.

IntelliJ IDEA build, which can be downloaded as part of an early access plan, does not require any registration, and comes with a 30-day license.

⑴ does one of the following:

On the Welcome screen, click configure | manage licenses

Select help | Register from the main menu

⑵ chooses the IntelliJ IDEA you want to register:

JetBrains account: select this option if you have a JetBrains account that allows you to access your purchase and management licenses.

Activation code: select this option if you have an activation code for IntelliJ IDEA and paste it into the text area.

License server: select this option to register IntelliJ IDEA through the license server Web application, which allows you to manage floating licenses and issue licenses to users who do not have direct Internet access.

7. Update IntelliJ IDEA

⑴ downloads the latest version of IntelliJ IDEA.

⑵ starts the settings according to the instructions in "download and install IntelliJ IDEA"

⑶ chooses whether to uninstall the existing product version and its settings, cache and local history, and follow the instructions of the installation wizard.

8. Manage IntelliJ IDEA through Toolbox applications

Toolbox App is a dashboard that allows you to manage all JetBrains developer tools, including IntelliJ IDEA and projects, from a single point of access. It allows you to maintain different versions of the same tool, install updates, and roll them back as needed. It also remembers your JetBrains account and uses it to log in automatically when installing and registering new tools.

Application of ⑴ download toolkit

⑵ starts the installation file.

⑶ accept the JetBrains Privacy Policy and log in to your JetBrains account when the installation is complete.

Now you can manage existing tools, install new tools, and download updates:

9. Perform a silent installation on Windows

Silent installation can be performed without any user interface. Network administrators can use it to install IntelliJ IDEA on many machines to avoid interrupting other users.

To perform a silent installation, run the installer using the following switches:

/ S: enable silent installation

/ D: specify the path to the installation directory

/ CONFIG: specify the path to the silent profile

For example:

IdeaIU.exe / S / CONFIG=d:\ temp\ silent.config / Delimd:\ IDE\ IntelliJ IDEA Ultimat

10. Silent Profil

You can download the 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. Using the default option, perform a silent installation (mode=user) only for the current user. If you want to install IntelliJ IDEA for all users, open the silent configuration file using a text editor, change the value of the installation mode option (mode=admin), and run the installer as an administrator.

The default silent profile is unique for each JetBrains product. You can modify it as needed to enable or disable various installation options.

11. Silently uninstall IntelliJ IDEA

To silently uninstall IntelliJ IDEA, run the uninstall program as an administrator using the / S switch. The uninstaller is located in the installation directory under bin.

Run cmd (Windows command prompt) as an administrator, change to the IntelliJ IDEA installation directory, and run the following command:

Bin\ uninstall.exe / S

twelve。 Install IntelliJ IDEA as a snapshot package on Linux

You can install IntelliJ IDEA as a stand-alone snapshot package on Linux. Because snapshots are automatically updated, the IntelliJ IDEA installation is always up to date.

To use snapshots, follow the instructions in the installation guide to install and run the snapd service on your computer.

This service is pre-installed on Ubuntu 16.04 LTS and later.

IntelliJ IDEA is distributed through two channels:

The ⑴ stable channel includes only the stable version. To install the latest stable version of IntelliJ IDEA, run the following command:

Ultimate Edition:$ sudo snap install intellij-idea-ultimate-classic

Community Edition:$ sudo snap install intellij-idea-community-classic

⑵ edge channels include EAP builds. To install the latest EAP version of IntelliJ IDEA, run the following command:

Ultimate Edition:$ sudo snap install intellij-idea-ultimate-classic-edge

Community Edition:$ sudo snap install intellij-idea-community-classic-edge

After installing the snapshot, you can start it by running the intellij-idea-community or intellij-idea-ultimate command.

To list all installed snapshots, run sudo snap list. For more information, see the Snapcraft documentation.

This-- classic option is required because IntelliJ IDEA snapshots require full access to the system, just like traditional packaged applications.

This is the end of the tutorial on detailed installation and configuration of IntelliJ IDEA. Thank you for reading. If you want to know more about the industry, you can follow the website, the editor will output more high-quality practical articles for you!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Development

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report