From e2021b8713f6cc4fc3fce94f375c92acc9e778df Mon Sep 17 00:00:00 2001 From: 0xcharlie Date: Fri, 18 Apr 2025 18:00:38 +0200 Subject: [PATCH] add uninstall instructions --- foundryup/README.md | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/foundryup/README.md b/foundryup/README.md index 5504063abfe37..99b9a2040cc71 100644 --- a/foundryup/README.md +++ b/foundryup/README.md @@ -79,3 +79,22 @@ foundryup --path ./git/foundry **Tip**: All flags have a single character shorthand equivalent! You can use `-i` instead of `--install`, etc. --- + + +## Uninstalling + +Foundry contains everything in a `.foundry` directory, usually located in `/home/user/.foundry/`. + +- To uninstall Foundry remove the `.foundry` directory. + +##### Note: .foundry directory contains any keystores. Make sure to backup any keystores we want to keep. + + +Remove Foundry from PATH: + +- Optionally Foundry can be removed from editing shell configuration file (`.bashrc`, `.zshrc`, etc.) and remove the line that adds Foundry to PATH: + +``` +export PATH="$PATH:/home/user/.foundry/bin" +``` +