npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@magicappdev/cli

v0.0.14

Published

CLI tool for creating and managing MagicAppDev apps

Downloads

38

Readme

MagicAppDev CLI

npm version npm downloads license

A powerful CLI tool for creating and managing MagicAppDev applications. The MagicAppDev CLI simplifies the process of generating, customizing, and deploying fullstack apps across web and mobile platforms.

Table of Contents

Installation

You can install the MagicAppDev CLI using npm, yarn, or pnpm:

# Using npm
npm install -g @magicappdev/cli

# Using yarn
yarn global add @magicappdev/cli

# Using pnpm
pnpm add -g @magicappdev/cli

For more details, visit the npm page.

Usage

The CLI provides several commands to manage your MagicAppDev projects:

# Initialize a new MagicAppDev project
magicappdev init

# Authenticate with MagicAppDev
magicappdev auth

# Start an interactive chat session
magicappdev chat

# Generate components or apps
magicappdev generate <type> <name>

# Run diagnostics on your project
magicappdev doctor

Commands

init

Initialize a new MagicAppDev project in the current directory.

magicappdev init

auth

Authenticate with MagicAppDev services.

magicappdev auth

chat

Start an interactive chat session for app creation and management.

magicappdev chat

generate

Generate components, apps, or other resources.

# Generate a new component
magicappdev generate component my-component

# Generate a new app
magicappdev generate app my-app

doctor

Run diagnostics to check your project setup and configuration.

magicappdev doctor

Configuration

Environment Variables

You can configure the CLI using environment variables in a .env file:

MAGICAPPDEV_API_KEY=your_api_key_here
MAGICAPPDEV_PROJECT_DIR=./my-project

Config File

The CLI can also be configured using a magicappdev.config.json file:

{
  "apiKey": "your_api_key_here",
  "projectDir": "./my-project",
  "defaultTemplate": "web"
}

Features

  • Project Initialization: Quickly set up new MagicAppDev projects.
  • Authentication: Securely authenticate with MagicAppDev services.
  • Interactive Chat: Use AI-powered chat for app creation and management.
  • Code Generation: Generate components, apps, and other resources.
  • Diagnostics: Run diagnostics to ensure your project is set up correctly.

Development

Prerequisites

  • Node.js (v18 or higher)
  • pnpm (v8 or higher)

Setup

  1. Clone the repository:

    git clone https://github.com/magicappdev/magicappdev.git
    cd magicappdev
  2. Install dependencies:

    pnpm install
  3. Build the CLI:

    cd packages/cli
    pnpm run build
  4. Link the CLI for local development:

    pnpm link --global

Running Tests

To run tests for the CLI:

pnpm run test

License

MagicAppDev CLI is licensed under the MIT License.

Troubleshooting

Common Issues

  • Command Not Found: Ensure the CLI is installed globally and your PATH is set correctly.
  • Authentication Errors: Verify your API key and environment variables.
  • Build Errors: Check your Node.js and pnpm versions and ensure all dependencies are installed.

FAQ

Q: How do I update the CLI?

A: Run pnpm update -g @magicappdev/cli to update to the latest version.

Q: Can I use the CLI with npm or yarn?

A: Yes, you can install the CLI using npm or yarn, but pnpm is recommended for optimal performance.

Q: How do I report a bug?

A: Please open an issue on our GitHub repository.