
Security News
Happy Birthday, Shai-Hulud
It has been one year since Shai-Hulud made its first appearance on npm.
@swotpal/cli
Advanced tools
The world's only SWOT analysis tool with a CLI. Generate AI-powered SWOT analyses from your terminal.
The world's only SWOT analysis tool with a CLI.
Generate AI-powered SWOT analyses from your terminal. Powered by SWOTPal.
npm install -g @swotpal/cli
# Set your API key
swotpal login # Opens browser to get your key
swotpal config set-key # Paste your API key
# Generate a SWOT analysis
swotpal analyze "Tesla"
# Compare two companies
swotpal compare "Apple" "Samsung"
# Browse 33 built-in examples (offline, no API key needed)
swotpal examples
swotpal examples tesla
swotpal analyze <topic>Generate a SWOT analysis for any company, brand, product, or topic.
swotpal analyze "Netflix"
swotpal analyze "Tesla 2026" --language ja
swotpal analyze "OpenAI" --json | jq '.strengths'
swotpal compare <left> <right>Compare two entities side-by-side with SWOT analysis for each.
swotpal compare "Tesla" "BYD"
swotpal compare "ChatGPT" "Claude" --markdown
swotpal listList your saved SWOT analyses.
swotpal list
swotpal list --page 2 --limit 20
swotpal list --json
swotpal show <id>Show details of a specific saved analysis.
swotpal show abc123
swotpal show abc123 --json
swotpal examples [id]Browse 33 built-in SWOT analysis examples. Works offline, no API key required.
swotpal examples # List all
swotpal examples --industry fashion # Filter by industry
swotpal examples --search nvidia # Search by name
swotpal examples tesla # Show specific example
swotpal configManage CLI configuration.
swotpal config show # Show current config
swotpal config set-key # Set API key interactively
swotpal config set-language ja # Set default language
swotpal loginOpen the SWOTPal dashboard in your browser to get an API key.
| Option | Description |
|---|---|
--json | Output as machine-readable JSON |
--markdown | Output as Markdown |
--language <lang> | Set analysis language (en, ja, zh_TW, ko, etc.) |
-V, --version | Show version |
-h, --help | Show help |
Get your API key at swotpal.com/dashboard, then:
# Option 1: Environment variable
export SWOTPAL_API_KEY=sk_live_...
# Option 2: CLI config (persisted)
swotpal config set-key
# Pretty terminal output (default)
swotpal analyze "Tesla"
# JSON (pipe to jq, save to file, etc.)
swotpal analyze "Tesla" --json > tesla-swot.json
# Markdown (great for docs and READMEs)
swotpal analyze "Tesla" --markdown >> strategy.md
en, ja, zh_TW, zh, ko, vi, pt, de, es, fr, it, ru
MIT
FAQs
The world's only SWOT analysis tool with a CLI. Generate AI-powered SWOT analyses from your terminal.
We found that @swotpal/cli demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.

Security News
It has been one year since Shai-Hulud made its first appearance on npm.

Research
/Security News
Operators behind PolinRider used a compromised GitHub account to plant malware in four development versions of a Packagist package with 700,000+ downloads.

Security News
GitHub Actions now supports cache-mode, a least-privilege control on the Actions cache aimed at the cache poisoning technique behind recent compromises.