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

#### 操作步骤

1. 使用PuTTY工具，以root用户登录服务器。
2. 使用git clone命令拉取Madagascar源码。

```
cd
/path/to/
madagascar
git clone --recursive https://github.com/ahay/src.git
```
