> For the complete documentation index, see [llms.txt](https://cotidocs.geordier.co.uk/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://cotidocs.geordier.co.uk/installing-the-node/installing-a-node/step-6-ready-to-run-code.md).

# Install a full node

## Login to your VPS.

Connect to your VPS as the root user with putty or any other popular terminal connection program.

Once connected with root, copy the code below and paste it into your putty / terminal window and press enter.

{% hint style="info" %}
You can find the github repo [here](https://github.com/Geordie-R/coti-full-node) if you want to dig in to the code further.
{% endhint %}

```
rm -rf installfullnode.sh
wget -O installfullnode.sh https://raw.githubusercontent.com/Geordie-R/coti-full-node/main/installfullnode.sh
chmod +x installfullnode.sh
./installfullnode.sh
```

\#You will be asked if you are installing for mainnet or testnet.  Choose the number corresponding to the option

You will be asked a series of questions :

* Your SSH Port No (22 if you have not changed it)
* Your Ubuntu Username (use coti if not sure it will be created fresh)
* Your Email address&#x20;
* Your server hostname from namecheap or other provider of your choice e.g. coti.mynode.com&#x20;
* Your wallet private key  (**not** your secret key)
* Your wallet seed key
* \***Testnet only  - Node added 16/07/2022: -** (which version to launch type **3.1.0** for now)
* \***Mainnet only** (which version to launch e.g. 1.4.1 etc)

{% hint style="info" %}
If you are not sure of any of the answers that get asked above whilst running the code above, leave the answer empty and it will terminate after the questions so that you can run the installfullnode.sh script again on its own, as shown below.

```
./installfullnode.sh
```

{% endhint %}

Answer all of the questions, pressing enter after each answer, then the node will configure itself.

If you are not an exchange, please skip the next section and move on to the Finally checking you're up section.


---

# 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://cotidocs.geordier.co.uk/installing-the-node/installing-a-node/step-6-ready-to-run-code.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.
