# Upgrading Ord Client

## Review Release Notes

First step in upgrading is to scan through the release notes and note of any actions you will need to do when upgrading your client.  Release notes for ord can be found here:

{% embed url="<https://github.com/ordinals/ord/releases>" %}

For 0.18.2, there is an update that will require us to move current wallets in our ord data directory to a `/wallets` folder.

<figure><img src="https://276521378-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcQxHgc3ZgaH1kNeX8bk4%2Fuploads%2FnJSjOmkI6T3ZNdDK0msd%2Fimage.png?alt=media&#x26;token=aade0e83-8acd-4cd2-a220-48b89c20f029" alt=""><figcaption></figcaption></figure>

## Download Assets and Upgrade Ord Client

On the releases page, scroll down until you see Assets. For WINDOWS, you will download the Windows version.

<figure><img src="https://276521378-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcQxHgc3ZgaH1kNeX8bk4%2Fuploads%2FIfq7oPzp06irK8Hkx17W%2Fimage.png?alt=media&#x26;token=d25a8580-84ac-4cd1-9b7b-180ba9ee54cd" alt=""><figcaption></figcaption></figure>

Once that is done downloading, open your Downloads folder and Unzip/Extract the folder.

Open the folder that you Unzipped.  It should look like this:

<figure><img src="https://276521378-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcQxHgc3ZgaH1kNeX8bk4%2Fuploads%2Feh1J14D5aaZeMUsDljwi%2Fimage.png?alt=media&#x26;token=125a7830-7418-4296-8c1e-76a94d9e40b0" alt=""><figcaption></figcaption></figure>

Now, locate your Ord folder that houses your ord.exe client. If you followed my guide, it will be located here:\
`C:\Users\<yourname>\source\repos\ord\target\release`

<figure><img src="https://276521378-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcQxHgc3ZgaH1kNeX8bk4%2Fuploads%2FZrm6PKK7PovLfctP0TuK%2Fimage.png?alt=media&#x26;token=f8a8b222-3f96-4c52-a5fb-098be318a03f" alt=""><figcaption></figcaption></figure>

Rename the existing ord.exe to `ord 0-18-1` (you can update the 0-18-1 to the version you had before). This is just for safe keeping.

<figure><img src="https://276521378-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcQxHgc3ZgaH1kNeX8bk4%2Fuploads%2Ff9aa5nWizobpRgXX0vE3%2Fimage.png?alt=media&#x26;token=aa6fe216-eaa2-4a52-bb41-00b2bbbb9e91" alt=""><figcaption></figcaption></figure>

Now from your Downloads folder, move the new ord.exe client into the ord folder:

<figure><img src="https://276521378-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcQxHgc3ZgaH1kNeX8bk4%2Fuploads%2Fq155Mtfv74FSRlJ6Q561%2Fimage.png?alt=media&#x26;token=75f2b339-16f7-437a-bf5e-5a86bd7f6794" alt=""><figcaption></figcaption></figure>

It should look like this when you move it successfully:

<figure><img src="https://276521378-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcQxHgc3ZgaH1kNeX8bk4%2Fuploads%2FWFlGlicic4s8O16JXxk4%2Fimage.png?alt=media&#x26;token=3ee8ed82-098e-4987-a4cd-0214d09c7dfa" alt=""><figcaption></figcaption></figure>

Now, we will run a command to make sure our changes work.&#x20;

In your command terminal, cd (change  directory) to where your ord.exe client is located:

<figure><img src="https://276521378-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcQxHgc3ZgaH1kNeX8bk4%2Fuploads%2FwB5tJbXjFldIfddYGZKv%2Fimage.png?alt=media&#x26;token=cc5c62ff-2a1c-4a73-80bd-d20a843f5494" alt=""><figcaption></figcaption></figure>

Now run `./ord --version`

