Installation
StackProbe can be installed globally, added as a dev dependency, or run directly withnpx. Choose the method that works best for your workflow.
Quick Install
Add to Project Dev Dependencies
If you want to lock StackProbe to a specific version in your project:package.json scripts:
package.json
System Requirements
StackProbe requires:Node.js >= 16.0.0
StackProbe is built with modern Node.js features and requires Node 16 or higher.
Check Your Node Version
Verify Installation
After installing, verify StackProbe is working:What Gets Installed
StackProbe is a lightweight CLI with minimal dependencies:- Binary:
stackprobecommand available in your PATH - Dependencies:
commander- CLI argument parsingchalk&picocolors- Terminal colorssemver- Version comparison
- Size: ~500KB installed
StackProbe does NOT install heavy analysis tools like
madge or depcheck. It uses lightweight built-in checks to keep installation fast.Troubleshooting
Command not found: stackprobe
Command not found: stackprobe
If you installed globally but get
command not found:-
Check your global npm bin path:
-
Ensure itβs in your PATH:
-
Reinstall with correct permissions:
npx instead:Permission denied errors
Permission denied errors
On Linux/macOS, you may need to fix npm permissions:
Node version too old
Node version too old
If you see errors about unsupported Node features:Upgrade Node using nvm:
Uninstalling
To remove StackProbe:Next Steps
Now that StackProbe is installed, letβs run your first audit:Quickstart Guide
Learn how to audit your first project in minutes