# atmos vendor get

Read the version pinned for a component in your `vendor.yaml` manifest. The component
is matched by name, so manifest ordering does not matter. The search covers `vendor.yaml`
and every manifest it imports via `spec.imports`, so a component declared only in an
imported file is found too.

:::info
`atmos vendor get` is an alias for [`atmos vendor config get`](/cli/commands/vendor/config/get): it resolves `<component>` to its `spec.sources[N].version` path and delegates to the canonical form.
:::

## Usage

```shell
atmos vendor get <component> [--file <manifest>]
```

## Examples

```shell
atmos vendor get vpc
atmos vendor get vpc --file ./vendor.yaml
```

## Arguments

- **`<component>` (required)** — The component name as it appears in `spec.sources[].component`.

## Flags

- **`--file` (string, default `./vendor.yaml`)** — The vendor manifest file to read.

## Try it out

### demo-vendoring

Copy the example into a new directory and make it your own:

```shell
atmos init examples/demo-vendoring
cd demo-vendoring
```

Read the version pinned for the included `weather` component. This works offline and prints `main` in a fresh copy.

```shell
atmos vendor get weather
```

- [Installation guide](/install)
- [Explore the example](/examples/demo-vendoring)
- [Initialization and repository settings](/cli/commands/init#examples-and-source-directories)
