# 下载并安装yq
sudo wget https://github.com/mikefarah/yq/releases/latest/download/yq_linux_amd64 -O /usr/local/bin/yq
# 赋予执行权限
sudo chmod +x /usr/local/bin/yq
# 验证安装
yq --version
[root@bastion quickstart]# sudo wget https://github.com/mikefarah/yq/releases/latest/download/yq_linux_amd64 -O /usr/local/bin/yq
--2025-09-26 08:28:16-- https://github.com/mikefarah/yq/releases/latest/download/yq_linux_amd64
Resolving github.com (github.com)... 20.205.243.166
Connecting to github.com (github.com)|20.205.243.166|:443... connected.
HTTP request sent, awaiting response... Read error (The TLS connection was non-properly terminated.) in headers.
Retrying.
--2025-09-26 08:29:49-- (try: 2) https://github.com/mikefarah/yq/releases/latest/download/yq_linux_amd64
Connecting to github.com (github.com)|20.205.243.166|:443... failed: Connection timed out.
Resolving github.com (github.com)...

最低0.47元/天 解锁文章
1779

被折叠的 条评论
为什么被折叠?



