> ## Documentation Index
> Fetch the complete documentation index at: https://docs.bijection.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Working with multiple installations

> Select an independent installation for each environment.

## Installation types

Use development for day-to-day application work, preview for a named
candidate and production for the live service. Each installation has its own
installed code, data, credentials and resource bindings. A preview's head
can dispatch tasks, so give it test credentials for external providers.

## Create and select a development installation

```sh theme={"theme":{"light":"github-light-default","dark":"github-dark-default"}}
bijection dev --once --installation my-app:inventory
bijection dev
```

`bijection dev --once --installation <project>:<name>` uses the project's development
installation of that name, creates it when there is none, and selects it. A new
installation also takes `--cell` and `--class` when the project offers more than
one placement (`bijection installation placements <project-id>` lists them).
Use `bijection installation select <project>:<name>` to change the saved selection,
or supply `--installation <project>:<name>` on a command. Keep the target explicit in
automated jobs. Git checkout and Bijection installation selection are independent.

## Using preview installations

Create a preview installation, then deploy to it by name.

```sh theme={"theme":{"light":"github-light-default","dark":"github-dark-default"}}
bijection installation create <project> inventory-preview --installation-id <id> --type preview --cell <cell> --class <class>
bijection deploy --installation <project>:inventory-preview
```

Set the frontend's installation endpoint to the preview's URL and configure
that installation's resource bindings.

## Promote a retained build

Deploy the program `bijection build` prints with
`bijection deploy --program <program>` to
[deploy a managed build](https://docs.bijection.com/operate/installations/deploys.md) on another
installation without rebuilding source. Each target still admits the program against its own
bindings and data.

For multiple catalog products, reuse the same resolution snapshot to review
exact revisions and their required bindings in each environment.
[Discover and resolve products](https://docs.bijection.com/operate/installations/portable-archives.md#discover-and-resolve-products).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.