Skip to content

Instantly share code, notes, and snippets.

@debu999
Last active January 16, 2022 03:41
Show Gist options
  • Save debu999/d973a2bb34099365a0cbc170119520fa to your computer and use it in GitHub Desktop.
Save debu999/d973a2bb34099365a0cbc170119520fa to your computer and use it in GitHub Desktop.
Mac IntelliJ reset for 2021.3 and beyond
just register with new email every 1 month no need to do the above. It works seamlessly.
#!/bin/bash
echo "removing evaluation key..."
# in mac you can look at installed version and then delete the evaluation file. Big Sur OS Version.
rm -rfv ~/Library/Application\ Support/JetBrains/IntelliJIdea2021.2/eval
echo "resetting evalsprt in other.xml ... "
sed -i '' '/evlsprt/d' ~/Library/Application\ Support/JetBrains/IntelliJIdea2021.2/options/other.xml
defaults delete com.apple.java.util.prefs 2> /dev/null
echo "removing additional plist files..."
rm -f ~/Library/Preferences/com.apple.java.util.prefs.plist
rm -f ~/Library/Preferences/com.jetbrains.*.plist
rm -f ~/Library/Preferences/jetbrains.*.*.plist
echo "restarting cfprefsd"
killall cfprefsd
echo
echo "That's it, enjoy ;)"
#!/bin/bash
echo "removing evaluation key..."
# in mac you can look at installed version and then delete the evaluation file. Big Sur OS Version.
rm -rfv ~/Library/Application\ Support/JetBrains/IntelliJIdea2021.3/eval
echo "resetting evalsprt in other.xml ... "
sed -i '' '/evlsprt/d' ~/Library/Application\ Support/JetBrains/IntelliJIdea2021.3/options/other.xml
defaults delete com.apple.java.util.prefs 2> /dev/null
echo "removing additional plist files..."
rm -f ~/Library/Preferences/com.apple.java.util.prefs.plist
rm -f ~/Library/Preferences/com.jetbrains.*.plist
rm -f ~/Library/Preferences/jetbrains.*.*.plist
echo "restarting cfprefsd"
killall cfprefsd
echo
echo "That's it, enjoy ;)"
@debu999
Copy link
Author

debu999 commented Oct 29, 2021

#!/bin/bash

echo "removing evaluation key..."

in mac you can look at installed version and then delete the evaluation file. Big Sur OS Version.

rm -rfv ~/Library/Application\ Support/JetBrains/PyCharm2021.2/eval

echo "resetting evalsprt in other.xml ... "
sed -i '' '/evlsprt/d' ~/Library/Application\ Support/JetBrains/PyCharm2021.2/options/other.xml

defaults delete com.apple.java.util.prefs 2> /dev/null

echo "removing additional plist files..."
rm -f ~/Library/Preferences/com.apple.java.util.prefs.plist
rm -f ~/Library/Preferences/com.jetbrains..plist
rm -f ~/Library/Preferences/jetbrains.
.*.plist

echo "restarting cfprefsd"
killall cfprefsd

echo
echo "That's it, enjoy ;)"

@debu999
Copy link
Author

debu999 commented Dec 16, 2021

Now there is email authentication stay tuned for any changes from 2021.3 Above will not work.

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