<figure><img src="https://276521378-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcQxHgc3ZgaH1kNeX8bk4%2Fuploads%2FJnYhg3N6uT6e4Tp7bDpv%2Fimage.png?alt=media&#x26;token=1920d8a0-1b96-4672-8873-69cbebe3ee09" alt=""><figcaption></figcaption></figure>

You can now see my ord client has successfully upgraded to 0.18.2.

## Migration Action Items

For 0.18.2, we will need to follow the migration action items that were provided in the release notes:

<figure><img src="https://276521378-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcQxHgc3ZgaH1kNeX8bk4%2Fuploads%2FgTutUhKRYxYAscCoxNEW%2Fimage.png?alt=media&#x26;token=db6f52d5-56ac-455a-bdbe-d3129081d008" alt=""><figcaption></figcaption></figure>

We will need to locate your ord data directory folder:

* Those who saved the ord data directory on the default C drive, you will be able to find the ord data directory folder by accessing your AppData folder:
  * In your start bar (on the bottom of your computer), in the search field, type `%appdata%`and press enter. Go to your Roaming folder (if needed, you may already be there).  Find your `ord` folder.
* ON SSD/External:  Find the ord data directory directly on your SSD by going to the designated folder. In your commands, you will usually put a --data-dir \<path> flag.  Go to that \<path> folder.

In my ord data directory you will see I have my index.redb, and then my two wallets .redb files (ord.redb and PIZZA.redb):

<figure><img src="https://276521378-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcQxHgc3ZgaH1kNeX8bk4%2Fuploads%2FzUVkEJDV6IC73150i9kA%2Fimage.png?alt=media&#x26;token=ebd0a4be-6162-445b-ab6e-5585b9cc7a67" alt=""><figcaption></figcaption></figure>

Create a new folder called `wallets`

<figure><img src="https://276521378-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcQxHgc3ZgaH1kNeX8bk4%2Fuploads%2FQrRoBgiYALr9GjKYjQyc%2Fimage.png?alt=media&#x26;token=79796519-1203-43f7-ae8c-bea3063427c4" alt=""><figcaption></figcaption></figure>

Now move your wallet .redb files into the `wallets` folder:

<figure><img src="https://276521378-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcQxHgc3ZgaH1kNeX8bk4%2Fuploads%2FH5ZIJXBFZZu7wW67BvZ9%2Fimage.png?alt=media&#x26;token=c965d09e-67d8-4adf-9d18-96714038512f" alt=""><figcaption></figcaption></figure>

Now the ord folder will look like this:

<figure><img src="https://276521378-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcQxHgc3ZgaH1kNeX8bk4%2Fuploads%2FwCgQfoe5tVULeN8Psv3U%2Fimage.png?alt=media&#x26;token=9e8ab22f-b1c9-4e2b-8ffd-9fef0233df53" alt=""><figcaption></figcaption></figure>

... and my wallets will be in the new wallet folder:

<figure><img src="https://276521378-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcQxHgc3ZgaH1kNeX8bk4%2Fuploads%2Fl0NO1xCQw8unPiAIL4Mw%2Fimage.png?alt=media&#x26;token=996dab98-aeec-4b66-8755-ff7106f6a46d" alt=""><figcaption></figcaption></figure>

**If you have any signet/testnet folders , do the same thing for those wallets!**

Example of signet:

<figure><img src="https://276521378-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcQxHgc3ZgaH1kNeX8bk4%2Fuploads%2Ftxqikn0Yg2tBTLdIygAN%2Fimage.png?alt=media&#x26;token=dcea20a1-c383-4dd2-acd4-1e4920e1e81a" alt=""><figcaption></figcaption></figure>

<figure><img src="https://276521378-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcQxHgc3ZgaH1kNeX8bk4%2Fuploads%2FDROI90UmeRA1Ntl1sjiI%2Fimage.png?alt=media&#x26;token=f26b9ffc-3372-4430-8e48-ff456b1807db" alt=""><figcaption></figcaption></figure>
