From e2021b8713f6cc4fc3fce94f375c92acc9e778df Mon Sep 17 00:00:00 2001 From: 0xcharlie Date: Fri, 18 Apr 2025 18:00:38 +0200 Subject: [PATCH 1/2] 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" +``` + From 71fb654aadf8e6ea9a08ccc02008ae9ab686ada3 Mon Sep 17 00:00:00 2001 From: grandizzy <38490174+grandizzy@users.noreply.github.com> Date: Fri, 6 Jun 2025 11:30:41 +0300 Subject: [PATCH 2/2] Update foundryup/README.md Co-authored-by: Matthias Seitz --- foundryup/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/foundryup/README.md b/foundryup/README.md index 99b9a2040cc71..8d649eb623d8a 100644 --- a/foundryup/README.md +++ b/foundryup/README.md @@ -87,7 +87,7 @@ Foundry contains everything in a `.foundry` directory, usually located in `/home - To uninstall Foundry remove the `.foundry` directory. -##### Note: .foundry directory contains any keystores. Make sure to backup any keystores we want to keep. +##### Note: .foundry directory can contain keystores. Make sure to backup any keystores you want to keep. Remove Foundry from PATH: