# 下载更新

> *译自：*[*Download and update*](https://github.com/sqlmapproject/sqlmap/wiki/Download-and-update)

点击[这里](https://github.com/sqlmapproject/sqlmap/tarball/master)下载最新版本的 tar 源码包，或者点击[这里](https://github.com/sqlmapproject/sqlmap/zipball/master)下载最新版本的 zip 源码包。

更好的方式是，直接使用 Git 克隆 sqlmap 仓库。[Git](https://github.com/sqlmapproject/sqlmap)：

```
git clone --depth 1 https://github.com/sqlmapproject/sqlmap.git sqlmap-dev
```

或者，你可以从 [PyPI](https://pypi.org/project/sqlmap/) 仓库获取最新的（按月更新）软件包：

```
pip install --upgrade sqlmap
```

在任意时刻，你可以通过下面的方式获取最新版本：

```
python sqlmap.py --update
```

或者：

```
git pull
```


---

# 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://sqlmap.highlight.ink/download-and-update.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.
