How to Install Curl

Learn about properly installing and configuring Curl for use with the Cloudera Octopai Client, enabling seamless extraction of metadata.

Option 1: Install Curl with a package manager

  1. For Chocolatey, run the choco install curl command.
  2. For MSYS2, run the pacman -S curl command.
  3. For Scoop, run the scoop install curl command.

Option 2: Install Curl manually

  1. Download curl from https://curl.se/windows/ and choose the Windows 64-bit version.
  2. Locate the curl.exe file in the \bin folder of the downloaded zip file.
  3. Place the curl.exe file in a permanent folder, for example to the Cloudera Octopai Client installation folder, such as C:\Program Files (x86)\Octopai\Service\Data.
  4. Make curl accessible from anywhere on the command line by adding the folder PATH as a new system environment variable.
    1. Open the Start Search, type env, and choose the Edit the system environment variables action.
  5. Click Environment Variables.
  6. In the System Variables section, select the Path variable and click Edit.
  7. Click New and add the location of the folder that contains the curl.exe file.
  8. Click Ok.
  9. If applicable, reopen any relevant applications to register the changes.