# Quick Start

{% hint style="info" %}
If you've been interested in running a Celestia Light Node and have a spare Android device, here is a step by step tutorial to run the Light Node Client on it.

You will need:&#x20;

* Memory: 2 GB RAM
* CPU: Single Core
* Disk: 50 GB SSD Storage
* Bandwidth: 56 Kbps for Download/56 Kbps for Upload
  {% endhint %}

{% hint style="info" %}
**Good to know:** Make sure you have installed everything below before starting the process, it will make the entire thing a lot easier.
{% endhint %}

## Prerequisites

* Termux - [Click Here](https://github.com/termux/termux-app/releases/download/v0.118.0/termux-app_v0.118.0+github-debug_arm64-v8a.apk)
* An android or ARM device for this guide

## Setting up Termux

Once you have downloaded and opened the .APK linked above, navigate to it via the files app and open it, it will prompt you to install Termux. You will want to install the following packages via the pkg commands below.

{% tabs %}
{% tab title="cmd" %}

```
pkg install golang
pkg install make
pkg install git
```

{% endtab %}
{% endtabs %}

{% hint style="info" %}
**Good to know:** Missing any of these will force you to do the process slightly out of order, which can be confusing to those unfamiliar with the Linux command line.
{% endhint %}

## Verifying Installs

Now that you have installed the required packages, we can verify they are present on the system.

{% tabs %}
{% tab title="cmd" %}

```
go version
git version
```

{% endtab %}
{% endtabs %}

## Downloading and Installing Celestia Light Node

{% tabs %}
{% tab title="cmd" %}

```
cd $HOME
rm -rf celestia-node
git clone https://github.com/celestiaorg/celestia-node.git
cd celestia-node/
```

{% endtab %}
{% endtabs %}

{% hint style="info" %}
The block of commands above does the following:\
1\) Changes the directory to the $HOME directory.

2\) Removes any instance of a previous installation attempt via rm (remove)

3\) Uses git to clone the repository of the node

4\) Changes the directory to the /celestia-node folder.
{% endhint %}

## Compiling the Node

{% hint style="info" %}
Make sure you are still in the celestia-node directory, or else these steps won't work.
{% endhint %}

{% tabs %}
{% tab title="cmd" %}

```
git checkout tags/v0.12.0
```

{% endtab %}
{% endtabs %}

* This changes the version to the appropriate one which we are compiling.

### Building the Celestia Binaries

```cmake
make build
```

### Installing the Celestia Binaries

```cmake
make install
```

### Building Cel-Key Utility

```cmake
make cel-key
```

### Verify the Binary is Working

```
celestia version
```

The output will show the semantic version of celestia-node, commit hash, build date, system version, and Golang version.

### Creating a Key to Be Used With The Node

```
./cel-key add my_celes_key --keyring-backend test --node.type light --p2p.network celestia
```

{% hint style="danger" %}
This will give you a seed phrase, I recommend you import it on a Cosmos wallet for ease of access.
{% endhint %}

### Verifying Your Wallet is Correct

```
./cel-key list --node.type light --keyring-backend test --p2p.network celestia
```

The command above will give you the public key of the wallet, this is optional, but good to know how to do.

### Exporting Your Private Key

```
./cel-key export my_celes_key --keyring-backend test --node.type light --p2p.network celestia --unsafe --unarmored-hex
```

The command above will print your private key in unarmored hexadecimal format in the event you need it.

### Initializing the Node

```
celestia light init
```

### Starting The Node

```
celestia light start
```

The node will now be running on your device, I recommend the following when using Termux to keep it easier.

1\) Swipe down on your phone as if you are checking your notifications.

2\) Termux will have a tab up there.

3\) That tab will have an option something along the lines of "enable wake-lock"

4\) Enable wake-lock and restart the app, you will have to restart your node using:

```
celestia light start
```

{% hint style="info" %}
It appears these nodes have a tendency to close when your android device enters deep sleep, to restart you may run the above command without any repeated setup.
{% endhint %}


---

# Agent Instructions: 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:

```
GET https://lightnodes.gitbook.io/celestia-light-node/quick-start.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
