Skip to content

Instantly share code, notes, and snippets.

@ydf
Last active August 28, 2024 05:34
Show Gist options
  • Save ydf/8ad917e7ed8093d7bd93b3937a861ea1 to your computer and use it in GitHub Desktop.
Save ydf/8ad917e7ed8093d7bd93b3937a861ea1 to your computer and use it in GitHub Desktop.
Jetbrains-IDE-Evaluator.md

how to evaluate JetBrains IDE ? for Mac OS X

# step 1 remove eval key
rm -rf ~/Library/Application\ Support/JetBrains/*/eval/*.key

# Step 2 Remove all `evl*` properties
rm  -rf ~/Library/Application\ Support/JetBrains/*/options/other.xml

# step 3
rm -rf ~/Library/Preferences/*jetbrains*.plist

# Step 4 Remove all jetbrains keys
rm -rf  ~/Library/Preferences/com.apple.java.util.prefs.plist

# Step 5 Kill Preferences Daemon and Client
ps ax | grep cfprefsd | awk '{print $1}'|sudo xargs  kill -9

Linux 2020.x

# 1 remove eval/*.key
rm ~/.config/JetBrains/PHPStorm*/eval/*.key

# 2 remove all properties named `evl*` in options/other.xml
nvim ~/.config/JetBrains/PHPStorm*/options/other.xml

# 3 clear cache
rm -rf ~/.java/.userPrefs/jetbrains/phpstorm

# 4 clear all device_id related with jetbrains
nvim ~/.java/.userPrefs/prefs.xml
nvim ~/.java/.userPrefs/jetbrians/prefs.xml

Microsoft Windows

# 1. Detele eval key
del %USERPROFILE%\AppData\Roaming\JetBrains\PhpStorm2020.2\eval

# 2. delete all `evl*` properties
edit %USERPROFILE%\AppData\Roaming\JetBrains\PhpStorm2020.2\options\other.xml

# 3. Delete device id and user id
del %USERPROFILE%\AppData\Roaming\JetBrains\PermanentDeviceId
del %USERPROFILE%\AppData\Roaming\JetBrains\PermanentUserId

# 4. Delete reg entry jetbrains
reg delete HKEY_CURRENT_USER\Software\JavaSoft\Prefs\jetbrains /f
@ydf
Copy link
Author

ydf commented Aug 28, 2024

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment