Sign In

@decodo/cli

Package Overview
Dependencies
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@decodo/cli

Official CLI for the Decodo APIs

Source
npmnpm
Version
0.1.0
Version published
Weekly downloads
65
47.73%
Maintainers
1
Weekly downloads
 
Created
Source

@decodo/cli

Official command-line interface for the Decodo APIs.

Development setup

Prerequisites

  • Node.js 18+ (24 recommended)
  • pnpm 10.x (corepack enable if needed)

Install and build

pnpm install
pnpm build

Run locally

node build/esm/index.js --help
node build/esm/index.js targets

Or link the binary globally:

pnpm link --global
decodo --help

Auth

Configure a Basic auth token (from the playground):

decodo setup
# or
export DECODO_AUTH_TOKEN='your-token'
decodo whoami

Try scrape commands

List targets, inspect help, then run a scrape (examples):

decodo targets
decodo scrape https://ip.decodo.com
decodo search "decodo scraping api"
decodo search "shoes" --engine bing --geo us --limit 2
decodo screenshot https://ip.decodo.com -o shot.png
decodo screenshot https://ip.decodo.com -o ./shots
decodo screenshot https://ip.decodo.com > shot.png
decodo universal --help
decodo universal https://ip.decodo.com
decodo google-search "decodo scraping api"
decodo scrape https://ip.decodo.com/json
decodo google-search "query" --parse
decodo google-search "query" --full
decodo google-search "query" --format ndjson --full

By default, commands print the first result's content (parsed JSON when the target supports parse, markdown for decodo scrape). Use --full for the complete API envelope, --format ndjson for one JSON object per result (pipe-friendly), -o to write to a file, and --pretty for indented JSON. Request shape (--parse, --markdown, and other API flags) comes from the schema on each target command; use decodo universal for full universal options.

Tests and checks

pnpm lint
pnpm typecheck
pnpm test

FAQs

Package last updated on 09 Jun 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts