# How to edit / update Deez's update\_znnd.sh script

**URL:** https://forum.hypercore.one/t/how-to-edit-update-deezs-update-znnd-sh-script/601
**Category:** Development
**Created:** [April 26, 2025, 8:16pm UTC](https://forum.hypercore.one/t/how-to-edit-update-deezs-update-znnd-sh-script/601 "2025-04-26T20:16:27Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![Stark](https://forum.hypercore.one/user_avatar/forum.hypercore.one/stark/32/656_2.png) [@Stark](https://forum.hypercore.one/u/Stark)
#### Post date: [April 26, 2025, 8:16pm UTC](https://forum.hypercore.one/t/how-to-edit-update-deezs-update-znnd-sh-script/601/1 "2025-04-26T20:16:27Z")

</div>

Deez [provided a script](https://forum.hypercore.one/t/how-to-upgrade-znnd-to-v0-0-8-with-the-hc1-binary/598) for pillars to update znnd.

These instructions will guide you through the process of editing the script for future releases and for your specific hardware architecture.

# 1. Check to see if you already have the script downloaded.

Change directory to /root and list the directory contents:

```auto
cd /root
ls

```

If you see `update_znnd.sh` continue with the Step 2 below. If you don’t already have the script:

## Download the update script (if needed):

```auto
curl -o /root/update_znnd.sh https://gist.githubusercontent.com/0x3639/55adce44326c6acaa384bcabac8705ef/raw/31fd6e73b171d95252e2392e8c47869bcc53503f/update_znnd.sh

```

This downloads a file called `update_znnd.sh` to your pillar.

# 2. Open the script in the nano editor.

```auto
nano /root/update_znnd.sh

```

 ![Screenshot 2025-04-26 at 4.04.14 PM](https://hypercore.nyc3.digitaloceanspaces.com/original/1X/9bbd66b3534ee868f0481d3298aa690dae3efde0.png)  
  

# 3. Visit the official zenon github, and right-click copy the link for the latest version that matches your architecture:

[https://github.com/zenon-network/go-zenon/releases](https://github.com/zenon-network/go-zenon/releases)

# 4. Backspace the DOWNLOAD\_URL in the script and paste the new url.
 (Be certain that the url is "enclosed by quotation marks".

 ![Screenshot 2025-04-26 at 3.55.27 PM](https://hypercore.nyc3.digitaloceanspaces.com/original/1X/9d0626022e17cb3992615b1c4a962b3098fe8bb9.png)  
  

# 5. Open SHA256CHECKSUMS.txt for the latest release:

[https://github.com/zenon-network/go-zenon/releases](https://github.com/zenon-network/go-zenon/releases)

 ![Screenshot 2025-04-26 at 3.54.40 PM](https://hypercore.nyc3.digitaloceanspaces.com/original/1X/fa868fd286e0562e2dcdf563c3db567afd4eb1f6.png)  
  

# 6. Copy the checksum string from the left column, that matches with your architecture in the right column.

Example:

 ![Screenshot 2025-04-26 at 3.53.40 PM](https://hypercore.nyc3.digitaloceanspaces.com/original/1X/1413e2f5559fa6e081dffed08eb05ba974faff5e.png)  
  

# 7. Backspace the EXPECTED\_CHECKSUM in the script and paste the new checksum.
 (Be certain that the checksum is "enclosed by quotation marks".

 ![Screenshot 2025-04-26 at 4.05.12 PM](https://hypercore.nyc3.digitaloceanspaces.com/original/1X/7ccd7e9116905cf2d3798d0835c56883ad02ed40.png)  
  

# 8. ctrl+X, save
  

# 9. Make the script executable:

```auto
chmod +x /root/update_znnd.sh

```

  

# 10. Stop the go-zenon service:

```auto
sudo systemctl stop go-zenon

```

  

# 11. Run the update script:

```auto
sudo /root/update_znnd.sh

```

## The script will:

- Download the new version of znnd.
- Replace the old znnd with the new one.
- Restart the service.  
  

# 12. Wait for the script to finish.
It may take a minute or two. You’ll see messages in the Terminal as it works. When it’s done, you’ll return to the Terminal prompt.
