> For the complete documentation index, see [llms.txt](https://www.coincashew.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://www.coincashew.com/spanish/coins/overview-eth/archived-guides/guide-or-how-to-setup-a-validator-on-eth2-mainnet/part-ii-maintenance/uninstalling-v1-staking-node.md).

# Uninstalling V1 Staking Node

{% hint style="info" %}
Whether changing clients for client diversity purposes, moving to a new node, or retiring a staking node, here's how to uninstall the three key components of a staking node.
{% endhint %}

### Uninstalling eth1 client&#x20;

```bash
sudo systemctl stop eth1
sudo systemctl disable eth1
sudo rm /etc/systemd/system/eth1.service

#Nethermind
sudo rm -rf $HOME/nethermind
sudo rm -rf $HOME/.nethermind

#Besu
sudo rm -rf $HOME/besu
sudo rm -rf $HOME/besu_backup*
sudo rm -rf $HOME/.besu

#Geth
sudo rm -rf /usr/bin/geth
sudo rm -rf $HOME/.ethereum

#Erigon
sudo rm -rf $HOME/erigon
sudo rm -rf /var/lib/erigon
```

### Uninstalling beacon-chain client&#x20;

```bash
sudo systemctl stop beacon-chain
sudo systemctl disable beacon-chain
sudo rm /etc/systemd/system/beacon-chain.service

#Lighthouse
sudo rm -r $HOME/.cargo/bin/lighthouse
sudo rm -rf ~/.lighthouse/mainnet/beacon

#Lodestar
sudo rm -rf $HOME/git/lodestar
sudo rm -rf /var/lib/lodestar

#Teku
sudo rm -rf /usr/bin/teku
sudo rm -rf /var/lib/teku

#Nimbus
sudo rm -r /usr/bin/nimbus_beacon_node
sudo rm -rf /var/lib/nimbus

#Prysm
sudo rm -rf $HOME/prysm
sudo rm -rf ~/.eth2/beaconchaindata
```

### Uninstalling validator

```bash
sudo systemctl stop validator
sudo systemctl disable validator
sudo rm /etc/systemd/system/validator.service

#Lighthouse
sudo rm -rf ~/.lighthouse/mainnet/validators

#Lodestar
sudo rm -rf /var/lib/lodestar

#Teku
sudo rm -rf /var/lib/teku/validator

#Nimbus
sudo rm -rf /var/lib/nimbus/validators

#Prysm
sudo rm -rf ~/.eth2validators/prysm-wallet-v2
```


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://www.coincashew.com/spanish/coins/overview-eth/archived-guides/guide-or-how-to-setup-a-validator-on-eth2-mainnet/part-ii-maintenance/uninstalling-v1-staking-node.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
