---
# System prepended metadata

title: "Setting up ordinals on \U0001FA9FWindows \U0001FA9F"

---

Setting up ordinals on 🪟Windows 🪟

# Prerequisites 
You need to be running bitcoind 

# Setup

## Step 1 - Download ordinal client

a. visit https://github.com/ordinals/ord/releases
b. scroll to Assets ![scroll3](https://hackmd.io/_uploads/SyEBWZ50a.gif) 
download file ending with `-x86_64-pc-windows-msvc.zip`
c. extract the downloaded archive

## Step 2 - running the ordinal client

a.
- We will be using our bitcoind node, that we setup previosly.
- Ord client needs to authentificate to access the bitcoind node.
- We will be using the cookie method to do this.
- When bitcoind starts, it creates a file in the data directory name `.cookie`, this file is hidden by default
- We need to point ord client to this file.

b. create a folder for your ordinal data e.g. `D:\btc\ord\data`

c. 
- the sync of the ordinal client can take a lot of time, we are going to speed it up by downloading an existing index
-    visit https://ordstuff.info/Downloads/indexes/0.16.x/
-    download the `index-without-satsXXX.gz` file into `D:\btc\ord\data`
-    unpack it
-    rename it to  `index.redb`

d. open the directoy where you extracted the zip file from step `1.b`

e. you should see a list of files ![image](https://hackmd.io/_uploads/H1L4S-5R6.png)

f. right click the empty space and select `Open in Terminal`
`I. empty space` 
`II. terminal`
![image](https://hackmd.io/_uploads/Hk3EIWqR6.png)

g. We will now:
- start the ordinal client
- point it to bitcoind data directory, where it can read the .cookie
- point it to directory where it will store data (separate directory from bitcoind)
- specify a port (this will prevent a conflict if an existing application is already using a port)
- we will do all of this as 1 command 
- type in `.\ord.exe --bitcoin-data-dir D:\btc\data --data-dir D:\btc\ord\data server --http-port 9060`

h. you should be good to go, open your browser to `https://localhost:9060`