Get Started with xbrowser CLI

Install the xbrowser CLI and start using plugins from the marketplace in minutes

1

Install xbrowser CLI

Install globally via npm:

npm install -g @xbrowser/cli

Or using yarn: yarn global add @xbrowser/cli

2

Browse & Install Plugins

Search and install plugins directly from the CLI:

# Search for plugins
xbrowser plugin search "ecommerce"

# Install a plugin
xbrowser plugin install baidu-search

# List installed plugins
xbrowser plugin list

# Run a plugin command
xbrowser baidu-search search --query "AI"
3

Publish Your Plugin

Publish your plugin directly from the web:

# Publish from your browser (recommended)
# Visit: https://xbrowser.dev/zh/publish

# CLI publishing via marketplace plugin (coming soon)
# xbrowser plugin install @xbrowser/plugin-marketplace
# marketplace login --token <your-api-key>
# marketplace publish

Prefer the web UI? Publish from your browser → — get an API key from your developer settings

4

Quick Start

Common commands to get you started:

# Start Chrome with CDP (required for browser commands)
google-chrome --remote-debugging-port=9222

# Navigate and get the page title
xbrowser "goto https://example.com && title"

# Scrape a page to markdown
xbrowser scrape https://example.com --cdp 9222

# Run a marketplace plugin command
xbrowser baidu search --query "AI"

AI-Assisted Plugin Development

Load the xbrowser skill into your AI coding agent to build plugins faster. The skill provides templates, best practices, command patterns, and automated scaffolding.

1. Download the skill:

curl -o plugin-dev.md https://xbrowser.dev/skills/plugin-dev.md

2. Place in your skills directory:

# For Claude Code / OpenCode
mv plugin-dev.md .opencode/skills/

# For Cursor / other agents
mv plugin-dev.md .cursor/skills/

3. Ask your AI agent:

"Create an xbrowser plugin for scraping product data from example.com"

Plugin Development Workflow

Create
Test
Login
Publish
AI Assist

Create → Test locally → Login → Publish to marketplace. Use AI to speed up every step.

Ready to build?