在 VPS SSH 使用一键脚本等命令行操作的时候,执行curl命令会提示:curl: command not found ,按照以下命令操作即可。
ubuntu/debian 系统安装 Curl 命令行:
apt-get update -y && apt-get install curl -y
centos 系统安装 Curl 命令行:
yum update -y && yum install curl -y
安装好 curl 之后就可以使用一键脚本了。
在 VPS SSH 使用一键脚本等命令行操作的时候,执行curl命令会提示:curl: command not found ,按照以下命令操作即可。
ubuntu/debian 系统安装 Curl 命令行:
apt-get update -y && apt-get install curl -y
centos 系统安装 Curl 命令行:
yum update -y && yum install curl -y
安装好 curl 之后就可以使用一键脚本了。