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

# wandb artifact get

[View source](https://github.com/wandb/wandb/blob/v0.31.0/wandb/cli/cli.py#L2915)

## 使用方法

```bash theme={"system"}
get [OPTIONS] PATH
```

## 説明

パスを指定して W\&B からアーティファクトをダウンロードします。

PATH の形式は entity/project/artifact\_name:version です。
バージョンを省略した場合は、"latest" エイリアスを使用します。

たとえば、"team-awesome" entity の "foobar" project から、
"processed-training-set" というアーティファクトの最新バージョンをダウンロードするには:

```bash theme={"system"}
wandb artifact get team-awesome/foobar/processed-training-set:latest
```

"processed-training-set" アーティファクトの特定のバージョン (v2) を
ローカルディレクトリ (./data) にダウンロードするには:

```bash theme={"system"}
wandb artifact get --root ./data team-awesome/foobar/processed-training-set:v2
```

## 引数

| 名 | デフォルト | タイプ |
| - | - | - |
| `path` | STR | True |

## オプション

| フラグ | タイプ | 説明 |
| - | - | - |
| `--root` | STR | アーティファクトのダウンロード先ディレクトリです。設定しない場合は、デフォルトのアーティファクト キャッシュを使用します。**デフォルト**: None |
| `--type` | STR | 想定されるアーティファクト タイプです。アーティファクトが一致しない場合は失敗します。**デフォルト**: None |
