---
title: asys工具环境准备
description: "已在CANN运行环境上安装Toolkit软件包。详细安装请参见《CANN 软件安装(https://www.hiascend.com/document/detail/zh/canncommercial/900/softwareinst/instg/instg_0000.html)》。"
url: https://www.hiascend.com/document/detail/zh/canncommercial/latest/maintenref/troubleshooting/troubleshooting_0097.html
sourcePath: /source/zh/canncommercial/900/maintenref/troubleshooting/troubleshooting_0097.html
indexId: 9d4067af21975c6fd1ae92d32a8334aa8633d45ea6e45915a6b4ef9e887d196582
---
# asys工具环境准备

已在CANN运行环境上安装Toolkit软件包。详细安装请参见《CANN 软件安装(https://www.hiascend.com/document/detail/zh/canncommercial/900/softwareinst/instg/instg_0000.html)》。

安装CANN软件后，使用CANN运行用户进行编译、运行时，需要以CANN运行用户登录环境，执行source ${INSTALL_DIR}/set_env.sh命令设置环境变量。${INSTALL_DIR}请替换为CANN软件安装后文件存储路径。以root用户安装为例，安装后文件默认存储路径为：/usr/local/Ascend/cann。

设置环境变量后，可直接输入asys命令符使用asys工具，无需进入asys工具所在的目录。
