Skip to content

Instantly share code, notes, and snippets.

@dcarroll
Last active October 16, 2017 22:02
Show Gist options
  • Save dcarroll/7d7a4b97a0d77f26c9f6fc6d73b689a6 to your computer and use it in GitHub Desktop.
Save dcarroll/7d7a4b97a0d77f26c9f6fc6d73b689a6 to your computer and use it in GitHub Desktop.
#!/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