New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details
Socket
Book a DemoSign in
Socket

octopus-framework-cli

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

octopus-framework-cli

The Modern Full-Stack Framework CLI for AI-First Development

latest
Source
npmnpm
Version
1.0.1
Version published
Weekly downloads
5
Maintainers
1
Weekly downloads
 
Created
Source

🐙 Octopus CLI

The Modern Full-Stack Framework CLI for AI-First Development

npm version License: MIT

Features

  • 🚀 Instant Project Setup - Create production-ready projects in seconds
  • 🧩 Modular Architecture - Add pre-built modules for auth, billing, teams, and more
  • 🎯 Code Generation - Generate modules, entities, use cases, routers, and components
  • 🗄️ Database Management - Start, migrate, and manage your database with Docker
  • 🚢 One-Click Deploy - Deploy to Vercel, Cloudflare, Fly.io, or Railway
  • 🩺 Health Checks - Diagnose issues with the doctor command

Installation

# Install globally
npm install -g @octopus/cli

# Or use via npx
npx @octopus/cli <command>

# Or with bun
bunx @octopus/cli <command>

Quick Start

# Create a new project
octopus new my-saas-app

# Navigate to project
cd my-saas-app

# Start database
octopus db start
octopus db push

# Start development
octopus dev

Commands

Project Commands

CommandDescription
octopus new [name]Create a new project
octopus initInitialize in current directory
octopus devStart development server
octopus buildBuild for production

Code Generation

CommandDescription
octopus add <module>Add pre-built module
octopus generate module <name>Generate feature module
octopus generate entity <name>Generate domain entity
octopus generate usecase <name>Generate use case
octopus generate router <name>Generate API router
octopus generate component <name>Generate React component
octopus generate page <name>Generate React page

Database Management

CommandDescription
octopus db startStart PostgreSQL container
octopus db stopStop database container
octopus db pushPush schema changes (dev)
octopus db generateGenerate migration
octopus db migrateRun migrations
octopus db studioOpen Drizzle Studio
octopus db seedRun seed scripts
octopus db resetReset database (⚠️)

Deployment & Tools

CommandDescription
octopus deploy [platform]Deploy to cloud
octopus doctorDiagnose setup
octopus upgradeUpgrade packages

Available Modules

Add pre-built modules to your project:

octopus add auth       # Email, OAuth, Magic Link
octopus add billing    # Stripe payments & subscriptions
octopus add teams      # Team/organization management
octopus add blog       # Blog with MDX support
octopus add notifications # Email, push, in-app
octopus add files      # S3/R2 file uploads
octopus add admin      # Admin dashboard
octopus add analytics  # Usage tracking

Project Templates

Default

Basic setup with authentication:

octopus new my-app --template default

SaaS Starter

Complete SaaS with billing, teams, and auth:

octopus new my-saas --template saas

Minimal

Bare minimum - just the core framework:

octopus new my-project --template minimal

Technology Stack

LayerTechnology
RuntimeBun 1.2+
BackendHono
APIoRPC + Zod
FrontendReact 19 + Vite
DatabaseDrizzle ORM + PostgreSQL
AuthBetter-Auth
DIAwilix
MonorepoTurborepo

Development

# Clone the repo
git clone https://github.com/octopus-framework/cli.git
cd cli

# Install dependencies
bun install

# Build
bun run build

# Run locally
bun run ./dist/index.js new test-project

License

MIT © Octopus Team

Keywords

cli

FAQs

Package last updated on 02 Jan 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts