# \</> Command-line installation

{% hint style="info" %}
Our [**Releases**](https://github.com/Titannet-dao/titan-node/releases) section on GitHub is the best place to locate the latest binary releases and view the source code.
{% endhint %}

{% tabs %}
{% tab title="🖼️Windows" %}

### Step 1: Download the CLI <a href="#step-1-download-the-advanced-cli-executables" id="step-1-download-the-advanced-cli-executables"></a>

{% embed url="<https://github.com/Filecoin-Titan/titan/releases>" %}

### Step 2: Start the CLI <a href="#step-1-download-the-advanced-cli-executables" id="step-1-download-the-advanced-cli-executables"></a>

```
titan-edge daemon start --init --url https://test-locator.titannet.io:5000/rpc/v0
```

###

### **Step 3: Request an 👉**[**identity code**](/titan-network-en/huygens-testnet/about-huygens-testnet/installation-and-earnings/bind-the-identity-code.md)**👈**

###

### Step 4: Bind the identity code

*Replace the applied <mark style="color:red;">identity code</mark> with  <mark style="color:red;">**your-hash-here**</mark>*

```
titan-edge bind --hash=your-hash-here https://api-test1.container1.titannet.io/api/v2/device/binding
```

### Step 5: Stop the CLI

```
titan-edge daemon stop
```

{% endtab %}

{% tab title="🍎MacOS" %}

### Step 1: Download the CLI <a href="#step-1-download-the-advanced-cli-executables" id="step-1-download-the-advanced-cli-executables"></a>

{% embed url="<https://github.com/Filecoin-Titan/titan/releases>" %}

### Step 2: Start the CLI <a href="#step-1-download-the-advanced-cli-executables" id="step-1-download-the-advanced-cli-executables"></a>

```
titan-edge daemon start --init --url https://test-locator.titannet.io:5000/rpc/v0
```

###

### **Step 3: Request an 👉**[**identity code**](/titan-network-en/huygens-testnet/about-huygens-testnet/installation-and-earnings/bind-the-identity-code.md)**👈**

###

### Step 4: Bind the identity code

*Replace the applied <mark style="color:red;">identity code</mark> with  <mark style="color:red;">**your-hash-here**</mark>*

```
titan-edge bind --hash=your-hash-here https://api-test1.container1.titannet.io/api/v2/device/binding
```

### Step 5: Stop the CLI

```
titan-edge daemon stop
```

{% endtab %}

{% tab title="🐧Linux" %}

### Step 1: Download the CLI <a href="#step-1-download-the-advanced-cli-executables" id="step-1-download-the-advanced-cli-executables"></a>

{% embed url="<https://github.com/Filecoin-Titan/titan/releases>" %}

### Step 2: Start the CLI <a href="#step-1-download-the-advanced-cli-executables" id="step-1-download-the-advanced-cli-executables"></a>

```
titan-edge daemon start --init --url https://test-locator.titannet.io:5000/rpc/v0
```

###

### **Step 3: Request an 👉**[**identity code**](/titan-network-en/huygens-testnet/about-huygens-testnet/installation-and-earnings/bind-the-identity-code.md)**👈**

###

### Step 4: Bind the identity code

*Replace the applied <mark style="color:red;">identity code</mark> with  <mark style="color:red;">**your-hash-here**</mark>*

```
titan-edge bind --hash=your-hash-here https://api-test1.container1.titannet.io/api/v2/device/binding
```

### Step 5: Stop the CLI

```
titan-edge daemon stop
```

{% endtab %}

{% tab title="🐳Docker" %}

### Step 1: Download the Image <a href="#step-1-download-the-advanced-cli-executables" id="step-1-download-the-advanced-cli-executables"></a>

```
docker pull nezha123/titan-edge
```

### Step 2:  Create your own storage path <a href="#step-1-download-the-advanced-cli-executables" id="step-1-download-the-advanced-cli-executables"></a>

```
mkdir ~/.titanedge
```

### Step 3: Run the node

```
docker run -d -v ~/.titanedge:/root/.titanedge nezha123/titan-edge
```

### Step 4: Enter the Container

```
docker exec -it * /bin/bash
```

*<mark style="color:red;">\*</mark> <mark style="color:red;"></mark><mark style="color:red;">**is your container ID applied from step 3**</mark>*

### Step 5: Bind the applied **👉**[**identity code**](/titan-network-en/huygens-testnet/about-huygens-testnet/installation-and-earnings/bind-the-identity-code.md)**👈**

&#x20;*Replace the applied <mark style="color:red;">identity code</mark> with  <mark style="color:red;">your-hash-here</mark>*

```
titan-edge bind --hash=your-hash-here https://api-test1.container1.titannet.io/api/v2/device/binding
```

{% endtab %}

{% tab title="⚙️ Source code" %}

```
git clone https://github.com/Titannet-dao/titan-node.git

make
```

### &#x20;<a href="#step-1-download-the-advanced-cli-executables" id="step-1-download-the-advanced-cli-executables"></a>

{% endtab %}
{% endtabs %}


---

# 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://titannet.gitbook.io/titan-network-en/huygens-testnet/about-huygens-testnet/installation-and-earnings/less-than-greater-than-command-line-installation.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.
