---
title: 下载Istio
description: "本文依据使用的K8s v1.28.14，下载对应的Istio 1.23.4进行安装。"
url: https://www.hikunpeng.com/document/detail/zh/kunpengcpfs/ecosystemEnable/Istio/kunpeng_istio_zn_004.html
sourcePath: /source/zh/kunpengcpfs/ecosystemEnable/Istio/kunpeng_istio_zn_004.html
indexId: 4348a3d05586ee3d16cdd2f477ea58a917e4e8b783764cf2429ff739f7b0f7c470
---
# 下载Istio

本文依据使用的K8s v1.28.14，下载对应的Istio 1.23.4进行安装。

安装的Istio版本需要满足Istio 版本的支持状态(https://istio.io/latest/zh/docs/releases/supported-releases/#support-status-of-istio-releases)，请根据K8s的版本选取对应的Istio版本。

1. 在GitHub(https://github.com/istio/istio/releases)下载适用于操作系统的安装文件，或者运行如下命令自动下载并解压指定版本。
  1 curl -L https://istio.io/downloadIstio | ISTIO_VERSION=1.23.4 TARGET_ARCH=arm64 sh

  上述命令将下载适用于ARM64架构的Istio 1.23.4。

2. 进入Istio软件包目录。以软件包istio-1.23.4为例，可运行如下命令。
  1 cd istio-1.23.4

  安装目录的“bin/”目录中包含istioctl客户端可执行文件。

3. 将istioctl客户端可执行文件路径添加到Path中。如下两种方式二选一即可。

  - 临时写入到系统Path中（仅在运行当前命令的终端窗口生效）。
    1 export PATH=$PWD/bin:$PATH

  - 永久写入到系统Path中（对所有终端窗口生效）。

    a. 打开“/etc/profile”文件。

```
vi /etc/profile
```


    b. 按“i”进入编辑模式，在文件末尾添加如下内容。

```
export PATH=$PWD/bin:$PATH
```


    c. 按“Esc”键退出编辑模式，输入:wq!，按“Enter”键保存退出文件。
    d. 使文件生效。

```
source /etc/profile
```
