Linux 系统运行 curl 命令提示错误:

curl: command not found

错误原因是系统中没有安装 curl,使用如下命令安装 curl 后再次运行正确执行。

ubuntu/debian 系统:

apt-get update -y && apt-get install curl -y

centos 系统:

yum update -y && yum install curl -y