
Security News
US Government Forces Anthropic to Pull Claude Fable Days After Launch
Anthropic says the directive cited national security concerns over a narrow jailbreak, but offered no specific technical details.
MGZON Command Line Interface - Official CLI tool for MGZON ecommerce platform
__ __ ____ _____ ___ _ _ ____ _ ___
| \/ | / ___| |__ / / _ \ | \ | | / ___| | | |_ _|
| |\/| | | | _ / / | | | | | \| | | | | | | |
| | | | | |_| | / /_ | |_| | | |\ | | |___ | |___ | |
|_| |_| \____| /____| \___/ |_| \_| \____| |_____| |___|
The official Command Line Interface for MGZON App Development Platform
Install globally using npm:
npm install -g @mgzon/cli
Or using yarn:
yarn global add @mgzon/cli
Or using pnpm:
pnpm add -g @mgzon/cli
Download the pre-built executables for your platform:
# Download and make executable
curl -L https://github.com/Mark-Lasfar/mgzon-cli/releases/download/v1.0.0/mgzon-linux -o mgzon
chmod +x mgzon
sudo mv mgzon /usr/local/bin/
# Download and make executable
curl -L https://github.com/Mark-Lasfar/mgzon-cli/releases/download/v1.0.0/mgzon-macos -o mgzon
chmod +x mgzon
sudo mv mgzon /usr/local/bin/
# Download from releases page and add to PATH
# https://github.com/Mark-Lasfar/mgzon-cli/releases/download/v1.0.0/mgzon-win.exe
Verify installation:
mz --version
# or
mgzon --version
For users who prefer a graphical interface, download the MGZON GUI app:
The GUI provides the same functionality as the CLI but with a user-friendly interface.
The GUI automatically detects and uses the bundled CLI executable for all operations.
Linux (AppImage):
chmod +x MGZON.GUI-1.0.0.AppImage
./MGZON.GUI-1.0.0.AppImage
macOS (DMG): Double-click the downloaded DMG file and drag the app to Applications.
Windows (EXE): Double-click the downloaded EXE file to install and run.
Run the included demo script to see common CLI usage:
# Make sure you're in the project directory
cd mgzon-cli
# Run the demo
./demo.sh
# Create a new MGZON app
mz init my-app --template=nextjs
# Navigate to your app
cd my-app
# Install dependencies
npm install
# Start development server
mz serve
# Deploy to MGZON
mz deploy
mz init [name] - Create a new MGZON appmz serve - Start local development servermz build - Build your app for productionmz deploy - Deploy app to MGZON cloudmz login - Login to your MGZON accountmz logout - Logout from current sessionmz whoami - Show current user infomz keys:list - List your API keysmz keys:generate - Generate new API keymz keys:revoke <key-id> - Revoke an API keymz apps:list - List your appsmz apps:create <name> - Create new appmz apps:info <app-id> - Show app detailsmz apps:delete <app-id> - Delete an appmz db:create - Create database schemamz db:migrate - Run database migrationsmz db:seed - Seed database with sample datamz storage:upload <file> - Upload file to storagemz storage:list - List storage filesmz storage:delete <file-id> - Delete fileAvailable templates for mz init:
# Next.js template (default)
mz init my-app --template=nextjs
# React template
mz init my-app --template=react
# Vue.js template
mz init my-app --template=vue
# Static site template
mz init my-app --template=static
# E-commerce template
mz init my-app --template=ecommerce
Create .mgzonrc in your project root:
{
"projectId": "your-project-id",
"apiKey": "your-api-key",
"environment": "development"
}
Or use environment variables:
export MGZON_API_KEY="your-api-key"
export MGZON_PROJECT_ID="your-project-id"
# Set default organization
mz config:set organization=my-org
# Set default environment
mz config:set environment=staging
# View all configurations
mz config:list
Extend CLI functionality with plugins:
# Install plugin
mz plugins:install @mgzon/plugin-analytics
# List installed plugins
mz plugins:list
# Update plugins
mz plugins:update
"Command not found" after installation
# Add npm global bin to PATH
export PATH="$PATH:$HOME/.npm-global/bin"
# For fish shell: set -U fish_user_paths $HOME/.npm-global/bin $fish_user_paths
Authentication failed
# Clear authentication cache
mz logout
mz login
Deployment failed
# Check deployment logs
mz logs --deployment=<deployment-id>
# View build logs
mz logs --build=<build-id>
# Clone repository
git clone https://github.com/mgzon/mgzon-cli.git
cd mgzon-cli
# Install dependencies
npm install
# Build project
npm run build
# Run demo script
./demo.sh
# Link for local development
npm link
# Run tests
npm test
# Run in development mode
npm run dev -- --help
mgzon-cli/
├── src/
│ ├── commands/ # CLI commands
│ ├── lib/ # Core libraries
│ ├── utils/ # Utility functions
│ ├── types/ # TypeScript types
│ └── index.ts # Entry point
├── dist/ # Compiled output
├── tests/ # Test files
└── docs/ # Documentation
Complete documentation is available in the docs/ directory:
For privacy and security reasons, implementation details are not exposed in this public repository. The documentation provides comprehensive guidance on usage and architecture without revealing sensitive code.
See our Privacy & Security Implementation Plan for details on our approach to protecting intellectual property and user data.
We welcome contributions! Please see our Contributing Guide.
git checkout -b feature/my-featuregit commit -am 'Add new feature'git push origin feature/my-featureThis project is licensed under the MIT License - see the LICENSE file for details.
Made with ❤️ by the MGZON Team
FAQs
MGZON Command Line Interface - Official CLI tool for MGZON ecommerce platform
We found that @mgzon/cli demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

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.

Security News
Anthropic says the directive cited national security concerns over a narrow jailbreak, but offered no specific technical details.

Security News
A network of 152 Chrome live wallpaper extensions hid ad tracking and made extension-driven traffic look like Google search clicks.

Company News
Socket’s first CISO brings deep experience securing high-growth SaaS companies as open source supply chain threats accelerate.