---
title: blossom completion:install
url: "/docs/reference/cli/completion/install/"
canonical_url: https://docs.blossom88.com/docs/reference/cli/completion/install/
markdown_url: https://docs.blossom88.com/docs/reference/cli/completion/install.md
summary: Install shell completion
categories:
- cli
- reference
---

# blossom completion:install

Install shell completion

## Usage

    blossom completion:install [--shell SHELL]

## Flags

| Flag | Description |
| --- | --- |
| `--shell, -s` | Shell to configure: bash, zsh, or fish |

Installs completion for bash, zsh, or fish.

Without `--shell`, Blossom detects the running shell, then falls back to
`$SHELL`.

Examples:

    blossom completion:install
    blossom completion:install --shell bash
    blossom completion:install -s zsh

The command updates the shell startup file with a marked Blossom block, so it is
safe to run again after upgrading the CLI.
