> ## Documentation Index
> Fetch the complete documentation index at: https://dragonwingdocs.qualcomm.com/llms.txt
> Use this file to discover all available pages before exploring further.

# 更改 Hexagon 工具安装路径

`HEXAGON_ROOT` 环境变量告知构建系统 Hexagon 工具的安装位置。
默认情况下，`qsc-cli` 会将工具安装在 `$HOME` 下，
但您可以使用 `--path` 选项将其安装到任意目录。

安装后，将 `HEXAGON_ROOT` 设置为您传递给 `--path` 的同一目录。
两条命令中都要使用绝对路径，如以下
示例所示：

```bash theme={null}
mkdir -p <tools-dir>
qsc-cli tool extract --name hexagon8.4 --required-version 8.4.07 --path <tools-dir>/8.4.07
export HEXAGON_ROOT="<tools-dir>"
```
