### 下载

```bash
   curl -LO "https://dl.k8s.io/release/$(curl -L -s https://dl.k8s.io/release/stable.txt)/bin/linux/amd64/kubectl"
```



### 安装

```bash
sudo install -o root -g root -m 0755 kubectl /usr/local/bin/kubectl
```

