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
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)
Install with npm
Install Octoparse CLI globally:octoparse command is available globally.
Verify the installation
Quick checks
Check the installed version: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.
chrome shows ok: false, see Troubleshooting below.
Use a custom Chrome path if needed:
Check browser diagnostics
Manage your installation
Update Octoparse CLI
Run the npm install command again to update:Uninstall Octoparse CLI
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.