Skip to content

Commit 588bab3

Browse files
docs(tutorial): update package installation tutorial outputs
Update tutorial 01-03 with correct output formats and add env show example. Changes: - Update hatch env list output after package installation - Add hatch env show example for detailed package view - Replace deprecated package list command Outputs verified against R17 sections 3.1 and 3.4.
1 parent 443607c commit 588bab3

File tree

1 file changed

+32
-5
lines changed

1 file changed

+32
-5
lines changed

docs/articles/users/tutorials/01-getting-started/03-install-package.md

Lines changed: 32 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -82,17 +82,44 @@ If you don't have a local package yet, you can create one using the `hatch creat
8282

8383
## Step 4: Verify Installation
8484

85-
List installed packages in your environment:
85+
Check that the package was installed:
8686

8787
```bash
88-
hatch package list --env my_python_env
88+
hatch env list
8989
```
9090

91-
Output shows package details:
91+
You should see the package count updated:
9292

9393
```txt
94-
Packages in environment 'my_python_env':
95-
my-package (1.0.0) Hatch compliant: true source: file:///path/to/package location: /env/path/my-package
94+
Environments:
95+
Name Python Packages
96+
───────────────────────────────────────
97+
* my_python_env 3.11.5 1
98+
```
99+
100+
For detailed package information, use `hatch env show`:
101+
102+
```bash
103+
hatch env show my_python_env
104+
```
105+
106+
Output shows complete package details:
107+
108+
```txt
109+
Environment: my_python_env (active)
110+
Description: Environment with Python support
111+
Created: 2026-02-01 10:00:00
112+
113+
Python Environment:
114+
Version: 3.11.5
115+
Executable: /path/to/python
116+
Status: Active
117+
118+
Packages (1):
119+
base_pkg_1
120+
Version: 1.0.3
121+
Source: registry (https://registry.example.com)
122+
Deployed to: (none)
96123
```
97124

98125
## Step 5: Understanding Package Dependencies

0 commit comments

Comments
 (0)