File tree Expand file tree Collapse file tree 2 files changed +18
-6
lines changed
Expand file tree Collapse file tree 2 files changed +18
-6
lines changed Original file line number Diff line number Diff line change @@ -11,16 +11,28 @@ terminal.
1111
1212The CLI requires the ` click ` package. Install it with the ` cli ` extra:
1313
14- ``` shell
15- pip install " python-dotenv[cli]"
16- ```
14+ === "` pip ` "
15+
16+ ```shell
17+ pip install "python-dotenv[cli]"
18+ ```
19+
20+ === "` uv ` "
1721
18- The CLI can also be invoked as a Python module:
22+ ```shell
23+ uv add "python-dotenv[cli]"
24+ ```
25+
26+ Verify the installation by checking the version:
1927
2028``` shell
21- python -m dotenv
29+ dotenv --version
2230```
2331
32+ !!! info
33+
34+ The CLI can also be invoked as a Python module: `python -m dotenv`
35+
2436## Set up your .env from the terminal
2537
2638Use ` set ` , ` get ` , and ` unset ` to manage key-value pairs:
Original file line number Diff line number Diff line change @@ -511,7 +511,7 @@ def dotenv_values(
511511 dotenv_path: Absolute or relative path to the .env file.
512512 stream: `StringIO` object with .env content, used if `dotenv_path` is `None`.
513513 verbose: Whether to output a warning if the .env file is missing.
514- interpolate: Whether to interpolate variables using POSIX variable expansion .
514+ interpolate: Whether ``${VAR}`` references in values are resolved .
515515 encoding: Encoding to be used to read the file.
516516
517517 If both *dotenv_path* and *stream* are ``None``, :func:`find_dotenv` is
You can’t perform that action at this time.
0 commit comments