Skip to main content
Octoparse CLI is distributed as an npm package and runs on Node.js 20 or newer.

Requirements

Before installing Octoparse CLI, make sure your environment has:
  • Node.js 20 or newer
  • npm 8 or newer
  • A terminal or command-line shell
Check your Node.js and npm versions:
If your Node.js version is lower than 20, upgrade before continuing.

Download Node.js

Install Node.js 20 or newer for your operating system.

Supported platforms for local extraction

Local extraction uses an independent Chrome runtime. Supported platforms:
  • macOS (x64 and arm64)
  • Windows (x64)
  • Linux (x64)
Linux arm64 is not supported for local extraction. Chrome for Testing does not provide a Linux arm64 package. If you are running on an ARM server or an Apple Silicon container with a Linux arm64 image, local run and detect commands will fail. Cloud extraction (octoparse cloud start) works on any platform.

Install with npm

Install Octoparse CLI globally:
After installation, the octoparse command is available globally.

Verify the installation

Quick checks

Check the installed version:
Open the help output:

Understand doctor output

Run diagnostics:
octoparse doctor checks Node.js, the embedded Octoparse engine, runtime extensions, Chrome availability, and browser mode. A successful result returns "ok": true:
  • electron-client: not required — the Octoparse desktop app is not required for CLI execution.
  • browser-mode: independent Chrome only — local extraction uses an independent Chrome runtime, not the desktop client’s browser.
If chrome shows ok: false, see Troubleshooting below. Use a custom Chrome path if needed:

Check browser diagnostics

Use JSON output for structured diagnostics:

Manage your installation

Update Octoparse CLI

Run the npm install command again to update:

Uninstall Octoparse CLI

If the shell returns octoparse: command not found, the command has been removed.

Troubleshooting

What’s next

Get an API key and log in

Create an Octoparse API key and authenticate the CLI.

Run your first task

List tasks, inspect a task, run it locally, and export data.

Browse all commands

Review common CLI commands for tasks, local runs, cloud runs, and exports.