_____ _ ____ _ _
| ___| | ___ _____ _/ ___|| |_ __ _ ___| | __
| |_ | |/ _ \/ _ \ \/ \___ \| __/ _` |/ __| |/ /
| _| | | __/ __/> < ___) | || (_| | (__| <
|_| |_|\___|\___/_/\_\____/ \__\__,_|\___|_|\_\
All from your terminal.
FleexStack CLI is your command-line companion for deploying and managing applications with zero-downtime blue-green deployments, real-time monitoring, and AI assistance.
npm install -g fleexstack-cli
Everything you need to deploy and manage your applications
Blue-green deployment strategy ensures your users never experience interruption during updates.
Interactive mode with natural language support for troubleshooting and deployment guidance.
Stream application logs live with filtering by level, environment, and time range.
Secure management of environment variables and encrypted secrets with simple commands.
Toggle features without redeploying. Enable, disable, or experiment with functionality instantly.
Configure CPU-based autoscaling to handle traffic spikes automatically and cost-effectively.
Choose the workflow that fits your needs
Traditional commands for automation and quick tasks
# Deploy current branch
fleex deploy
# Check app health
fleex status
# Stream logs live
fleex logs -f
# Set environment variable
fleex env set KEY value
# Instant rollback
fleex rollback
Conversational experience with natural language support
$ fleex -i
Welcome to FleexStack Interactive Mode
Type naturally or use /commands
/help for available commands
fleex > why did my deployment fail?
fleex > show me error logs from the last hour
fleex > deploy to production
fleex > create a react app with tailwind
Zero-downtime updates with instant rollback capability
Instant switch. Instant rollback.
Get your app deployed in three simple steps
Opens your browser for secure OAuth authentication. Your token is stored safely in your OS keychain.
fleex login
Interactive menu to choose your application context.
fleex apps
That's it. Your app is live.
fleex deploy
Quick reference for the most used commands
| Command | What it does |
|---|---|
fleex login |
Authenticate with FleexStack |
fleex apps |
List & select applications |
fleex deploy |
Deploy current branch |
fleex deploy --ref v1.2.0 |
Deploy specific tag/branch |
fleex status |
View app status & health |
fleex logs -f |
Stream logs in real-time |
fleex env list |
List environment variables |
fleex env set KEY val |
Set environment variable |
fleex rollback |
Roll back to previous version |
fleex doctor |
Diagnose issues |
FLEEXSTACK CLI QUICK REFERENCE
AUTH fleex login | logout | whoami
APPS fleex apps | apps current
DEPLOY fleex deploy [--ref branch|tag]
fleex rollback
fleex status
LOGS fleex logs [-f] [--level error]
ENV fleex env list | set KEY val | delete KEY
FLAGS fleex flag | enable | disable | toggle
HELP fleex doctor | ask "question"
INTERACTIVE fleex -i
Customize FleexStack to fit your workflow
Bind a project directory to a specific app:
{
"appId": "app-abc123",
"appName": "my-awesome-app"
}
Full deployment configuration:
name: my-app
port: 3000
healthCheckPath: /health
blueGreen:
enabled: true
build:
nodeVersion: "22"
environments:
production:
minInstances: 1
maxInstances: 5
autoscaling:
enabled: true
cpuThreshold: 80
Start with proven scaffolding for your preferred framework
fleex init my-app --template next-js
cd my-app
fleex deploy
Get started with FleexStack CLI in minutes
npm install -g fleexstack-cli