here – JetBrains reset. Factory reset for trial version up to 30 days


How do I reset my JetBrains products to trial version?


I note that this question and the answer to it were created solely for educational purposes and do not carry any call to action.

Any paid software must be bought

Discussion on the issue of the appropriateness of the Mete


It is easy to see, by iterating over the files related to JetBrains, that the validation of the trial version is tied to several files:

  • ~/.config/JetBrains/GoLand2020.2/eval
  • ~/.config/JetBrains/GoLand2020.2/options/usage.statistics.xml
  • ~/.config/JetBrains/GoLand2020.2/options/other.xml
  • ~/.config/JetBrains/$tool*/options/recentProjects.xml
  • ~/.config/JetBrains/$tool*/options/updates.xml
  • ~/.config/JetBrains/$tool*/options/usage.statistics.xml
  • ~/.java/.userPrefs/jetbrains
  • ~/.java/.userPrefs/prefs.xml
  • ~/.java/.userPrefs/.user.lock.user
  • ~/.java/.userPrefs/.userRootModFile.user

Then you can make a script like this:


# declare array of tools
declare -a tools=(

for tool in "${tools[@]}"
    rm -rf ~/.config/JetBrains/$tool*/eval
    rm -rf ~/.config/JetBrains/$tool*/options/usage.statistics.xml
    rm -rf ~/.config/JetBrains/$tool*/options/other.xml
    rm -rf ~/.config/JetBrains/$tool*/options/recentProjects.xml
    rm -rf ~/.config/JetBrains/$tool*/options/updates.xml
    rm -rf ~/.config/JetBrains/$tool*/options/usage.statistics.xml
    rm -rf ~/.java/.userPrefs/jetbrains
    rm -rf ~/.java/.userPrefs/prefs.xml        
    rm -rf ~/.java/.userPrefs/.user.lock.user
    rm -rf ~/.java/.userPrefs/.userRootModFile.user

Then add it to PATH . To make it available from the console every time you boot, you can add the following line to your .bashrc :

export PATH=$PATH:~/path/to/script

In order not to reboot, you should do this:

source ~/.bashrc

This answer has been posted for informational purposes only.

Scroll to Top