# `mix tessera.install`
[🔗](https://github.com/the-robot-lives/tessera/blob/v0.2.0/lib/mix/tasks/tessera.install.ex#L1)

Prepares a Hologram host app's `assets/` for tessera components:

  * creates or merges `assets/package.json`, adding
    `"@noizu/tessera-core": "file:<relpath to deps/noizu_tessera/priv/js>"`
    and `"lit": "^3"`, plus `file:` entries for every dep app that ships its
    own tessera `priv/js` runtime. Idempotent: existing keys are never
    overwritten, unrelated keys preserved;
  * runs `npm install` in `assets/` unless `--no-npm` is given.

Hologram resolves bare npm specifiers through the host's
`assets/node_modules` (NODE_PATH), so components' `.mjs` files can import
`@noizu/tessera-core` without any further wiring.

    mix tessera.install
    mix tessera.install --no-npm

---

*Consult [api-reference.md](api-reference.md) for complete listing*
