Get an appCN install command
get_install_commandReturns the exact install command for any appCN component with three methods: appCN CLI, shadcn namespaced, or shadcn by URL. Supports npm, pnpm, yarn, or bun.
Instructions
The exact command to add an appCN component to a project. Returns three install methods — the appCN CLI (recommended; handles NativeWind + Reanimated setup), shadcn namespaced, and shadcn by URL (zero setup) — for the requested package manager (or all of them).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"slug": "<slug>"
},
"name": "get_install_command"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slug | Yes | Component slug, e.g. 'button' or 'voice-sphere'. | |
| manager | No | Package manager: npm, pnpm, yarn, or bun. Omit to get commands for all four. |