> For the complete documentation index, see [llms.txt](https://help.titanapp.info/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.titanapp.info/titan-network-zhong-wen/3-ce-ka-xi-ni-ce-shi-wang/yun-xing-jie-dian/l2-edge-jie-dian/yun-xing-jie-dian-zhuan-qu/ru-he-zai-linux-shang-yun-xing-titan.md).

# 如何在 Linux 上运行 Titan

{% hint style="danger" %}
**🚨重要提示🚨**

如果您是参与过Herschel测试网的用户，需要手动清理之前运行的节点数据。否则节点将无法运行🚨

**🔘**[**去清理**](/titan-network-zhong-wen/3-ce-ka-xi-ni-ce-shi-wang/yun-xing-jie-dian/l2-edge-jie-dian/yun-xing-jie-dian-zhuan-qu/lao-jie-dian-qing-li-zhi-nan/linux-jie-dian-shu-ju-qing-li.md)

*如果您之前从未运行过Titan节点，请直接参考下面的教程运行。*
{% endhint %}

{% hint style="info" %}
我们的 GitHub 上的 [**Releases**](https://github.com/Titannet-dao/titan-node/releases) 部分是获取最新二进制发布版本和查看源代码的最佳位置。
{% endhint %}

### 步骤 1: 下载 CLI Titan节点文件 <a href="#step-1-download-the-advanced-cli-executables" id="step-1-download-the-advanced-cli-executables"></a>

{% embed url="<https://github.com/Titannet-dao/titan-node/releases/download/v0.1.20/titan-edge_v0.1.20_246b9dd_linux-amd64.tar.gz>" %}

### 步骤2: 解压下载的文件 <a href="#step-1-download-the-advanced-cli-executables" id="step-1-download-the-advanced-cli-executables"></a>

打开终端，导航到下载文件的目录，然后执行以下命令进行解压：

```
tar -zxvf titan-edge_v0.1.20_246b9dd_linux-amd64.tar.gz
```

### 步骤3: 进入解压后的目录

使用以下命令进入解压后的目录：

```
cd titan-edge_v0.1.20_246b9dd_linux-amd64
```

### 步骤4: 安装Titan Edge <a href="#step-1-download-the-advanced-cli-executables" id="step-1-download-the-advanced-cli-executables"></a>

将 `titan-edge` 可执行文件复制到系统的 `/usr/local/bin` 目录下：

```
sudo cp titan-edge /usr/local/bin
```

### 步骤5: 安装库文件 <a href="#step-1-download-the-advanced-cli-executables" id="step-1-download-the-advanced-cli-executables"></a>

将库文件（假设名为 `libgoworkerd.so`）复制到系统的 `/usr/local/lib` 目录下：

```
sudo cp libgoworkerd.so /usr/local/lib
```

### 步骤6:sudo ldconfig <a href="#step-1-download-the-advanced-cli-executables" id="step-1-download-the-advanced-cli-executables"></a>

```
sudo ldconfig
```

### 步骤 7: 启动 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://cassini-locator.titannet.io:5000/rpc/v0
```

### **步骤 8:  👉**[**申请身份码**](/titan-network-zhong-wen/hui-geng-si-ce-shi-wang/huygens-testnet/an-zhuang-cheng-xu-zhuan-qu/bang-ding-shen-fen-ma.md)**👈**

### 步骤 9:绑定身份码

*将申请到的 <mark style="color:red;">**身份码**</mark> 替换 <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
```

### **步骤 10: 停止节点**

```
titan-edge daemon stop
```


---

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

```
GET https://help.titanapp.info/titan-network-zhong-wen/3-ce-ka-xi-ni-ce-shi-wang/yun-xing-jie-dian/l2-edge-jie-dian/yun-xing-jie-dian-zhuan-qu/ru-he-zai-linux-shang-yun-xing-titan.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.
