Velocity Installer
The official installer CLI for Velocity Go web framework.
Installation
Homebrew (macOS)
brew tap velocitykode/tap
brew install velocity
Commands
velocity new <name> # Create a new Velocity project
velocity init # Initialize Velocity in existing project
velocity config # Manage CLI configuration
velocity self-update # Update to latest version
Quick Start
# Install
brew install velocitykode/tap/velocity
# Create a new project
velocity new myapp
# Project is ready with dev servers running
# Go server: http://localhost:4000
# Vite: http://localhost:5173
Architecture
Velocity uses two CLI tools:
| Tool |
Install |
Purpose |
velocity |
Homebrew |
Create projects, manage config |
vel |
Built from source |
Dev server, migrations, generators |
When you run velocity new, it:
- Scaffolds a new project
- Installs dependencies
- Runs migrations
- Builds the
./vel binary
- Starts development servers
Configuration
Set defaults for new projects:
velocity config set default.database postgres
velocity config set default.cache redis
velocity config set default.auth true
Configuration stored in ~/.vel/config.yaml.
Documentation
Full documentation at velocity.velocitykode.com/docs
License
MIT License - See LICENSE for details.