cURL

Windowsでもcurlコマンドを使いたい

あきぞらです。

Windowsは仕事で使うことが多いです。

開発でAPIにリクエストを投げたいとき、

ぱっとコマンドプロンプトでCurlコマンド打てたら良いですよね。

今日はコマンドプロンプトでCurlコマンドを打つ方法を紹介します。

curl をWindowsで使うためにインストール

まずはインストール。

こちらからインストールができます。

ダウンロードするのは、Windows 64 bit か、Windows 32 bit で大丈夫です。

僕は64bitだったので64bitを選択しました。

インストールを確認

ダウンロードし、インストールができたら、

コマンドプロンプトを開きます。

コマンドプロンプトでcurl --version と打ち、バージョン情報が返ってきたらOKです。

>curl --version
curl 7.55.1 (Windows) libcurl/7.55.1 WinSSL
Release-Date: [unreleased]
Protocols: dict file ftp ftps http https imap imaps pop3 pop3s smtp smtps telnet tftp
Features: AsynchDNS IPv6 Largefile SSPI Kerberos SPNEGO NTLM SSL

 

-cURL

Copyright© あきぞらてっく , 2025 All Rights Reserved Powered by AFFINGER5.