curl is a small tool that helps you send requests to any website or server. You can use it to download files, check APIs, test URLs, and more. It works directly from the Termux terminal and is very fast for daily tasks.
Installation & Basic Commands
You can install curl easily with the package command. After installation, you can use curl to download files, get website data, or check headers.
Install curl:
pkg install curl -yCheck version:
curl --versionGet webpage content:
curl https://example.comDownload a file:
curl -O https://example.com/file.zipSave output to a specific file:
curl https://example.com -o output.txtShow only headers:
curl -I https://example.comSend a POST request (API testing):
curl -X POST -d "name=denver" https://example.com/app