Installation
Prerequisites
Section titled “Prerequisites”Before installing MiniGateway, ensure you have the following:
- Node.js 24.x or later
Installation
Section titled “Installation”From npm
Section titled “From npm”# Install globallynpm install -g @minigateway/cli
# Or use npx without installingnpx @minigateway/cli startAfter installation, verify:
minigateway --versionminigateway --helpFrom Source
Section titled “From Source”git clone https://github.com/luozhouyang/minigateway.gitcd minigatewaypnpm installpnpm build
# Run locallynode packages/cli/dist/index.mjs startDirectory Structure
Section titled “Directory Structure”When building from source:
minigateway/├── apps/│ ├── web/ # Web dashboard application│ ├── docs/ # Documentation site│ └── website/ # Landing page├── packages/│ ├── core/ # Core gateway engine│ └── cli/ # CLI tools├── tools/ # Development tools├── pnpm-workspace.yaml└── package.jsonVerify Installation
Section titled “Verify Installation”# Verify CLI worksminigateway --help
# Start serverminigateway start --port 8080Next Steps
Section titled “Next Steps”- Quick Start - Start using MiniGateway immediately
- Configuration - Learn about configuration options
- Architecture - Understand how MiniGateway works