Bantam CLI
The Bantam CLI is the fastest way to deploy static sites directly from your terminal. Perfect for prototypes, documentation, or any static content - get live URLs in seconds.
Why Use the CLI?
Section titled “Why Use the CLI?”- 🚀 Instant Deployments - Deploy in seconds with a single command
- 🔧 Zero Configuration - Works out of the box, no config files needed
- 🌐 Custom Domains - Deploy to your own domain with one flag
- 📁 Smart Handling - Automatically zips and deploys directories
- ⏰ Flexible Expiration - Choose temporary or permanent hosting
Quick Example
Section titled “Quick Example”# Install globallynpm install -g @bantamhq/cli
# Deploy current directorybantam deploy
# Your site is live! 🎉
Get Started
Section titled “Get Started” Installation Install the CLI and get ready to deploy
Commands Complete reference for all CLI commands
Authentication Login to unlock premium features
Examples Common use cases and recipes
Common Commands
Section titled “Common Commands”Deploy a Site
Section titled “Deploy a Site”bantam deploy ./dist
Custom Subdomain
Section titled “Custom Subdomain”bantam deploy -s my-project
Deploy to Custom Domain
Section titled “Deploy to Custom Domain”bantam deploy -d example.com
List Deployments
Section titled “List Deployments”bantam list
Requirements
Section titled “Requirements”- Node.js 16 or later
- npm or yarn
Support
Section titled “Support”- Issues: GitHub Issues
- Email: support@bantam.host
- Documentation: You’re here! 📚