You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/reference/cli.md
+14Lines changed: 14 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -160,6 +160,7 @@ uv run [OPTIONS] [COMMAND]
160
160
161
161
<p>Instead of checking if the lockfile is up-to-date, uses the versions in the lockfile as the source of truth. If the lockfile is missing, uv will exit with an error. If the <code>pyproject.toml</code> includes changes to dependencies that have not been included in the lockfile yet, they will not be present in the environment.</p>
162
162
163
+
<p>May also be set with the <code>UV_FROZEN</code> environment variable.</p>
163
164
</dd><dt><code>--help</code>, <code>-h</code></dt><dd><p>Display the concise help for this command</p>
164
165
165
166
</dd><dt><code>--index</code> <i>index</i></dt><dd><p>The URLs to use when resolving dependencies, in addition to the default index.</p>
@@ -232,6 +233,7 @@ uv run [OPTIONS] [COMMAND]
232
233
233
234
<p>Requires that the lockfile is up-to-date. If the lockfile is missing or needs to be updated, uv will exit with an error.</p>
234
235
236
+
<p>May also be set with the <code>UV_LOCKED</code> environment variable.</p>
235
237
</dd><dt><code>--module</code>, <code>-m</code></dt><dd><p>Run a Python module.</p>
236
238
237
239
<p>Equivalent to <code>python -m <module></code>.</p>
<p>Requires that the lockfile is up-to-date. If the lockfile is missing or needs to be updated, uv will exit with an error.</p>
815
818
819
+
<p>May also be set with the <code>UV_LOCKED</code> environment variable.</p>
816
820
</dd><dt><code>--native-tls</code></dt><dd><p>Whether to load TLS certificates from the platform’s native certificate store.</p>
817
821
818
822
<p>By default, uv loads certificates from the bundled <code>webpki-roots</code> crate. The <code>webpki-roots</code> are a reliable set of trust roots from Mozilla, and including them in uv improves portability and performance (especially on macOS).</p>
<p>Requires that the lockfile is up-to-date. If the lockfile is missing or needs to be updated, uv will exit with an error.</p>
1147
1152
1153
+
<p>May also be set with the <code>UV_LOCKED</code> environment variable.</p>
1148
1154
</dd><dt><code>--native-tls</code></dt><dd><p>Whether to load TLS certificates from the platform’s native certificate store.</p>
1149
1155
1150
1156
<p>By default, uv loads certificates from the bundled <code>webpki-roots</code> crate. The <code>webpki-roots</code> are a reliable set of trust roots from Mozilla, and including them in uv improves portability and performance (especially on macOS).</p>
@@ -1401,6 +1407,7 @@ uv sync [OPTIONS]
1401
1407
1402
1408
<p>Instead of checking if the lockfile is up-to-date, uses the versions in the lockfile as the source of truth. If the lockfile is missing, uv will exit with an error. If the <code>pyproject.toml</code> includes changes to dependencies that have not been included in the lockfile yet, they will not be present in the environment.</p>
1403
1409
1410
+
<p>May also be set with the <code>UV_FROZEN</code> environment variable.</p>
1404
1411
</dd><dt><code>--help</code>, <code>-h</code></dt><dd><p>Display the concise help for this command</p>
1405
1412
1406
1413
</dd><dt><code>--index</code> <i>index</i></dt><dd><p>The URLs to use when resolving dependencies, in addition to the default index.</p>
@@ -1469,6 +1476,7 @@ uv sync [OPTIONS]
1469
1476
1470
1477
<p>Requires that the lockfile is up-to-date. If the lockfile is missing or needs to be updated, uv will exit with an error.</p>
1471
1478
1479
+
<p>May also be set with the <code>UV_LOCKED</code> environment variable.</p>
1472
1480
</dd><dt><code>--native-tls</code></dt><dd><p>Whether to load TLS certificates from the platform’s native certificate store.</p>
1473
1481
1474
1482
<p>By default, uv loads certificates from the bundled <code>webpki-roots</code> crate. The <code>webpki-roots</code> are a reliable set of trust roots from Mozilla, and including them in uv improves portability and performance (especially on macOS).</p>
@@ -1717,6 +1725,7 @@ uv lock [OPTIONS]
1717
1725
<p>May also be set with the <code>UV_FIND_LINKS</code> environment variable.</p>
1718
1726
</dd><dt><code>--frozen</code></dt><dd><p>Assert that a <code>uv.lock</code> exists, without updating it</p>
1719
1727
1728
+
<p>May also be set with the <code>UV_FROZEN</code> environment variable.</p>
1720
1729
</dd><dt><code>--help</code>, <code>-h</code></dt><dd><p>Display the concise help for this command</p>
1721
1730
1722
1731
</dd><dt><code>--index</code> <i>index</i></dt><dd><p>The URLs to use when resolving dependencies, in addition to the default index.</p>
@@ -1783,6 +1792,7 @@ uv lock [OPTIONS]
1783
1792
1784
1793
<p>Requires that the lockfile is up-to-date. If the lockfile is missing or needs to be updated, uv will exit with an error.</p>
1785
1794
1795
+
<p>May also be set with the <code>UV_LOCKED</code> environment variable.</p>
1786
1796
</dd><dt><code>--native-tls</code></dt><dd><p>Whether to load TLS certificates from the platform’s native certificate store.</p>
1787
1797
1788
1798
<p>By default, uv loads certificates from the bundled <code>webpki-roots</code> crate. The <code>webpki-roots</code> are a reliable set of trust roots from Mozilla, and including them in uv improves portability and performance (especially on macOS).</p>
@@ -2023,6 +2033,7 @@ uv export [OPTIONS]
2023
2033
2024
2034
<p>If a <code>uv.lock</code> does not exist, uv will exit with an error.</p>
2025
2035
2036
+
<p>May also be set with the <code>UV_FROZEN</code> environment variable.</p>
2026
2037
</dd><dt><code>--help</code>, <code>-h</code></dt><dd><p>Display the concise help for this command</p>
2027
2038
2028
2039
</dd><dt><code>--index</code> <i>index</i></dt><dd><p>The URLs to use when resolving dependencies, in addition to the default index.</p>
@@ -2089,6 +2100,7 @@ uv export [OPTIONS]
2089
2100
2090
2101
<p>Requires that the lockfile is up-to-date. If the lockfile is missing or needs to be updated, uv will exit with an error.</p>
2091
2102
2103
+
<p>May also be set with the <code>UV_LOCKED</code> environment variable.</p>
2092
2104
</dd><dt><code>--native-tls</code></dt><dd><p>Whether to load TLS certificates from the platform’s native certificate store.</p>
2093
2105
2094
2106
<p>By default, uv loads certificates from the bundled <code>webpki-roots</code> crate. The <code>webpki-roots</code> are a reliable set of trust roots from Mozilla, and including them in uv improves portability and performance (especially on macOS).</p>
@@ -2338,6 +2350,7 @@ uv tree [OPTIONS]
2338
2350
2339
2351
<p>If the lockfile is missing, uv will exit with an error.</p>
2340
2352
2353
+
<p>May also be set with the <code>UV_FROZEN</code> environment variable.</p>
2341
2354
</dd><dt><code>--help</code>, <code>-h</code></dt><dd><p>Display the concise help for this command</p>
2342
2355
2343
2356
</dd><dt><code>--index</code> <i>index</i></dt><dd><p>The URLs to use when resolving dependencies, in addition to the default index.</p>
@@ -2406,6 +2419,7 @@ uv tree [OPTIONS]
2406
2419
2407
2420
<p>Requires that the lockfile is up-to-date. If the lockfile is missing or needs to be updated, uv will exit with an error.</p>
2408
2421
2422
+
<p>May also be set with the <code>UV_LOCKED</code> environment variable.</p>
2409
2423
</dd><dt><code>--native-tls</code></dt><dd><p>Whether to load TLS certificates from the platform’s native certificate store.</p>
2410
2424
2411
2425
<p>By default, uv loads certificates from the bundled <code>webpki-roots</code> crate. The <code>webpki-roots</code> are a reliable set of trust roots from Mozilla, and including them in uv improves portability and performance (especially on macOS).</p>
0 commit comments