Workflow 003: Steel CLI Development
FreshOverview
Use the Steel CLI for rapid project scaffolding, instant automation execution, and switching between local and cloud modes.
CLI Development Workflow
Step 1: Install & Authenticate
bash
npm install @steel-dev/cli -g
steel loginStep 2: Quick Prototyping with steel run
bash
# Run Playwright automation instantly
steel run playwright --view
# Run AI agent with specific task
steel run browser-use --task "Find the price of iPhone 16 on Apple.com"
# Run OpenAI Computer Use
steel run oai-cua --task "Research top GitHub repos" --openai_key YOUR_KEYStep 3: Create Full Project with steel forge
bash
# Interactive template selection
steel forge
# Specific template
steel forge playwright --name web-scraper
# Python project
steel forge browser-use --name ai-agent
cd ai-agent && uv add -r requirements.txtStep 4: Switch Execution Modes
bash
# Open settings menu
steel settings
# Select "Local" for development
# Select "Cloud" for productionAvailable Templates
| Template | Language | Use Case |
|---|---|---|
playwright | TypeScript | Browser automation |
playwright-py | Python | Browser automation |
puppeteer | TypeScript | Browser automation |
selenium | Python | Browser automation |
browser-use | Python | AI web agent |
stagehand | TypeScript | AI navigation |
claude-cua | TypeScript | Claude Computer Use |
oai-cua | TypeScript | OpenAI Computer Use |
auth | TypeScript | Reusable auth context |
creds | TypeScript | Credentials API |
files | TypeScript | Files API |
Useful Commands
bash
steel cache --clean # Clear cached templates
steel docs # Open documentation
steel support # Join Discord
steel update # Update CLI
steel --version # Check version