---
title: Version Upgrade
slug: v00/version-upgrade
description: Find step-by-step instructions on upgrading a previously installed and functional validator in this document. Learn how to update the repository, checkout the new version, and build the latest release. Discover how to create new folders for the updated ve
docTags: 
createdAt: 2023-08-23T03:43:48.502Z
---

:::hint{type="warning"}
Upgrade is not required at this point!

Only use this guide to upgrade a validator that was installed and working using the previous guide!
:::

:::hint{type="info"}
This process can be completed on a validator that is running but may fall delinquent if resources are too limited. Complete using `xand` user without `sudo` privledge.
:::

# Update repo, checkout new tag, and build.

Change directory into validator repo

:::CodeblockTabs
CLI

```linux
cd ~/solana
```
:::

Update repo&#x20;

:::CodeblockTabs
CLI

```linux
git remote update origin --prune
```
:::

Checkout new version number

:::CodeblockTabs
CLI

```linux
git checkout v1.16.10
```
:::

Build new release

:::CodeblockTabs
CLI

```linux
./cargo build --release
```
:::

:::hint{type="info"}
NOTE: Try adding `-j 2` to limit the build to 2 cpu cores if needed.
:::



# When build completes, create new folders for the new version.

:::CodeblockTabs
CLI

```linux
mkdir ~/.local/share/solana/install/releases/1.16.10/bin -p
```
:::

Change directory into new build release folder

:::CodeblockTabs
CLI

```linux
cd ~/solana/target/release
```
:::

Move all files to new `bin` folder

:::CodeblockTabs
CLI

```linux
mv * .* ~/.local/share/solana/install/releases/1.16.10/bin
```
:::

:::hint{type="info"}
Ignore these errors...as these folders can't move:

`mv: cannot move '.' to '/home/xand/.local/share/solana/install/releases/1.16.10/bin/.': Device or resource busy`
`mv: cannot move '..' to '/home/xand/.local/share/solana/install/releases/1.16.10/bin/..': Device or resource busy`
:::

Check your current version and note so you can compare with later

:::CodeblockTabs
CLI

```linux
solana -V
```
:::

# Update the symlink to point to new binaries

:::hint{type="info"}
ln -sf \<path/to/binaries/> \<path/to/symlink/>
:::

:::CodeblockTabs
CLI

```linux
ln -sf /home/xand/.local/share/solana/install/releases/1.16.10/bin/ /home/xand/.local/share/solana/install/releases/active_release/
```
:::

Check your new version is being used and compare with former

:::CodeblockTabs
CLI

```linux
solana -V
```
:::

If the new version shows up, then time to restart your validator! It will restart using the new binaries.

:::CodeblockTabs
CLI

```linux
solana-validator --ledger ~/ledger exit --max-delinquent-stake 10 --min-idle-time 0 --monitor
```
:::

:::hint{type="info"}
NOTE: Follow along with the restart using the `./mon.sh` and `./catchup.sh` tools in another shell created in [Monitoring your validator](docId\:H7WUjkBUV1l28im8DQxRD)
:::

