DZone
Thanks for visiting DZone today,
Edit Profile
  • Manage Email Subscriptions
  • How to Post to DZone
  • Article Submission Guidelines
Sign Out View Profile
  • Post an Article
  • Manage My Drafts
Over 2 million developers have joined DZone.
Log In / Join
Refcards Trend Reports
Events Video Library
Refcards
Trend Reports

Events

View Events Video Library

Zones

Culture and Methodologies Agile Career Development Methodologies Team Management
Data Engineering AI/ML Big Data Data Databases IoT
Software Design and Architecture Cloud Architecture Containers Integration Microservices Performance Security
Coding Frameworks Java JavaScript Languages Tools
Testing, Deployment, and Maintenance Deployment DevOps and CI/CD Maintenance Monitoring and Observability Testing, Tools, and Frameworks
Culture and Methodologies
Agile Career Development Methodologies Team Management
Data Engineering
AI/ML Big Data Data Databases IoT
Software Design and Architecture
Cloud Architecture Containers Integration Microservices Performance Security
Coding
Frameworks Java JavaScript Languages Tools
Testing, Deployment, and Maintenance
Deployment DevOps and CI/CD Maintenance Monitoring and Observability Testing, Tools, and Frameworks

How are you handling the data revolution? We want your take on what's real, what's hype, and what's next in the world of data engineering.

Generative AI has transformed nearly every industry. How can you leverage GenAI to improve your productivity and efficiency?

SBOMs are essential to circumventing software supply chain attacks, and they provide visibility into various software components.

Related

  • Aggregating REST APIs Calls Using Apache Camel
  • Update User Details in API Test Client Using REST Assured [Video]
  • Create User API Test Client With REST Assured [Video]
  • How to Make a REST API Call in Angular

Trending

  • Effective Exception Handling in Java and Spring Boot Applications
  • What Is Plagiarism? How to Avoid It and Cite Sources
  • When Incentives Sabotage Product Strategy
  • Self-Supervised Learning Techniques
  1. DZone
  2. Software Design and Architecture
  3. Integration
  4. How to Install cURL on Windows

How to Install cURL on Windows

cURL requires an install on Windows. Learn how to do so easily using a one-click installer or Chocolatey, or by using the official cURL binaries, with videos to help.

By 
Alan Richardson user avatar
Alan Richardson
·
Apr. 02, 18 · Tutorial
Likes (6)
Comment
Save
Tweet
Share
50.9K Views

Join the DZone community and get the full member experience.

Join For Free

I remember cURL being easier to install than it currently seems to be. I've had a few questions from people working through my book "Automating and Testing a REST API" on who were experiencing difficulties installing cURL on Windows. I documented a few different approaches.

In order of easiness:

  • Install it using Chocolatey.
  • Install it with a one-click installer.
  • Using official cURL binaries.

Install It Using Chocolatey

Assuming you have Chocolatey installed.

Then use choco install curl

Install It With a One-Click Installer

If you prefer graphical installers, then the one-click installer from confused by code seemed to work well.

This installs everything and adds curl to your path, I've used this before for setting up my machines for training courses.

During the installation process, it might prompt you to install the VC++ redistributables, but there is a link in the installer that takes you to the download, then download and install then click continue in the cURL install to continue.

Then cURL should be on your path.

Official Installs From cURL

I found these the hardest to work with. It was not easy to see which were binary packages and which were not.

I went to curl.haxx.se/dlwiz and looked at the window compiled versions

I found the following that worked relatively easily:

  • The SSL enabled cab file 7.59.0 from Stefan Kanthak..
  • The 7.59 MinGW version from Viktor Szakats. curl.exe is in the \bin folder and if I can run curl from this folder or add it to the path.

Other Options

I haven't tried these for a while, but they might offer useful research opportunities.

Supporting Videos

You can also find all the videos on the Automating and Testing a REST API Book Support Page.

Install Using Chocolatey


Confused by Code Installer


Official Installs


Installer (macOS) Chocolatey REST Book API Download Web Protocols Links

Published at DZone with permission of Alan Richardson, DZone MVB. See the original article here.

Opinions expressed by DZone contributors are their own.

Related

  • Aggregating REST APIs Calls Using Apache Camel
  • Update User Details in API Test Client Using REST Assured [Video]
  • Create User API Test Client With REST Assured [Video]
  • How to Make a REST API Call in Angular

Partner Resources

×

Comments

The likes didn't load as expected. Please refresh the page and try again.

ABOUT US

  • About DZone
  • Support and feedback
  • Community research
  • Sitemap

ADVERTISE

  • Advertise with DZone

CONTRIBUTE ON DZONE

  • Article Submission Guidelines
  • Become a Contributor
  • Core Program
  • Visit the Writers' Zone

LEGAL

  • Terms of Service
  • Privacy Policy

CONTACT US

  • 3343 Perimeter Hill Drive
  • Suite 100
  • Nashville, TN 37211
  • [email protected]

Let's be friends: