Click the link to download the file:Link (This file is only tested on Mac)
Add file execution permissions:
chmod +x IntelliJIDEALicenseServer_darwin_amd64
You can use screen to execute in the background to avoid closing the terminal and failing to activate it.
screen -dmS IntelliJIDEALicenseServer_darwin_amd64 -d -m
run this file
sudo ./IntelliJIDEALicenseServer_darwin_amd64
You can now activate JetBrains for free. Select License server and enter the server address below "http://127.0.0.1:1017"