Skip to content

Commit fe04be8

Browse files
redtramagrandizzymattsse
authored
docs: add uninstall instructions (#10335)
* add uninstall instructions * Update foundryup/README.md Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de> --------- Co-authored-by: grandizzy <38490174+grandizzy@users.noreply.github.com> Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
1 parent 9963414 commit fe04be8

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

foundryup/README.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,3 +79,22 @@ foundryup --path ./git/foundry
7979
**Tip**: All flags have a single character shorthand equivalent! You can use `-i` instead of `--install`, etc.
8080

8181
---
82+
83+
84+
## Uninstalling
85+
86+
Foundry contains everything in a `.foundry` directory, usually located in `/home/user/.foundry/`.
87+
88+
- To uninstall Foundry remove the `.foundry` directory.
89+
90+
##### Note: .foundry directory can contain keystores. Make sure to backup any keystores you want to keep.
91+
92+
93+
Remove Foundry from PATH:
94+
95+
- Optionally Foundry can be removed from editing shell configuration file (`.bashrc`, `.zshrc`, etc.) and remove the line that adds Foundry to PATH:
96+
97+
```
98+
export PATH="$PATH:/home/user/.foundry/bin"
99+
```
100+

0 commit comments

Comments
 (0)