Windows - Installing IntelliJ IDEA¶
IntelliJ IDEA requires a license that you must request from ServiceNow. You can use IntelliJ before receiving your license by starting a free trial. For instructions, see Start the free trial.
To request an IntelliJ license and create an account:¶
-
Go to ServiceNow to request a JetBrains IntelliJ license and enter the following for the business justification:
I'm a new developer and need to use IntelliJ for my day to day development work.
-
Go to the JetBrains website to create a new account using your company email address, then confirm your account using the link in the JetBrains confirmation email.
To install IntelliJ IDEA on Windows:¶
- Ensure Java is installed and included in the Path variable.
- Download the IntelliJ Idea Ultimate Edition for Windows .zip file from Jet Brains and add it to the
D:\abc\downloadsdirectory. - Create the directory
D:\abc\software\IntelliJ IDEAand extract the.zipfile to that location. - Update your Path variables by doing the following:
- Open the Control Panel, search for Path, and then click Edit environment variables for your account.
- Edit the
Pathuser variable to includeD:\abc\software\IntelliJ IDEA\binandD:\abc\software\msys2\usr\bin, which IntelliJ IDEA requires for GIT.
- Ensure your
Pathvariable is set correctly by opening a new command prompt and running theideacommand, which should start running the IDE.
To configure the IntelliJ license:¶
- Accept the EULA.
- In the License Activation window, select JetBrains account, then click the Login to JetBrains Account button.
- On the login page, enter the company account email and password that you set up when your received your license.
- When the Authorization Successful message appears, return to the IDE.
- Click Activate, then click Continue.
To configure GitHub Enterprise and create your first project:¶
- Click Get from VCS.
- Select GitHub Enterprise.
- Type
ghe.company.cominto the Server field. - If you have not created a Personal Access Token (PAT) in GHE, do the following:
- Click Generate, then follow the browser login process.
- From the menu under your avatar, click Settings, click Developer Settings,then choose Personal Access Token.
- From this page, generate a PAT. It requires
gist, read:org, repo, workflowpermissions. - Once generated, save it to a safe location.
- In IDEA, enter your PAT in the Token field.
- Click Login.
- Select a project and the directory you want to clone it to, then click Clone.
Tip
You can create a shortcut on your desktop for easier access to IDEA by
right-clicking the d:\abc\software\IntelliJ IDEA\bin\IDEA.bat file,
then clicking Send To, and choosing Desktop. The first time you run the batch
file you may need to approve it to the system security watchdog.