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

# Artifacts はどこにダウンロードされ、保存先はどう指定できますか？

デフォルトでは、W\&B は Artifacts を `artifacts/` フォルダーにダウンロードします。保存先を変更するには、次のいずれかの方法を使用します。

* パスを [`wandb.Artifact().download`](/ja/models/ref/python/public-api/api) に指定します。

  ```python theme={null}
  wandb.Artifact().download(root="<path_to_download>")
  ```

* `WANDB_ARTIFACT_DIR` の[環境変数](/ja/models/track/environment-variables)を設定します。

  ```python theme={null}
  import os
  os.environ["WANDB_ARTIFACT_DIR"] = "<path_to_download>"
  ```

***

<Badge stroke shape="pill" color="orange" size="md">[Artifacts](/ja/support/models/tags/artifacts)</Badge><Badge stroke shape="pill" color="orange" size="md">[環境変数](/ja/support/models/tags/environment-variables)</Badge>
