Skip to content

Installation

Before installing MiniGateway, ensure you have the following:

  • Node.js 24.x or later
Terminal window
# Install globally
npm install -g @minigateway/cli
# Or use npx without installing
npx @minigateway/cli start

After installation, verify:

Terminal window
minigateway --version
minigateway --help
Terminal window
git clone https://github.com/luozhouyang/minigateway.git
cd minigateway
pnpm install
pnpm build
# Run locally
node packages/cli/dist/index.mjs start

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.json
Terminal window
# Verify CLI works
minigateway --help
# Start server
minigateway start --port 8080