Skip to content

Instantly share code, notes, and snippets.

@dcarroll
Last active October 16, 2017 22:02
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Embed
What would you like to do?
#!/bin/sh
# NOTE: The pilot version included the Heroku CLI.
# Running the script will blow away ALL Heroku folders.
# You may need to reinstall the Heroku Toolbelt.
# NOTE: As with any script you download on the internet,
# please make sure you understand what each command is
# going to do before running it.
rm -rf /usr/local/heroku
rm -rf /usr/local/sfdx
rm -rf /usr/local/lib/heroku
rm -rf /usr/local/lib/sfdx
rm -rf /usr/local/bin/heroku
rm -rf /usr/local/bin/sfdx
rm -rf ~/.local/share/heroku ~/.cache/heroku
rm -rf ~/.local/share/sfdx ~/.config/sfdx ~/.cache/sfdx
@ralphcallaway
Copy link

i'd recommend not running the heroku portions and just stripping the dx stuff first and see if that works for you, particularly if you also use heroku

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