Installation Methods
Global Install (Recommended)
Install globally to use theveto command from anywhere:
Run Without Installing
Usenpx to run the latest version without installing:
- Trying Veto without committing to an install
- CI/CD pipelines that need the latest version
- One-off commands on different machines
Project-Local Install
Install as a dev dependency in your project:package.json:
System Requirements
Node.js Version
Node.js 20 or higher is required. Check your Node.js version:Terminal Requirements
For the best experience with Veto Studio (interactive TUI):- Terminal emulator with 256-color support
- Minimum dimensions: 80 columns × 24 rows
- Recommended: 120 columns × 40 rows or larger
Supported Platforms
- ✅ macOS (Intel & Apple Silicon)
- ✅ Linux (x64, arm64)
- ✅ Windows (via WSL2 or Git Bash)
- ⚠️ Windows CMD/PowerShell (limited - ANSI fallback renderer)
Verify Installation
Run the doctor command to check your setup:First Run
After installation, initialize Veto in your project:Configuration
Environment Variables
Veto reads configuration from environment variables:.env file in your project:
Renderer Selection
Veto Studio supports multiple renderers:Theme Selection
Updating
Global Install
Project-Local Install
Check for Updates
Troubleshooting
Command Not Found
Ifveto is not found after global install:
Permission Errors
If you get EACCES errors during global install:Studio Rendering Issues
If Veto Studio doesn’t render correctly:Node Version Issues
Uninstall
Global Install
Project-Local Install
Next Steps
- CLI Overview - Learn about all commands
- Initialize a Project - Set up Veto in your project
- Launch Studio - Start the interactive TUI
- Generate Policies - Create your first policy

