# atmos toolchain which

Locate the exact file path of a toolchain-managed tool to verify which version will be executed by your components, commands, and workflows. This is essential for troubleshooting version conflicts.

## Usage

Execute the `atmos toolchain which` command like this:

```shell
atmos toolchain which <tool>[@version]
```

## Examples

```shell
atmos toolchain which terraform@1.9.8
atmos toolchain which hashicorp/terraform
atmos toolchain which kubectl
```

## Arguments

- **`tool` (required)** — Tool to locate in the toolchain. Can be a short name (alias) or full `owner/repo` format.
  Optionally include `@version` to locate a specific version.

  Examples: `terraform`, `hashicorp/terraform`, `terraform@1.9.8`

## Try it out

### toolchain

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

```shell
atmos init examples/toolchain
cd toolchain
```

Install jq, then locate its managed executable. Requires network access for installation.

```shell
atmos toolchain install jq
atmos toolchain which jq
```

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