Now with AI-powered interactive mode

Deploy. Monitor. Scale.

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
Node.js >= 22.0.0

Key Features

Everything you need to deploy and manage your applications

Zero-Downtime Deployments

Blue-green deployment strategy ensures your users never experience interruption during updates.

AI-Powered Assistant

Interactive mode with natural language support for troubleshooting and deployment guidance.

Real-Time Log Streaming

Stream application logs live with filtering by level, environment, and time range.

Environment & Secrets

Secure management of environment variables and encrypted secrets with simple commands.

Feature Flags

Toggle features without redeploying. Enable, disable, or experiment with functionality instantly.

Auto-Scaling

Configure CPU-based autoscaling to handle traffic spikes automatically and cost-effectively.

Two Ways to Work

Choose the workflow that fits your needs

CLI Mode

Fast & Scriptable

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

Interactive Mode

AI-Powered

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

Blue-Green Deployments

Zero-downtime updates with instant rollback capability

BEFORE

Blue v1 Traffic
Green

AFTER

Blue v1
Green v2 Traffic

Instant switch. Instant rollback.

5-Minute Setup

Get your app deployed in three simple steps

1

Authenticate

Opens your browser for secure OAuth authentication. Your token is stored safely in your OS keychain.

fleex login
2

Select Your App

Interactive menu to choose your application context.

fleex apps
3

Deploy

That's it. Your app is live.

fleex deploy

Essential Commands

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

Quick Reference Card

  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
          

Configuration

Customize FleexStack to fit your workflow

fleex.json

Bind a project directory to a specific app:

{
  "appId": "app-abc123",
  "appName": "my-awesome-app"
}

fleexstack.yml

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

Project Templates

Start with proven scaffolding for your preferred framework

node
next-js
react
nuxt
remix
static
fleex init my-app --template next-js
cd my-app
fleex deploy

Ready to deploy?

Get started with FleexStack CLI in minutes

npm install -g fleexstack-cli