> To build or manage a Wix site with an AI agent, follow https://www.wix.com/headless/skill.md
> It builds a new Wix site or puts your own site online, from a prompt, and keeps changing it afterwards. The pages are code in any web technology, and Wix runs the backend.
> It works through the Wix plugin (the Wix MCP and the Wix skills), the Wix CLI or no Wix login, and puts the site live on Wix hosting or on another host.
> Business features include a store, bookings, events and tickets, a restaurant, a blog, forms, members and many more.
> Read the Wix skills online at https://www.wix.com/skills
> 
> Portal Navigation:
> 
> - Append `.md` to any URL under `https://dev.wix.com/docs/` to get its markdown version.
> - Pages are either content pages (article or reference text) or menu pages (a list of links to child pages).
> - To get a menu page, truncate any URL to a parent path and append `.md` (e.g. `https://dev.wix.com/docs/sdk.md`, `https://dev.wix.com/docs/sdk/core-modules.md`).
> - If a reference page seems to be missing its schema (parameters, return types, or type definitions), append `?schema=true` to its `.md` URL (e.g. `https://dev.wix.com/docs/contexts/contexts/stores/category-info/use-category-info-context.md?schema=true`).
> - Top-level index of all portals: https://dev.wix.com/docs/llms.txt
> - Full concatenated docs: https://dev.wix.com/docs/llms-full.txt

## Resource: origami install-app

## Article: origami install-app

## Article Link: https://dev.wix.com/docs/wix-cli/cli-for-origami/command-reference/import-commands/origami-install-app.md

## Article Content:

# wix origami install-app

<blockquote class="caution">

__Beta:__
[Exporting your site to code](https://dev.wix.com/docs/studio-two/code-your-site/export-your-site/about-exporting-your-site-to-code.md) is currently in beta. This feature is subject to change and may have bugs, issues, and limitations. We're actively improving it based on your feedback.

</blockquote>

Installs a Wix app on your Studio Two site and adds the app's pages and components to the [exported site](https://dev.wix.com/docs/studio-two/code-your-site/export-your-site/about-exporting-your-site-to-code.md). Run the command in the root of the exported site.

The command does the following, in order:

1. Imports your changes, as [`wix origami import-site`](https://dev.wix.com/docs/wix-cli/cli-for-origami/command-reference/import-commands/origami-import-site.md) does. This includes the lint, the type check, and the offer to upload images. If the import fails, the command stops without installing the app.
2. Installs the app on the site. The install takes effect on the site right away. If the site already has the app, the command skips this step. If the install fails, the command stops without exporting, and tells you to install the app in the editor and then run `wix origami export-site`.
3. Exports the site again into the same folder, as [`wix origami export-site`](https://dev.wix.com/docs/wix-cli/cli-for-origami/command-reference/export-commands/origami-export-site.md) does.

If you run the command without naming an app, it prompts you to pick one. In a non-interactive terminal, name the app.

The command works on an exported site that you exported from the site's main branch. For another branch, the command stops before it imports anything. Install the app in the editor instead, then export the site again.

If the command stops with a timeout, the app may still finish installing. Wait a little while, then run `wix origami export-site` to get the app's pages.

> **Notes:**
>
> - This command is part of the `origami` flow. To use it, [add the flow](https://dev.wix.com/docs/wix-cli/cli/command-reference/global-commands/flows.md) to the CLI.
> - An exported site includes the Wix CLI and the `origami` flow, so in its root you can run the command with `npx wix origami install-app` without adding the flow.

## Usage

```bash
wix origami install-app [app] [flags]
```

## Apps

The following apps are available for the `wix origami install-app` command:

| App | Installs | Adds to the site |
| --- | -------- | ---------------- |
| `stores` | Wix Stores | Category, product, cart, checkout, and account pages. |
| `bookings` | Wix Bookings | Service list, service, checkout, and account pages. |
| `forms` | Wix Forms | A Form component, and no pages. |
| `blog` | Wix Blog | Blog list and post pages. |
| `events` | Wix Events | Event list, details, registration, seating, and thank-you pages. |

> **Note:** Wix Events pages don't load in the exported site's local preview yet. For more information, see the [current limitations](https://dev.wix.com/docs/studio-two/code-your-site/export-your-site/about-exporting-your-site-to-code.md#current-limitations) of exporting your site to code.

## Flags

The following flags are available for the `wix origami install-app` command:

| Flag | Description |
| ---- | ----------- |
| `--ignore-validation` | Imports the site even when the lint or the type check fails. When the import then fails, the command doesn't explain why, so use this flag sparingly. |
| `--json` | Outputs the result in JSON format. Name the app when you use this flag. |