Intellij IDEA is the best IDE in the market for Java developers, unfortunately the Ultimate edition is expensive to buy and the trial edition only lasts for 30 days. There is a way to use the Ultimate edition beyond the 30 day limit by resetting the trial period. We provide a bash script for Intellij trial reset on a Mac.
Here are the steps to reset the evaluation period for Jetbrains Intellij IDEA on a Mac. The script provided includes resetting Intellij IDEA, RubyMine, Pycharm and Webstorm.
The script is written to perform trial reset on 2018.2 versions, but it can be easily modified to other versions too.
# Intellij 2018.2
echo "Removing evaluation key for Intellij"
echo "Resetting evalsprt in options.xml for Intellij"
sed -i'' -e '/evlsprt/d' $HOME/Library/Preferences/IntelliJIdea2018.2/options/options.xml
echo "Resetting evalsprt in prefs.xml"
sed -i'' -e '/evlsprt/d' $HOME/Library/Preferences/com.apple.java.util.prefs.plist
# RubyMine 2018.2
echo "Resetting Rubymine"
sed -i'' -e '/evlsprt/d' $HOME/Library/Preferences/RubyMine2018.2/options/options.xml
# WebStorm 2018.2
echo "Resetting Webstorm"
sed -i'' -e '/evlsprt/d' $HOME/Library/Preferences/WebStorm2018.2/options/options.xml
# Pycharm 2018.2
echo "Resetting Pycharm"
sed -i'' -e '/evlsprt/d' $HOME/Library/Preferences/PyCharm2018.2/options/options.xml
- Close any running instances of application whether Intellij, Pycharm, Rubymine or Webstorm.
- Copy the above code to a file and name it “jetbrains.sh”.
- Open the terminal. cd into directory where you created jetbrains.sh and type chmod a+x jetbrains.sh , this is to make the file executable.
- Run the file by typing ./jetbrains.sh into the terminal.
If you face any difficulties running the script, mention in the comments section below and we’ll try to help you. Also note, college students can apply for license through the Jetbrains website.