Environment variables環境変数
uv defines and respects the following environment variables:uvは以下の環境変数を定義し、尊重します:
UV_BREAK_SYSTEM_PACKAGESUV_BREAK_SYSTEM_PACKAGES
added in 0.1.32追加されたのは 0.1.32
Equivalent to the --break-system-packages command-line argument. If set to true,
uv will allow the installation of packages that conflict with system-installed packages.これは --break-system-packages コマンドライン引数と同等です。true に設定すると、uvはシステムにインストールされたパッケージと競合するパッケージのインストールを許可します。
WARNING: UV_BREAK_SYSTEM_PACKAGES=true is intended for use in continuous integration
(CI) or containerized environments and should be used with caution, as modifying the system
Python can lead to unexpected behavior.警告: UV_BREAK_SYSTEM_PACKAGES=true は継続的インテグレーション (CI) またはコンテナ化された環境での使用を意図しており、システムのPythonを変更すると予期しない動作を引き起こす可能性があるため、注意して使用する必要があります。
UV_BUILD_CONSTRAINTUV_BUILD_CONSTRAINT
added in 0.2.340.2.34 で追加されました
Equivalent to the --build-constraints command-line argument. If set, uv will use this file
as constraints for any source distribution builds. Uses space-separated list of files.これは --build-constraints コマンドライン引数と同等です。設定されている場合、uvはこのファイルをソース配布ビルドの制約として使用します。スペースで区切られたファイルのリストを使用します。
UV_CACHE_DIRUV_CACHE_DIR
added in 0.0.50.0.5 で追加されました
Equivalent to the --cache-dir command-line argument. If set, uv will use this
directory for caching instead of the default cache directory.これは --cache-dir コマンドライン引数と同等です。設定されている場合、uvはデフォルトのキャッシュディレクトリの代わりにこのディレクトリをキャッシュ用に使用します。
UV_COMPILE_BYTECODEUV_COMPILE_BYTECODE
added in 0.3.30.3.3 で追加されました
Equivalent to the --compile-bytecode command-line argument. If set, uv
will compile Python source files to bytecode after installation.--compile-bytecode コマンドライン引数と同等です。設定されている場合、uvはインストール後にPythonソースファイルをバイトコードにコンパイルします。
UV_COMPILE_BYTECODE_TIMEOUTUV_COMPILE_BYTECODE_TIMEOUT
added in 0.7.220.7.22 で追加
Timeout (in seconds) for bytecode compilation.バイトコードコンパイルのタイムアウト(秒単位)です。
UV_CONCURRENT_BUILDSUV_CONCURRENT_BUILDS
added in 0.1.430.1.43 で追加
Sets the maximum number of source distributions that uv will build concurrently at any given time.uvが同時にビルドするソース配布の最大数を設定します。
UV_CONCURRENT_DOWNLOADSUV_CONCURRENT_DOWNLOADS
added in 0.1.430.1.43 で追加
Sets the maximum number of in-flight concurrent downloads that uv will perform at any given time.uvが同時に実行する最大のダウンロード数を設定します。
UV_CONCURRENT_INSTALLSUV_CONCURRENT_INSTALLS
added in 0.1.45追加されたのは 0.1.45
Controls the number of threads used when installing and unzipping packages.パッケージのインストールと解凍に使用されるスレッドの数を制御します。
UV_CONFIG_FILEUV_CONFIG_FILE
added in 0.1.34追加されたのは 0.1.34
Equivalent to the --config-file command-line argument. Expects a path to a
local uv.toml file to use as the configuration file.--config-file コマンドライン引数と同等です。設定ファイルとして使用するローカルの uv.toml ファイルへのパスを期待します。
UV_CONSTRAINTUV_CONSTRAINT
added in 0.1.36追加されたのは 0.1.36
Equivalent to the --constraints command-line argument. If set, uv will use this
file as the constraints file. Uses space-separated list of files.--constraints コマンドライン引数と同等です。設定されている場合、uvはこのファイルを制約ファイルとして使用します。スペースで区切られたファイルのリストを使用します。
UV_CREDENTIALS_DIRUV_CREDENTIALS_DIR
added in 0.8.15追加された 0.8.15
The directory for storage of credentials when using a plain text backend.プレーンテキストバックエンドを使用する際の資格情報の保存ディレクトリ。
UV_CUSTOM_COMPILE_COMMANDUV_CUSTOM_COMPILE_COMMAND
added in 0.1.23追加された 0.1.23
Equivalent to the --custom-compile-command command-line argument.--custom-compile-command コマンドライン引数に相当します。
Used to override uv in the output header of the requirements.txt files generated by
uv pip compile. Intended for use-cases in which uv pip compile is called from within a wrapper
script, to include the name of the wrapper script in the output file.uv pip compile によって生成された requirements.txt ファイルの出力ヘッダー内の uv を上書きするために使用されます。
uv pip compile がラッパースクリプト内から呼び出されるユースケースを想定しており、出力ファイルにラッパースクリプトの名前を含めるために使用されます。
UV_DEFAULT_INDEXUV_DEFAULT_INDEX
added in 0.4.23追加された 0.4.23
Equivalent to the --default-index command-line argument. If set, uv will use
this URL as the default index when searching for packages.--default-index コマンドライン引数に相当します。設定されている場合、uv はパッケージを検索する際にこの URL をデフォルトインデックスとして使用します。
UV_DEVUV_DEV
added in 0.8.7追加された 0.8.7
Equivalent to the --dev command-line argument. If set, uv will include
development dependencies.--dev コマンドライン引数と同等です。設定されている場合、uvは開発依存関係を含めます。
UV_DOWNLOAD_URLUV_DOWNLOAD_URL
added in 0.8.4追加された 0.8.4
The URL from which to download uv using the standalone installer. By default, installs from
uv's GitHub Releases. INSTALLER_DOWNLOAD_URL is also supported as an alias, for backwards
compatibility.スタンドアロンインストーラーを使用してuvをダウンロードするためのURLです。デフォルトでは、uvのGitHubリリースからインストールされます。INSTALLER_DOWNLOAD_URLもエイリアスとしてサポートされており、後方互換性があります。
UV_ENV_FILEUV_ENV_FILE
added in 0.4.30追加された 0.4.30
.env files from which to load environment variables when executing uv run commands..env ファイルは、uv run コマンドを実行する際に環境変数を読み込むためのものです。
UV_EXCLUDEUV_EXCLUDE
added in 0.9.8追加された 0.9.8
Equivalent to the --excludes command-line argument. If set, uv will use this
as the excludes file. Uses space-separated list of files.コマンドライン引数の --excludes と同等です。設定されている場合、uv はこれを除外ファイルとして使用します。スペースで区切られたファイルのリストを使用します。
UV_EXCLUDE_NEWERUV_EXCLUDE_NEWER
added in 0.2.120.2.12 で追加
Equivalent to the --exclude-newer command-line argument. If set, uv will
exclude distributions published after the specified date.コマンドライン引数の --exclude-newer と同等です。設定されている場合、uv は指定された日付以降に公開された配布物を除外します。
UV_EXTRA_INDEX_URLUV_EXTRA_INDEX_URL
added in 0.1.30.1.3 で追加
Equivalent to the --extra-index-url command-line argument. If set, uv will
use this space-separated list of URLs as additional indexes when searching for packages.
(Deprecated: use UV_INDEX instead.)コマンドライン引数の --extra-index-url と同等です。設定されている場合、uv はパッケージを検索する際にこのスペースで区切られたURLのリストを追加のインデックスとして使用します。(非推奨:代わりに UV_INDEX を使用してください。)
UV_FIND_LINKSUV_FIND_LINKS
added in 0.4.190.4.19 で追加
Equivalent to the --find-links command-line argument. If set, uv will use this
comma-separated list of additional locations to search for packages.コマンドライン引数の --find-links と同等です。設定されている場合、uv はパッケージを検索するための追加の場所のカンマ区切りリストを使用します。
UV_FORK_STRATEGYUV_FORK_STRATEGY
added in 0.5.9追加されたのは 0.5.9
Equivalent to the --fork-strategy argument. Controls version selection during universal
resolution.--fork-strategy 引数と同等です。ユニバーサル解決中のバージョン選択を制御します。
UV_FROZENUV_FROZEN
added in 0.4.25追加されたのは 0.4.25
Equivalent to the --frozen command-line argument. If set, uv will run without
updating the uv.lock file.--frozen コマンドライン引数と同等です。設定されている場合、uvは uv.lock ファイルを更新せずに実行されます。
UV_GITHUB_TOKENUV_GITHUB_TOKEN
added in 0.4.10追加されたのは 0.4.10
Equivalent to the --token argument for self update. A GitHub token for authentication.--token 引数と同等です。自己更新のためのGitHubトークンです。
UV_GIT_LFSUV_GIT_LFS
added in 0.5.19追加された 0.5.19
Enables fetching files stored in Git LFS when installing a package from a Git repository.Gitリポジトリからパッケージをインストールする際に、Git LFSに保存されたファイルを取得することを可能にします。
UV_HTTP_RETRIESUV_HTTP_RETRIES
added in 0.7.21追加された 0.7.21
The number of retries for HTTP requests. (default: 3)HTTPリクエストの再試行回数。(デフォルト: 3)
UV_HTTP_TIMEOUTUV_HTTP_TIMEOUT
added in 0.1.7追加された 0.1.7
Timeout (in seconds) for HTTP requests. (default: 30 s)HTTPリクエストのタイムアウト(秒単位)。(デフォルト: 30秒)
UV_INDEXUV_INDEX
added in 0.4.23追加された 0.4.23
Equivalent to the --index command-line argument. If set, uv will use this
space-separated list of URLs as additional indexes when searching for packages.コマンドライン引数 --index と同等です。設定されている場合、uvはこの
スペース区切りのURLリストをパッケージ検索時の追加インデックスとして使用します。
UV_INDEX_STRATEGYUV_INDEX_STRATEGY
added in 0.1.29追加されたのは 0.1.29
Equivalent to the --index-strategy command-line argument.コマンドライン引数 --index-strategy と同等です。
For example, if set to unsafe-best-match, uv will consider versions of a given package
available across all index URLs, rather than limiting its search to the first index URL
that contains the package.例えば、unsafe-best-match に設定されている場合、uvは特定のパッケージのバージョンを
すべてのインデックスURLで利用可能と見なし、パッケージを含む最初のインデックスURLに
検索を制限することはありません。
UV_INDEX_URLUV_INDEX_URL
added in 0.0.5追加されたのは 0.0.5
Equivalent to the --index-url command-line argument. If set, uv will use this
URL as the default index when searching for packages.
(Deprecated: use UV_DEFAULT_INDEX instead.)コマンドライン引数 --index-url と同等です。設定されている場合、uvはこの
URLをパッケージ検索時のデフォルトインデックスとして使用します。
(非推奨: 代わりに UV_DEFAULT_INDEX を使用してください。)
UV_INDEX_{name}_PASSWORDUV_INDEX_{name}_PASSWORD
added in 0.4.23追加されたのは 0.4.23
Provides the HTTP Basic authentication password for a named index.指定されたインデックスのHTTP Basic認証パスワードを提供します。
The name parameter is the name of the index. For example, given an index named foo,
the environment variable key would be UV_INDEX_FOO_PASSWORD.パラメータのnameはインデックスの名前です。例えば、fooという名前のインデックスがある場合、環境変数のキーはUV_INDEX_FOO_PASSWORDになります。
UV_INDEX_{name}_USERNAMEUV_INDEX_{name}_USERNAME
added in 0.4.23追加されたのは0.4.23です
Provides the HTTP Basic authentication username for a named index.指定されたインデックスのHTTP Basic認証ユーザー名を提供します。
The name parameter is the name of the index. For example, given an index named foo,
the environment variable key would be UV_INDEX_FOO_USERNAME.パラメータのnameはインデックスの名前です。例えば、fooという名前のインデックスがある場合、環境変数のキーはUV_INDEX_FOO_USERNAMEになります。
UV_INIT_BUILD_BACKENDUV_INIT_BUILD_BACKEND
added in 0.8.2追加されたのは0.8.2です
Equivalent to the --build-backend argument for uv init. Determines the default backend
to use when creating a new project.uv initの--build-backend引数に相当します。新しいプロジェクトを作成する際に使用するデフォルトのバックエンドを決定します。
UV_INSECURE_HOSTUV_INSECURE_HOST
added in 0.3.5追加された 0.3.5
Equivalent to the --allow-insecure-host argument.--allow-insecure-host 引数と同等です。
UV_INSECURE_NO_ZIP_VALIDATIONUV_INSECURE_NO_ZIP_VALIDATION
added in 0.8.6追加された 0.8.6
Disable ZIP validation for streamed wheels and ZIP-based source distributions.ストリーミングホイールおよびZIPベースのソース配布のためにZIP検証を無効にします。
WARNING: Disabling ZIP validation can expose your system to security risks by bypassing integrity checks and allowing uv to install potentially malicious ZIP files. If uv rejects a ZIP file due to failing validation, it is likely that the file is malformed; consider filing an issue with the package maintainer.警告: ZIP検証を無効にすると、整合性チェックをバイパスし、uvが潜在的に悪意のあるZIPファイルをインストールすることを許可することにより、システムがセキュリティリスクにさらされる可能性があります。uvが検証に失敗したためにZIPファイルを拒否した場合、そのファイルは不正な形式である可能性があります; パッケージメンテナに問題を報告することを検討してください。
UV_INSTALLER_GHE_BASE_URLUV_INSTALLER_GHE_BASE_URL
added in 0.5.0追加された 0.5.0
The URL from which to download uv using the standalone installer and self update feature,
in lieu of the default GitHub Enterprise URL.スタンドアロンインストーラーとself update機能を使用してuvをダウンロードするためのURLで、デフォルトのGitHub Enterprise URLの代わりに使用されます。
UV_INSTALLER_GITHUB_BASE_URLUV_INSTALLER_GITHUB_BASE_URL
added in 0.5.0追加された 0.5.0
The URL from which to download uv using the standalone installer and self update feature,
in lieu of the default GitHub URL.スタンドアロンインストーラーと self update 機能を使用して uv をダウンロードするための URL。
デフォルトの GitHub URL の代わりに使用します。
UV_INSTALL_DIRUV_INSTALL_DIR
added in 0.5.0追加された 0.5.0
The directory in which to install uv using the standalone installer and self update feature.
Defaults to ~/.local/bin.スタンドアロンインストーラーと self update 機能を使用して uv をインストールするディレクトリ。
デフォルトは ~/.local/bin です。
UV_ISOLATEDUV_ISOLATED
added in 0.8.14追加された 0.8.14
Equivalent to the --isolated command-line argument. If set, uv will avoid discovering
a pyproject.toml or uv.toml file.--isolated コマンドライン引数に相当します。設定されている場合、uv は pyproject.toml または uv.toml ファイルを発見しないようにします。
UV_KEYRING_PROVIDERUV_KEYRING_PROVIDER
added in 0.1.19追加された 0.1.19
Equivalent to the --keyring-provider command-line argument. If set, uv
will use this value as the keyring provider.コマンドライン引数 --keyring-provider と同等です。設定されている場合、uvはこの値をキーチェーンプロバイダーとして使用します。
UV_LIBCUV_LIBC
added in 0.7.220.7.22 で追加
Overrides the environment-determined libc on linux systems when filling in the current platform
within Python version requests. Options are: gnu, gnueabi, gnueabihf, musl, and none.Pythonのバージョンリクエスト内で現在のプラットフォームを埋め込む際に、Linuxシステム上で環境によって決定されたlibcをオーバーライドします。オプションは: gnu, gnueabi, gnueabihf, musl, および none です。
UV_LINK_MODEUV_LINK_MODE
added in 0.1.400.1.40 で追加
Equivalent to the --link-mode command-line argument. If set, uv will use this as
a link mode.コマンドライン引数 --link-mode と同等です。設定されている場合、uvはこれをリンクモードとして使用します。
UV_LOCKEDUV_LOCKED
added in 0.4.250.4.25 で追加
Equivalent to the --locked command-line argument. If set, uv will assert that the
uv.lock remains unchanged.コマンドライン引数 --locked と同等です。設定されている場合、uvは uv.lock が変更されていないことを主張します。
UV_LOG_CONTEXTUV_LOG_CONTEXT
added in 0.6.4追加されたのは 0.6.4
Add additional context and structure to log messages.ログメッセージに追加のコンテキストと構造を追加します。
If logging is not enabled, e.g., with RUST_LOG or -v, this has no effect.ログが有効でない場合、例えば RUST_LOG または -v を使用している場合、これは効果がありません。
UV_MANAGED_PYTHONUV_MANAGED_PYTHON
added in 0.6.8追加されたのは 0.6.8
Require use of uv-managed Python versions.uv管理のPythonバージョンの使用を要求します。
UV_NATIVE_TLSUV_NATIVE_TLS
added in 0.1.19追加されたのは 0.1.19
Equivalent to the --native-tls command-line argument. If set to true, uv will
use the system's trust store instead of the bundled webpki-roots crate.--native-tls コマンドライン引数と同等です。true に設定すると、uvはバンドルされた webpki-roots クレートの代わりにシステムの信頼ストアを使用します。
UV_NO_BINARYUV_NO_BINARY
added in 0.5.30追加された 0.5.30
Equivalent to the --no-binary command-line argument. If set, uv will install
all packages from source. The resolver will still use pre-built wheels to
extract package metadata, if available.--no-binary コマンドライン引数と同等です。設定されている場合、uvはすべてのパッケージをソースからインストールします。リゾルバは、利用可能な場合、パッケージメタデータを抽出するために事前にビルドされたホイールを使用します。
UV_NO_BINARY_PACKAGEUV_NO_BINARY_PACKAGE
added in 0.5.30追加された 0.5.30
Equivalent to the --no-binary-package command line argument. If set, uv will
not use pre-built wheels for the given space-delimited list of packages.--no-binary-package コマンドライン引数と同等です。設定されている場合、uvは指定されたスペース区切りのパッケージリストに対して事前にビルドされたホイールを使用しません。
UV_NO_BUILDUV_NO_BUILD
added in 0.1.40追加された 0.1.40
Equivalent to the --no-build command-line argument. If set, uv will not build
source distributions.--no-build コマンドライン引数と同等です。設定されている場合、uvはソース配布をビルドしません。
UV_NO_BUILD_ISOLATIONUV_NO_BUILD_ISOLATION
added in 0.1.40追加された 0.1.40
Equivalent to the --no-build-isolation command-line argument. If set, uv will
skip isolation when building source distributions.--no-build-isolation コマンドライン引数と同等です。設定されている場合、uvはソース配布のビルド時に隔離をスキップします。
UV_NO_BUILD_PACKAGEUV_NO_BUILD_PACKAGE
added in 0.6.50.6.5 で追加
Equivalent to the --no-build-package command line argument. If set, uv will
not build source distributions for the given space-delimited list of packages.--no-build-package コマンドライン引数と同等です。設定されている場合、uvは指定されたスペース区切りのパッケージリストのソース配布をビルドしません。
UV_NO_CACHEUV_NO_CACHE
added in 0.1.20.1.2 で追加
Equivalent to the --no-cache command-line argument. If set, uv will not use the
cache for any operations.--no-cache コマンドライン引数と同等です。設定されている場合、uvはすべての操作に対してキャッシュを使用しません。
UV_NO_CONFIGUV_NO_CONFIG
added in 0.2.300.2.30 で追加
Equivalent to the --no-config command-line argument. If set, uv will not read
any configuration files from the current directory, parent directories, or user configuration
directories.--no-config コマンドライン引数と同等です。設定されている場合、uvは現在のディレクトリ、親ディレクトリ、またはユーザー設定ディレクトリからの設定ファイルを読み込みません。
UV_NO_DEFAULT_GROUPSUV_NO_DEFAULT_GROUPS
added in 0.9.9追加されたのは 0.9.9
Equivalent to the --no-default-groups command-line argument. If set, uv will
not select the default dependency groups defined in tool.uv.default-groups.--no-default-groups コマンドライン引数と同等です。設定されている場合、uvは tool.uv.default-groups で定義されたデフォルトの依存関係グループを選択しません。
UV_NO_DEVUV_NO_DEV
added in 0.8.7追加されたのは 0.8.7
Equivalent to the --no-dev command-line argument. If set, uv will exclude
development dependencies.--no-dev コマンドライン引数と同等です。設定されている場合、uvは開発依存関係を除外します。
UV_NO_EDITABLEUV_NO_EDITABLE
added in 0.6.15追加されたのは 0.6.15
Equivalent to the --no-editable command-line argument. If set, uv
installs or exports any editable dependencies, including the project and any workspace
members, as non-editable.--no-editable コマンドライン引数と同等です。設定されている場合、uvはプロジェクトやワークスペースのメンバーを含むすべての編集可能な依存関係を非編集可能としてインストールまたはエクスポートします。
UV_NO_ENV_FILEUV_NO_ENV_FILE
added in 0.4.30追加された 0.4.30
Ignore .env files when executing uv run commands.uv run コマンドを実行する際に .env ファイルを無視します。
UV_NO_GITHUB_FAST_PATHUV_NO_GITHUB_FAST_PATH
added in 0.7.13追加された 0.7.13
Disable GitHub-specific requests that allow uv to skip git fetch in some circumstances.特定の状況下で git fetch をスキップできるようにする GitHub 特有のリクエストを無効にします。
UV_NO_GROUPUV_NO_GROUP
added in 0.9.8追加された 0.9.8
Equivalent to the --no-group command-line argument. If set, uv will disable
the specified dependency groups for the given space-delimited list of packages.--no-group コマンドライン引数と同等です。設定されている場合、uv は指定されたスペース区切りのパッケージリストに対して依存関係グループを無効にします。
UV_NO_HF_TOKENUV_NO_HF_TOKEN
added in 0.8.1追加された 0.8.1
Disable Hugging Face authentication, even if HF_TOKEN is set.Hugging Faceの認証を無効にします。たとえHF_TOKENが設定されていても。
UV_NO_INSTALLER_METADATAUV_NO_INSTALLER_METADATA
added in 0.5.70.5.7で追加されました
Skip writing uv installer metadata files (e.g., INSTALLER, REQUESTED, and direct_url.json) to site-packages .dist-info directories.uvインストーラーメタデータファイル(例:INSTALLER、REQUESTED、およびdirect_url.json)をsite-packages .dist-infoディレクトリに書き込むのをスキップします。
UV_NO_MANAGED_PYTHONUV_NO_MANAGED_PYTHON
added in 0.6.80.6.8で追加されました
Disable use of uv-managed Python versions.uv管理のPythonバージョンの使用を無効にします。
UV_NO_MODIFY_PATHUV_NO_MODIFY_PATH
added in 0.8.40.8.4で追加されました
Avoid modifying the PATH environment variable when installing uv using the standalone
installer and self update feature. INSTALLER_NO_MODIFY_PATH is also supported as an
alias, for backwards compatibility.スタンドアロンインストーラーとself update機能を使用してuvをインストールする際に、PATH環境変数を変更しないようにします。INSTALLER_NO_MODIFY_PATHもエイリアスとしてサポートされており、後方互換性があります。
UV_NO_PROGRESSUV_NO_PROGRESS
added in 0.2.28追加された 0.2.28
Equivalent to the --no-progress command-line argument. Disables all progress output. For
example, spinners and progress bars.--no-progress コマンドライン引数と同等です。すべての進行状況出力を無効にします。例えば、スピナーやプログレスバー。
UV_NO_SOURCESUV_NO_SOURCES
added in 0.9.8追加された 0.9.8
Equivalent to the --no-sources command-line argument. If set, uv will ignore
[tool.uv.sources] annotations when resolving dependencies.--no-sources コマンドライン引数と同等です。設定されている場合、uvは依存関係を解決する際に [tool.uv.sources] アノテーションを無視します。
UV_NO_SYNCUV_NO_SYNC
added in 0.4.18追加された 0.4.18
Equivalent to the --no-sync command-line argument. If set, uv will skip updating
the environment.--no-sync コマンドライン引数と同等です。設定されている場合、uvは環境の更新をスキップします。
UV_NO_VERIFY_HASHESUV_NO_VERIFY_HASHES
added in 0.5.3追加された 0.5.3
Equivalent to the --no-verify-hashes argument. Disables hash verification for
requirements.txt files.--no-verify-hashes 引数と同等です。requirements.txt ファイルのハッシュ検証を無効にします。
UV_NO_WRAPUV_NO_WRAP
added in 0.0.50.0.5 で追加
Use to disable line wrapping for diagnostics.診断のために行の折り返しを無効にするために使用します。
UV_OFFLINEUV_OFFLINE
added in 0.5.90.5.9 で追加
Equivalent to the --offline command-line argument. If set, uv will disable network access.--offline コマンドライン引数と同等です。設定されている場合、uvはネットワークアクセスを無効にします。
UV_OVERRIDEUV_OVERRIDE
added in 0.2.220.2.22 で追加
Equivalent to the --overrides command-line argument. If set, uv will use this file
as the overrides file. Uses space-separated list of files.--overrides コマンドライン引数と同等です。設定されている場合、uvはこのファイルをオーバーライドファイルとして使用します。スペース区切りのファイルリストを使用します。
UV_PRERELEASEUV_PRERELEASE
added in 0.1.16追加されたのは 0.1.16
Equivalent to the --prerelease command-line argument. For example, if set to
allow, uv will allow pre-release versions for all dependencies.--prerelease コマンドライン引数と同等です。例えば、allow に設定すると、uvはすべての依存関係に対してプレリリースバージョンを許可します。
UV_PREVIEWUV_PREVIEW
added in 0.1.37追加されたのは 0.1.37
Equivalent to the --preview argument. Enables preview mode.--preview 引数と同等です。プレビュー モードを有効にします。
UV_PREVIEW_FEATURESUV_PREVIEW_FEATURES
added in 0.8.4追加されたのは 0.8.4
Equivalent to the --preview-features argument. Enables specific preview features.--preview-features 引数と同等です。特定のプレビューフィーチャーを有効にします。
UV_PROJECTUV_PROJECT
added in 0.4.4追加された 0.4.4
Equivalent to the --project command-line argument.--project コマンドライン引数と同等です。
UV_PROJECT_ENVIRONMENTUV_PROJECT_ENVIRONMENT
added in 0.4.4追加された 0.4.4
Specifies the path to the directory to use for a project virtual environment.プロジェクトの仮想環境に使用するディレクトリのパスを指定します。
See the project documentation for more details.プロジェクトのドキュメントを参照して、詳細を確認してください。
UV_PUBLISH_CHECK_URLUV_PUBLISH_CHECK_URL
added in 0.4.30追加された 0.4.30
Don't upload a file if it already exists on the index. The value is the URL of the index.インデックスに既に存在するファイルはアップロードしません。値はインデックスのURLです。
UV_PUBLISH_INDEXUV_PUBLISH_INDEX
added in 0.5.8追加された 0.5.8
Equivalent to the --index command-line argument in uv publish. If
set, uv the index with this name in the configuration for publishing.uv publish のコマンドライン引数 --index と同等です。設定されている場合、uvはこの名前のインデックスを公開用の設定で使用します。
UV_PUBLISH_NO_ATTESTATIONSUV_PUBLISH_NO_ATTESTATIONS
added in 0.9.12追加された 0.9.12
Equivalent to the --no-attestations command-line argument in uv publish. If set,
uv will skip uploading any collected attestations for the published distributions.uv publish のコマンドライン引数 --no-attestations と同等です。設定されている場合、uvは公開された配布物のために収集された証明書のアップロードをスキップします。
UV_PUBLISH_PASSWORDUV_PUBLISH_PASSWORD
added in 0.4.16追加された 0.4.16
Equivalent to the --password command-line argument in uv publish. If
set, uv will use this password for publishing.uv publish のコマンドライン引数 --password と同等です。設定されている場合、uvはこのパスワードを使用して公開します。
UV_PUBLISH_TOKENUV_PUBLISH_TOKEN
added in 0.4.16追加された 0.4.16
Equivalent to the --token command-line argument in uv publish. If set, uv
will use this token (with the username __token__) for publishing.uv publishのコマンドライン引数--tokenに相当します。設定されている場合、uvはこのトークン(ユーザー名__token__)を使用して公開します。
UV_PUBLISH_URLUV_PUBLISH_URL
added in 0.4.160.4.16で追加
Equivalent to the --publish-url command-line argument. The URL of the upload
endpoint of the index to use with uv publish.uv publishで使用するインデックスのアップロードエンドポイントのURLに相当する--publish-urlコマンドライン引数です。
UV_PUBLISH_USERNAMEUV_PUBLISH_USERNAME
added in 0.4.160.4.16で追加
Equivalent to the --username command-line argument in uv publish. If
set, uv will use this username for publishing.uv publishのコマンドライン引数--usernameに相当します。設定されている場合、uvはこのユーザー名を使用して公開します。
UV_PYPY_INSTALL_MIRRORUV_PYPY_INSTALL_MIRROR
added in 0.2.350.2.35で追加
Managed PyPy installations are downloaded from python.org.管理されたPyPyインストールはpython.orgからダウンロードされます。
This variable can be set to a mirror URL to use a
different source for PyPy installations. The provided URL will replace
https://downloads.python.org/pypy in, e.g.,
https://downloads.python.org/pypy/pypy3.8-v7.3.7-osx64.tar.bz2.
Distributions can be read from a local directory by using the file:// URL scheme.この変数は、PyPyインストールのために異なるソースを使用するためにミラーURLに設定できます。提供されたURLは、例えば、https://downloads.python.org/pypyを置き換えます。https://downloads.python.org/pypy/pypy3.8-v7.3.7-osx64.tar.bz2。配布物は、file:// URLスキームを使用してローカルディレクトリから読み取ることができます。
UV_PYTHONUV_PYTHON
added in 0.1.400.1.40で追加
Equivalent to the --python command-line argument. If set to a path, uv will use
this Python interpreter for all operations.--pythonコマンドライン引数と同等です。パスに設定されている場合、uvはすべての操作にこのPythonインタプリタを使用します。
UV_PYTHON_BIN_DIRUV_PYTHON_BIN_DIR
added in 0.4.290.4.29で追加
Specifies the directory to place links to installed, managed Python executables.インストールされた管理されたPython実行可能ファイルへのリンクを配置するディレクトリを指定します。
UV_PYTHON_CACHE_DIRUV_PYTHON_CACHE_DIR
added in 0.7.00.7.0で追加
Specifies the directory for caching the archives of managed Python installations before installation.インストール前に管理されたPythonインストールのアーカイブをキャッシュするためのディレクトリを指定します。
UV_PYTHON_CPYTHON_BUILDUV_PYTHON_CPYTHON_BUILD
added in 0.8.14追加されたのは 0.8.14
Pin managed CPython versions to a specific build version.管理されたCPythonバージョンを特定のビルドバージョンに固定します。
For CPython, this should be the build date (e.g., "20250814").CPythonの場合、これはビルド日(例:"20250814")である必要があります。
UV_PYTHON_DOWNLOADSUV_PYTHON_DOWNLOADS
added in 0.3.2追加されたのは 0.3.2
Equivalent to the
python-downloads setting and, when disabled, the
--no-python-downloads option. Whether uv should allow Python downloads.これは
python-downloads 設定と同等であり、無効にすると
--no-python-downloads オプションになります。uvがPythonのダウンロードを許可するかどうか。
UV_PYTHON_DOWNLOADS_JSON_URLUV_PYTHON_DOWNLOADS_JSON_URL
added in 0.6.13追加されたのは 0.6.13
Managed Python installations information is hardcoded in the uv binary.管理されたPythonインストール情報はuvバイナリにハードコーディングされています。
This variable can be set to a local path or URL pointing to a JSON list of Python installations to override the hardcoded list.この変数は、ハードコーディングされたリストを上書きするためのPythonインストールのJSONリストを指すローカルパスまたはURLに設定できます。
This allows customizing the URLs for downloads or using slightly older or newer versions
of Python than the ones hardcoded into this build of uv.これにより、uvのこのビルドにハードコーディングされたものよりも少し古いまたは新しいバージョンのPythonを使用するためのダウンロード用のURLをカスタマイズできます。
UV_PYTHON_GRAALPY_BUILDUV_PYTHON_GRAALPY_BUILD
added in 0.8.140.8.14で追加
Pin managed GraalPy versions to a specific build version.管理されたGraalPyバージョンを特定のビルドバージョンに固定します。
For GraalPy, this should be the GraalPy version (e.g., "24.2.2").GraalPyの場合、これはGraalPyのバージョン(例:"24.2.2")である必要があります。
UV_PYTHON_INSTALL_BINUV_PYTHON_INSTALL_BIN
added in 0.8.00.8.0で追加
Whether to install the Python executable into the UV_PYTHON_BIN_DIR directory.UV_PYTHON_BIN_DIRディレクトリにPython実行可能ファイルをインストールするかどうか。
UV_PYTHON_INSTALL_DIRUV_PYTHON_INSTALL_DIR
added in 0.2.22追加された 0.2.22
Specifies the directory for storing managed Python installations.管理されたPythonインストールを保存するディレクトリを指定します。
UV_PYTHON_INSTALL_MIRRORUV_PYTHON_INSTALL_MIRROR
added in 0.2.35追加された 0.2.35
Managed Python installations are downloaded from the Astral
python-build-standalone project.管理されたPythonインストールはAstral
python-build-standaloneプロジェクトからダウンロードされます。
This variable can be set to a mirror URL to use a different source for Python installations.
The provided URL will replace https://github.com/astral-sh/python-build-standalone/releases/download in, e.g.,
https://github.com/astral-sh/python-build-standalone/releases/download/20240713/cpython-3.12.4%2B20240713-aarch64-apple-darwin-install_only.tar.gz.
Distributions can be read from a local directory by using the file:// URL scheme.この変数は、Pythonインストールの異なるソースを使用するためにミラーURLに設定できます。
提供されたURLは、例えば、https://github.com/astral-sh/python-build-standalone/releases/downloadを置き換えます。
https://github.com/astral-sh/python-build-standalone/releases/download/20240713/cpython-3.12.4%2B20240713-aarch64-apple-darwin-install_only.tar.gzのように。
配布物は、file:// URLスキームを使用してローカルディレクトリから読み取ることができます。
UV_PYTHON_INSTALL_REGISTRYUV_PYTHON_INSTALL_REGISTRY
added in 0.8.0追加された 0.8.0
Whether to install the Python executable into the Windows registry.Python実行可能ファイルをWindowsレジストリにインストールするかどうか。
UV_PYTHON_PREFERENCEUV_PYTHON_PREFERENCE
added in 0.3.2追加された 0.3.2
Whether uv should prefer system or managed Python versions.uvがシステムまたは管理されたPythonバージョンを優先すべきかどうか。
UV_PYTHON_PYODIDE_BUILDUV_PYTHON_PYODIDE_BUILD
added in 0.8.14追加された 0.8.14
Pin managed Pyodide versions to a specific build version.管理されたPyodideバージョンを特定のビルドバージョンに固定します。
For Pyodide, this should be the Pyodide version (e.g., "0.28.1").Pyodideの場合、これはPyodideのバージョンであるべきです(例:"0.28.1")。
UV_PYTHON_PYPY_BUILDUV_PYTHON_PYPY_BUILD
added in 0.8.14追加された 0.8.14
Pin managed PyPy versions to a specific build version.管理されたPyPyバージョンを特定のビルドバージョンに固定します。
For PyPy, this should be the PyPy version (e.g., "7.3.20").PyPyの場合、これはPyPyのバージョンであるべきです(例:"7.3.20")。
UV_REQUEST_TIMEOUTUV_REQUEST_TIMEOUT
added in 0.1.6追加されたのは 0.1.6
Timeout (in seconds) for HTTP requests. Equivalent to UV_HTTP_TIMEOUT.HTTPリクエストのタイムアウト(秒単位)。UV_HTTP_TIMEOUTと同等です。
UV_REQUIRE_HASHESUV_REQUIRE_HASHES
added in 0.1.34追加されたのは 0.1.34
Equivalent to the --require-hashes command-line argument. If set to true,
uv will require that all dependencies have a hash specified in the requirements file.--require-hashes コマンドライン引数と同等です。trueに設定されている場合、uvはすべての依存関係が要求ファイルにハッシュを指定していることを要求します。
UV_RESOLUTIONUV_RESOLUTION
added in 0.1.27追加されたのは 0.1.27
Equivalent to the --resolution command-line argument. For example, if set to
lowest-direct, uv will install the lowest compatible versions of all direct dependencies.--resolution コマンドライン引数と同等です。例えば、lowest-directに設定されている場合、uvはすべての直接依存関係の最低互換バージョンをインストールします。
UV_S3_ENDPOINT_URLUV_S3_ENDPOINT_URL
added in 0.8.21追加された 0.8.21
The URL to treat as an S3-compatible storage endpoint. Requests to this endpoint
will be signed using AWS Signature Version 4 based on the AWS_ACCESS_KEY_ID,
AWS_SECRET_ACCESS_KEY, AWS_PROFILE, and AWS_CONFIG_FILE environment variables.S3互換ストレージエンドポイントとして扱うURL。このエンドポイントへのリクエストは、AWS_ACCESS_KEY_ID、AWS_SECRET_ACCESS_KEY、AWS_PROFILE、および AWS_CONFIG_FILE 環境変数に基づいて、AWS Signature Version 4を使用して署名されます。
UV_SKIP_WHEEL_FILENAME_CHECKUV_SKIP_WHEEL_FILENAME_CHECK
added in 0.8.23追加された 0.8.23
Avoid verifying that wheel filenames match their contents when installing wheels. This is not recommended, as wheels with inconsistent filenames should be considered invalid and corrected by the relevant package maintainers; however, this option can be used to work around invalid artifacts in rare cases.ホイールをインストールする際に、ホイールのファイル名がその内容と一致するかどうかの検証を避けます。これは推奨されません。なぜなら、ファイル名が不一致のホイールは無効と見なされ、関連するパッケージメンテナによって修正されるべきだからです。しかし、このオプションは稀なケースで無効なアーティファクトを回避するために使用できます。
UV_STACK_SIZEUV_STACK_SIZE
added in 0.0.5追加された 0.0.5
Use to set the stack size used by uv.uvによって使用されるスタックサイズを設定するために使用します。
The value is in bytes, and if both UV_STACK_SIZE are RUST_MIN_STACK unset, uv uses a 4MB
(4194304) stack. UV_STACK_SIZE takes precedence over RUST_MIN_STACK.値はバイト単位で、UV_STACK_SIZE と RUST_MIN_STACK の両方が未設定の場合、uvは4MB(4194304)のスタックを使用します。UV_STACK_SIZE は RUST_MIN_STACK よりも優先されます。
Unlike the normal RUST_MIN_STACK semantics, this can affect main thread
stack size, because we actually spawn our own main2 thread to work around
the fact that Windows' real main thread is only 1MB. That thread has size
max(UV_STACK_SIZE, 1MB).通常の RUST_MIN_STACK のセマンティクスとは異なり、これはメインスレッドのスタックサイズに影響を与える可能性があります。なぜなら、実際に自分自身のmain2スレッドを生成して、Windowsの実際のメインスレッドが1MBしかないという事実を回避するからです。そのスレッドのサイズは max(UV_STACK_SIZE, 1MB) です。
UV_SYSTEM_PYTHONUV_SYSTEM_PYTHON
added in 0.1.18追加されたのは 0.1.18
Equivalent to the --system command-line argument. If set to true, uv will
use the first Python interpreter found in the system PATH.--system コマンドライン引数に相当します。true に設定すると、uvはシステムの PATH で見つかった最初のPythonインタプリタを使用します。
WARNING: UV_SYSTEM_PYTHON=true is intended for use in continuous integration (CI)
or containerized environments and should be used with caution, as modifying the system
Python can lead to unexpected behavior.警告: UV_SYSTEM_PYTHON=true は継続的インテグレーション (CI) またはコンテナ化された環境での使用を意図しており、システムのPythonを変更すると予期しない動作を引き起こす可能性があるため、注意して使用する必要があります。
UV_TEST_NO_HTTP_RETRY_DELAYUV_TEST_NO_HTTP_RETRY_DELAY
added in 0.7.21追加されたのは 0.7.21
Used to disable delay for HTTP retries in tests.テストにおけるHTTPリトライの遅延を無効にするために使用されます。
UV_TOOL_BIN_DIRUV_TOOL_BIN_DIR
added in 0.3.0追加されたのは 0.3.0
Specifies the "bin" directory for installing tool executables.ツール実行可能ファイルをインストールするための "bin" ディレクトリを指定します。
UV_TOOL_DIRUV_TOOL_DIR
added in 0.2.16追加された 0.2.16
Specifies the directory where uv stores managed tools.uvが管理ツールを保存するディレクトリを指定します。
UV_TORCH_BACKENDUV_TORCH_BACKEND
added in 0.6.9追加された 0.6.9
Equivalent to the --torch-backend command-line argument (e.g., cpu, cu126, or auto).--torch-backend コマンドライン引数(例: cpu, cu126, または auto)に相当します。
UV_UNMANAGED_INSTALLUV_UNMANAGED_INSTALL
added in 0.5.0追加された 0.5.0
Used ephemeral environments like CI to install uv to a specific path while preventing the installer from modifying shell profiles or environment variables.CIのような一時的な環境を使用して、uvを特定のパスにインストールし、インストーラーがシェルプロファイルや環境変数を変更するのを防ぎます。
UV_UPLOAD_HTTP_TIMEOUTUV_UPLOAD_HTTP_TIMEOUT
added in 0.9.1追加された 0.9.1
Timeout (in seconds) for only upload HTTP requests. (default: 900 s)アップロードHTTPリクエスト専用のタイムアウト(秒単位)。(デフォルト:900秒)
UV_VENV_CLEARUV_VENV_CLEAR
added in 0.8.0追加された 0.8.0
Equivalent to the --clear command-line argument. If set, uv will remove any
existing files or directories at the target path.--clear コマンドライン引数と同等です。設定されている場合、uvはターゲットパスにある既存のファイルやディレクトリを削除します。
UV_VENV_SEEDUV_VENV_SEED
added in 0.5.21追加された 0.5.21
Install seed packages (one or more of: pip, setuptools, and wheel) into the virtual environment
created by uv venv.uv venvによって作成された仮想環境に、シードパッケージ(pip、setuptools、および wheel のいずれかまたはすべて)をインストールします。
Note that setuptools and wheel are not included in Python 3.12+ environments.setuptools と wheel は Python 3.12+ 環境には含まれていないことに注意してください。
UV_WORKING_DIRECTORYUV_WORKING_DIRECTORY
added in 0.9.1追加された 0.9.1
Equivalent to the --directory command-line argument.--directory コマンドライン引数に相当します。
Externally defined variables外部定義変数
uv also reads the following externally defined environment variables:uvは以下の外部定義環境変数も読み取ります:
ALL_PROXYALL_PROXY
added in 0.1.380.1.38 で追加
General proxy for all network requests.すべてのネットワークリクエストの一般的なプロキシ。
ANDROID_API_LEVELANDROID_API_LEVEL
added in 0.8.160.8.16 で追加
Used with --python-platform aarch64-linux-android and related variants to set the
Android API level. (i.e., the minimum supported Android API level).--python-platform aarch64-linux-android および関連するバリアントと共に使用して、Android APIレベルを設定します。(すなわち、サポートされる最小のAndroid APIレベル)。
Defaults to 24.デフォルトは 24 です。
APPDATAAPPDATA
added in 0.1.42追加された 0.1.42
Path to user-level configuration directory on Windows systems.Windowsシステム上のユーザーレベルの設定ディレクトリへのパス。
AWS_ACCESS_KEY_IDAWS_ACCESS_KEY_ID
added in 0.8.21追加された 0.8.21
The AWS access key ID to use when signing S3 requests.S3リクエストに署名する際に使用するAWSアクセスキーID。
AWS_CONFIG_FILEAWS_CONFIG_FILE
added in 0.8.21追加された 0.8.21
The AWS config file to use when signing S3 requests.S3リクエストに署名する際に使用するAWS設定ファイル。
AWS_DEFAULT_REGIONAWS_DEFAULT_REGION
added in 0.8.21追加された 0.8.21
The default AWS region to use when signing S3 requests, if AWS_REGION is not set.S3リクエストに署名する際に使用するデフォルトのAWSリージョン。AWS_REGIONが設定されていない場合。
AWS_PROFILEAWS_PROFILE
added in 0.8.21追加された 0.8.21
The AWS profile to use when signing S3 requests.S3リクエストに署名する際に使用するAWSプロファイル。
AWS_REGIONAWS_REGION
added in 0.8.21追加された 0.8.21
The AWS region to use when signing S3 requests.S3リクエストに署名する際に使用するAWSリージョン。
AWS_SECRET_ACCESS_KEYAWS_SECRET_ACCESS_KEY
added in 0.8.21追加された 0.8.21
The AWS secret access key to use when signing S3 requests.S3リクエストに署名する際に使用するAWSシークレットアクセスキー。
AWS_SESSION_TOKENAWS_SESSION_TOKEN
added in 0.8.21追加された 0.8.21
The AWS session token to use when signing S3 requests.S3リクエストに署名する際に使用するAWSセッショントークン。
AWS_SHARED_CREDENTIALS_FILEAWS_SHARED_CREDENTIALS_FILE
added in 0.8.21追加された 0.8.21
The AWS shared credentials file to use when signing S3 requests.S3リクエストに署名する際に使用するAWS共有認証ファイル。
BASH_VERSIONBASH_VERSION
added in 0.1.28追加された 0.1.28
Used to detect Bash shell usage.Bashシェルの使用を検出するために使用されます。
CLICOLOR_FORCECLICOLOR_FORCE
added in 0.1.32追加されたのは 0.1.32
Use to control color via anstyle.anstyleを介して色を制御するために使用します。
COLUMNSCOLUMNS
added in 0.6.2追加されたのは 0.6.2
Overrides terminal width used for wrapping. This variable is not read by uv directly.ラッピングに使用される端末の幅を上書きします。この変数はuvによって直接読み取られません。
This is a quasi-standard variable, described, e.g., in ncurses(3x).これは準標準の変数であり、例えばncurses(3x)で説明されています。
CONDA_DEFAULT_ENVCONDA_DEFAULT_ENV
added in 0.5.0追加されたのは 0.5.0
Used to determine the name of the active Conda environment.アクティブなConda環境の名前を決定するために使用されます。
CONDA_PREFIXCONDA_PREFIX
added in 0.0.5追加された 0.0.5
Used to detect the path of an active Conda environment.アクティブなConda環境のパスを検出するために使用されます。
DEPENDABOTDEPENDABOT
added in 0.9.11追加された 0.9.11
Used to determine if we're running in Dependabot.Dependabotで実行しているかどうかを判断するために使用されます。
FISH_VERSIONFISH_VERSION
added in 0.1.28追加された 0.1.28
Used to detect Fish shell usage.Fishシェルの使用を検出するために使用されます。
FORCE_COLORFORCE_COLOR
added in 0.2.7追加された 0.2.7
Forces colored output regardless of terminal support.端末のサポートに関係なく、カラー出力を強制します。
See force-color.org.詳細は force-color.org を参照してください。
GITHUB_ACTIONSGITHUB_ACTIONS
added in 0.4.16追加された 0.4.16
Indicates that the current process is running in GitHub Actions.現在のプロセスがGitHub Actionsで実行されていることを示します。
uv publish may attempt trusted publishing flows when set
to true.uv publish は、true に設定されているときに信頼された公開フローを試みることがあります。
GITLAB_CIGITLAB_CI
added in 0.8.18追加された 0.8.18
Indicates that the current process is running in GitLab CI.現在のプロセスがGitLab CIで実行されていることを示します。
uv publish may attempt trusted publishing flows when set
to true.uv publish は、true に設定されているときに信頼された公開フローを試みる場合があります。
HF_TOKENHF_TOKEN
added in 0.8.10.8.1 で追加されました
Authentication token for Hugging Face requests. When set, uv will use this token
when making requests to https://huggingface.co/ and any subdomains.Hugging Face リクエスト用の認証トークン。設定されている場合、uv は https://huggingface.co/ およびそのサブドメインへのリクエストを行う際にこのトークンを使用します。
HOMEHOME
added in 0.0.50.0.5 で追加されました
The standard HOME env var.標準の HOME 環境変数。
HTTPS_PROXYHTTPS_PROXY
added in 0.1.380.1.38 で追加されました
Proxy for HTTPS requests.HTTPS リクエスト用のプロキシ。
HTTP_PROXYHTTP_PROXY
added in 0.1.38追加されたのは 0.1.38
Proxy for HTTP requests.HTTPリクエスト用のプロキシ。
HTTP_TIMEOUTHTTP_TIMEOUT
added in 0.1.7追加されたのは 0.1.7
Timeout (in seconds) for HTTP requests. Equivalent to UV_HTTP_TIMEOUT.HTTPリクエストのタイムアウト(秒単位)。UV_HTTP_TIMEOUTと同等です。
IPHONEOS_DEPLOYMENT_TARGETIPHONEOS_DEPLOYMENT_TARGET
added in 0.8.16追加されたのは 0.8.16
Used with --python-platform arm64-apple-ios and related variants to set the
deployment target (i.e., the minimum supported iOS version).--python-platform arm64-apple-iosおよび関連するバリアントと共に使用され、
デプロイメントターゲット(すなわち、サポートされる最小iOSバージョン)を設定します。
Defaults to 13.0.デフォルトは 13.0 です。
JPY_SESSION_NAMEJPY_SESSION_NAME
added in 0.2.6追加された 0.2.6
Used to detect when running inside a Jupyter notebook.Jupyterノートブック内で実行されているかどうかを検出するために使用されます。
KSH_VERSIONKSH_VERSION
added in 0.2.33追加された 0.2.33
Used to detect Ksh shell usage.Kshシェルの使用を検出するために使用されます。
LOCALAPPDATALOCALAPPDATA
added in 0.3.3追加された 0.3.3
Used to look for Microsoft Store Pythons installations.Microsoft StoreのPythonインストールを探すために使用されます。
MACOSX_DEPLOYMENT_TARGETMACOSX_DEPLOYMENT_TARGET
added in 0.1.42追加された 0.1.42
Used with --python-platform macos and related variants to set the
deployment target (i.e., the minimum supported macOS version).--python-platform macos および関連するバリアントと共に使用して、デプロイメントターゲット(すなわち、サポートされる最小のmacOSバージョン)を設定します。
Defaults to 13.0, the least-recent non-EOL macOS version at time of writing.デフォルトは 13.0 で、執筆時点での最も古い非EOLのmacOSバージョンです。
NETRCNETRC
added in 0.1.16追加された 0.1.16
Use to set the .netrc file location..netrcファイルの場所を設定するために使用します。
NO_COLORNO_COLOR
added in 0.2.7追加された 0.2.7
Disables colored output (takes precedence over FORCE_COLOR).カラー出力を無効にします(FORCE_COLORより優先されます)。
See no-color.org.詳細は no-color.org を参照してください。
NO_PROXYNO_PROXY
added in 0.1.38追加された 0.1.38
Comma-separated list of hostnames (e.g., example.com) and/or patterns (e.g., 192.168.1.0/24) that should bypass the proxy.プロキシをバイパスすべきホスト名のカンマ区切りリスト(例:example.com)および/またはパターン(例:192.168.1.0/24)。
NU_VERSIONNU_VERSION
added in 0.1.16追加された 0.1.16
Used to detect NuShell usage.NuShellの使用を検出するために使用されます。
PAGERPAGER
added in 0.4.18追加された 0.4.18
The standard PAGER posix env var. Used by uv to configure the appropriate pager.標準のPAGER posix環境変数。uvによって適切なページャを設定するために使用されます。
PATHPATH
added in 0.0.5追加された 0.0.5
The standard PATH env var.標準の PATH 環境変数。
PROMPTPROMPT
added in 0.1.16追加された 0.1.16
Used to detect the use of the Windows Command Prompt (as opposed to PowerShell).Windows コマンドプロンプトの使用を検出するために使用されます(PowerShell とは対照的に)。
PWDPWD
added in 0.0.5追加された 0.0.5
The standard PWD posix env var.標準の PWD posix 環境変数。
PYC_INVALIDATION_MODEPYC_INVALIDATION_MODE
added in 0.1.7追加された 0.1.7
The validation modes to use when run with --compile.--compileで実行する際に使用する検証モード。
See PycInvalidationMode.PycInvalidationModeを参照してください。
PYTHONPATHPYTHONPATH
added in 0.1.220.1.22で追加
Adds directories to Python module search path (e.g., PYTHONPATH=/path/to/modules).ディレクトリをPythonモジュール検索パスに追加します(例:PYTHONPATH=/path/to/modules)。
PYX_API_KEYPYX_API_KEY
added in 0.8.150.8.15で追加
The pyx API key (e.g., sk-pyx-...).pyx APIキー(例:sk-pyx-...)。
PYX_API_URLPYX_API_URL
added in 0.8.150.8.15で追加
The URL of the pyx Simple API server.pyx Simple APIサーバーのURL。
PYX_AUTH_TOKENPYX_AUTH_TOKEN
added in 0.8.150.8.15で追加
The pyx authentication token (e.g., eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9...), as output by uv auth token.pyx認証トークン(例:eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9...)、uv auth tokenによって出力されます。
PYX_CDN_DOMAINPYX_CDN_DOMAIN
added in 0.8.150.8.15で追加
The domain of the pyx CDN.pyx CDNのドメイン。
PYX_CREDENTIALS_DIRPYX_CREDENTIALS_DIR
added in 0.8.150.8.15で追加
Specifies the directory where uv stores pyx credentials.uvがpyx認証情報を保存するディレクトリを指定します。
RUST_BACKTRACERUST_BACKTRACE
added in 0.7.22追加されたのは 0.7.22
If set, it can be used to display more stack trace details when a panic occurs. This is used by uv particularly on windows to show more details during a platform exception.設定されている場合、パニックが発生したときにスタックトレースの詳細を表示するために使用できます。 これは特にWindows上でプラットフォーム例外の際に、uvによって詳細を表示するために使用されます。
For example:例えば:
RUST_BACKTRACE=1will print a short backtrace.RUST_BACKTRACE=1は短いバックトレースを出力します。RUST_BACKTRACE=fullwill print a full backtrace.RUST_BACKTRACE=fullは完全なバックトレースを出力します。
See the Rust backtrace documentation for more.Rustバックトレースのドキュメント を参照してください。
RUST_LOGRUST_LOG
added in 0.0.5追加されたのは 0.0.5
If set, uv will use this value as the log level for its --verbose output. Accepts
any filter compatible with the tracing_subscriber crate.設定されている場合、uvはこの値を--verbose出力のログレベルとして使用します。tracing_subscriberクレートと互換性のある任意のフィルタを受け入れます。
For example:例えば:
RUST_LOG=uv=debugis the equivalent of adding--verboseto the command lineRUST_LOG=uv=debugはコマンドラインに--verboseを追加するのと同等です。RUST_LOG=tracewill enable trace-level logging.RUST_LOG=traceはトレースレベルのロギングを有効にします。
See the tracing documentation for more.tracing ドキュメントを参照してください。 さらに詳しい情報が得られます。
RUST_MIN_STACKRUST_MIN_STACK
added in 0.5.19追加されたのは 0.5.19 です。
Use to set the stack size used by uv.uvによって使用されるスタックサイズを設定するために使用します。
The value is in bytes, and if both UV_STACK_SIZE are RUST_MIN_STACK unset, uv uses a 4MB
(4194304) stack. UV_STACK_SIZE takes precedence over RUST_MIN_STACK.値はバイト単位で、UV_STACK_SIZE と RUST_MIN_STACK の両方が設定されていない場合、uvは4MB
(4194304)のスタックを使用します。 UV_STACK_SIZE は RUST_MIN_STACK よりも優先されます。
Prefer setting UV_STACK_SIZE, since RUST_MIN_STACK also affects subprocesses, such as
build backends that use Rust code.UV_STACK_SIZE を設定することを推奨します。なぜなら、RUST_MIN_STACK はRustコードを使用するビルドバックエンドなどのサブプロセスにも影響を与えるからです。
Unlike the normal RUST_MIN_STACK semantics, this can affect main thread
stack size, because we actually spawn our own main2 thread to work around
the fact that Windows' real main thread is only 1MB. That thread has size
max(RUST_MIN_STACK, 1MB).通常の RUST_MIN_STACK のセマンティクスとは異なり、これはメインスレッドのスタックサイズに影響を与える可能性があります。なぜなら、実際に独自のmain2スレッドを生成して、Windowsの実際のメインスレッドが1MBしかないという事実を回避するからです。そのスレッドのサイズは
max(RUST_MIN_STACK, 1MB) です。
SHELLSHELL
added in 0.1.16追加されたのは 0.1.16 です。
The standard SHELL posix env var.標準の SHELL posix 環境変数。
SSL_CERT_DIRSSL_CERT_DIR
added in 0.9.10追加された 0.9.10
Custom path for certificate bundles for SSL connections.
Multiple entries are supported separated using a platform-specific
delimiter (: on Unix, ; on Windows).SSL接続のための証明書バンドルのカスタムパス。
プラットフォーム固有の区切り文字を使用して複数のエントリがサポートされています
(Unixでは:、Windowsでは;)。
Takes precedence over UV_NATIVE_TLS when set.UV_NATIVE_TLSよりも優先されます。
SSL_CERT_FILESSL_CERT_FILE
added in 0.1.14追加された 0.1.14
Custom certificate bundle file path for SSL connections.SSL接続のためのカスタム証明書バンドルファイルパス。
Takes precedence over UV_NATIVE_TLS when set.UV_NATIVE_TLSよりも優先されます。
SSL_CLIENT_CERTSSL_CLIENT_CERT
added in 0.2.11追加された 0.2.11
If set, uv will use this file for mTLS authentication. This should be a single file containing both the certificate and the private key in PEM format.設定されている場合、uvはこのファイルをmTLS認証に使用します。 このファイルは、PEM形式の証明書と秘密鍵の両方を含む単一のファイルである必要があります。
SYSTEMDRIVESYSTEMDRIVE
added in 0.4.26追加された 0.4.26
Path to system-level configuration directory on Windows systems.Windowsシステム上のシステムレベルの設定ディレクトリへのパス。
TRACING_DURATIONS_FILETRACING_DURATIONS_FILE
added in 0.0.5追加された 0.0.5
Use to create the tracing durations file via the tracing-durations-export feature.tracing-durations-export機能を介してトレースの持続時間ファイルを作成するために使用します。
USERPROFILEUSERPROFILE
added in 0.0.5追加された 0.0.5
Path to root directory of user's profile on Windows systems.Windowsシステム上のユーザープロファイルのルートディレクトリへのパス。
UV
added in 0.6.00.6.0で追加されました
The path to the binary that was used to invoke uv.uvを呼び出すために使用されたバイナリへのパス。
This is propagated to all subprocesses spawned by uv.これはuvによって生成されたすべてのサブプロセスに伝播されます。
If the executable was invoked through a symbolic link, some platforms will return the path of the symbolic link and other platforms will return the path of the symbolic link’s target.実行可能ファイルがシンボリックリンクを介して呼び出された場合、一部のプラットフォームはシンボリックリンクのパスを返し、他のプラットフォームはシンボリックリンクのターゲットのパスを返します。
See https://doc.rust-lang.org/std/env/fn.current_exe.html#security for security considerations.セキュリティに関する考慮事項については、https://doc.rust-lang.org/std/env/fn.current_exe.html#securityを参照してください。
VIRTUAL_ENVVIRTUAL_ENV
added in 0.0.50.0.5で追加されました
Used to detect an activated virtual environment.アクティブな仮想環境を検出するために使用されます。
VIRTUAL_ENV_DISABLE_PROMPTVIRTUAL_ENV_DISABLE_PROMPT
added in 0.0.5追加された 0.0.5
If set to 1 before a virtual environment is activated, then the
virtual environment name will not be prepended to the terminal prompt.仮想環境がアクティブ化される前に 1 に設定されている場合、ターミナルプロンプトに仮想環境名は追加されません。
XDG_BIN_HOMEXDG_BIN_HOME
added in 0.2.16追加された 0.2.16
Path to directory where executables are installed.実行可能ファイルがインストールされているディレクトリへのパス。
XDG_CACHE_HOMEXDG_CACHE_HOME
added in 0.1.17追加された 0.1.17
Path to cache directory on Unix systems.Unixシステム上のキャッシュディレクトリへのパス。
XDG_CONFIG_DIRSXDG_CONFIG_DIRS
added in 0.4.26追加された 0.4.26
Path to system-level configuration directory on Unix systems.Unixシステムにおけるシステムレベルの設定ディレクトリへのパス。
XDG_CONFIG_HOMEXDG_CONFIG_HOME
added in 0.1.34追加されたのは 0.1.34
Path to user-level configuration directory on Unix systems.Unixシステムにおけるユーザーレベルの設定ディレクトリへのパス。
XDG_DATA_HOMEXDG_DATA_HOME
added in 0.2.16追加されたのは 0.2.16
Path to directory for storing managed Python installations and tools.管理されたPythonインストールとツールを保存するためのディレクトリへのパス。
ZDOTDIRZDOTDIR
added in 0.2.25追加されたのは 0.2.25
Used to determine which .zshenv to use when Zsh is being used.Zshが使用されているときにどの.zshenvを使用するかを決定するために使用されます。
ZSH_VERSIONZSH_VERSION
added in 0.1.28追加されたのは 0.1.28
Used to detect Zsh shell usage.Zshシェルの使用を検出するために使用されます。
_CONDA_ROOT_CONDA_ROOT
added in 0.8.18追加されたのは 0.8.18
Used to determine the root install path of Conda.Condaのルートインストールパスを決定するために使用されます。