Skip to content

Install AI assets from your terminal.

The CLI detects your environment and writes config to the right file. No copy-paste, no manual setup.

terminal
$ |

Getting started

01

Install the CLI

Requires Node.js 18+. Open source at github.com/rulesell/cli.

02

Authenticate

Run rulesell auth to connect your account. Free assets work without auth.

03

Install your first asset

Pick any asset from the marketplace and run the install command.

Free assets

Install any free asset without authentication. One command, done.

bash
# Install a free item — no auth required
npx rulesell add @PatrickJS/awesome-cursorrules

# The CLI detects your editor:
#   Cursor  → writes to .cursorrules
#   Claude  → writes to ~/.config/claude/mcp_servers.json
#   Windsurf → writes to .windsurfrules

Paid assets

CLI opens your browser for OAuth and payment. Token downloads automatically.

bash
# Paid items open your browser for OAuth + payment
npx rulesell add @windsurf-collective/enterprise-cursor-rules

# Flow:
# 1. CLI opens browser → rulesell.com/auth/cli
# 2. Confirm purchase ($29)
# 3. CLI receives token, downloads, writes to target file
# 4. Done — no manual copy-paste

Auto-detection

Detects Cursor, Windsurf, Claude Code, VS Code, and more. Override with --env.

bash
# Auto-detect (default)
npx rulesell add @author/slug

# Explicit environment
npx rulesell add @author/slug --env cursor
npx rulesell add @author/slug --env claude-code
npx rulesell add @author/slug --env windsurf

# List available environments for an item
npx rulesell info @author/slug

Full command set

Search, list, update, and remove. Everything from your terminal.

bash
# Search the marketplace
npx rulesell search "mcp server postgres"

# List installed items
npx rulesell list

# Update all items to latest versions
npx rulesell update

# Remove an installed item
npx rulesell remove @author/slug

Note

The CLI package lives at packages/rulesell-cli/ in the monorepo. All commands work against mock data in development. Production release planned for v2.