# `infrahubctl marketplace`

Browse and download schemas from the Infrahub Marketplace.

**Usage**:

```console
$ infrahubctl marketplace [OPTIONS] COMMAND [ARGS]...
```

**Options**:

* `--install-completion`: Install completion for the current shell.
* `--show-completion`: Show completion for the current shell, to copy it or customize the installation.
* `--help`: Show this message and exit.

**Commands**:

* `get`: Fetch a schema or collection from the...

## `infrahubctl marketplace get`

Fetch a schema or collection from the Infrahub Marketplace.

By default, auto-detects whether `namespace/name` is a schema or a collection.
Pass --collection to force the collection path when an identifier exists as both.

**Usage**:

```console
$ infrahubctl marketplace get [OPTIONS] IDENTIFIER
```

**Arguments**:

* `IDENTIFIER`: Schema or collection identifier in namespace/name format  [required]

**Options**:

* `-v, --version TEXT`: Specific schema version, for example 1.2.0. Default: latest published.
* `-c, --collection`: Force collection download. Default: auto-detect whether the identifier is a schema or collection.
* `-s, --stdout`: Print content to stdout instead of writing to disk. Status messages go to stderr.
* `-o, --output-dir PATH`: Directory to save downloaded files.  [default: schemas]
* `--marketplace-url TEXT`: Base URL of the Infrahub Marketplace. Overrides configuration and environment.
* `--config-file TEXT`: [env var: INFRAHUBCTL_CONFIG; default: infrahubctl.toml]
* `--help`: Show this message and exit.
