Sign In

@app-cn/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

@app-cn/cli

Init + add CLI for appCN. RN-aware shadcn registry helper for Expo and bare React Native.

Source
npmnpm
Version
0.1.0
Version published
Weekly downloads
0
-100%
Maintainers
1
Weekly downloads
 
Created
Source

@app-cn/cli

Command-line interface for appCN — copy-paste mobile components for React Native + Expo.

Quick start

# Initialize an Expo / React Native project for appCN
npx @app-cn/cli@latest init

# Install a component
npx @app-cn/cli@latest add button

Replace npx with pnpm dlx, yarn dlx, or bunx --bun depending on your package manager.

Commands

appcn init

Sets up NativeWind + Reanimated config and registers the @app-cn namespace in your components.json so the shadcn CLI can resolve appCN components by their short name (e.g. @app-cn/button).

The init wizard is a work-in-progress in 0.1.0 and currently prints manual setup instructions. The full automated flow ships in 0.2.0.

appcn add <slug>

Installs a single component from https://appcn.vercel.app/r/<slug>.json. Behind the scenes this:

  • Verifies the slug exists on the registry.
  • Ensures your components.json has the @app-cn registry entry.
  • Delegates to shadcn@latest add @app-cn/<slug> via your detected package manager.

Flags:

  • -y, --yes — auto-patch components.json if the registry entry is missing.

Environment variables

  • APPCN_REGISTRY_URL — override the registry base URL. Defaults to https://appcn.vercel.app/r. Useful for local docs work.

License

MIT © Salah-XD

Keywords

react-native

FAQs

Package last updated on 28 May 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