---
title: 获取源码
description: "1. 使用PuTTY工具，以root用户登录服务器。"
url: https://www.hikunpeng.com/document/detail/zh/kunpenghpcs/hpcindapp/prtg-osc/kunpengthrust_02_0008.html
sourcePath: /source/zh/kunpenghpcs/hpcindapp/prtg-osc/kunpengthrust_02_0008.html
indexId: 45df86c6ecf7cd16596dbf5e7d8c61cb94c50b04a17dc4e39472164440d9320868
---
# 获取源码

#### 操作步骤

1. 使用PuTTY工具，以root用户登录服务器。
2. 执行以下命令获取Thrust源码。

```
cd
/path/to
/thrust
git clone --recursive https://github.com/NVIDIA/thrust.git
```
