Skip to content

Commit a80f985

Browse files
authored
doc: refer to PowerShell on Windows
1 parent dea91b7 commit a80f985

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/basic-usage.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -131,15 +131,15 @@ in order for the subsequent commands to run from within the virtual environment.
131131

132132

133133
Alternatively, to avoid creating a new shell, you can manually activate the
134-
virtual environment by running `source {path_to_venv}/bin/activate` (`{path_to_venv}\Scripts\activate.bat` on Windows).
134+
virtual environment by running `source {path_to_venv}/bin/activate` (`{path_to_venv}\Scripts\activate.ps1` on Windows PowerShell).
135135
To get the path to your virtual environment run `poetry env info --path`.
136136
You can also combine these into a nice one-liner, `source $(poetry env info --path)/bin/activate`
137137
To deactivate this virtual environment simply use `deactivate`.
138138

139-
| | POSIX Shell | Windows | Exit/Deactivate |
139+
| | POSIX Shell | Windows (PowerShell) | Exit/Deactivate |
140140
| ----------------- | ----------------------------------------------- | ------------------------------------- | --------------- |
141141
| New Shell | `poetry shell` | `poetry shell` | `exit` |
142-
| Manual Activation | `source {path_to_venv}/bin/activate` | `{path_to_venv}\Scripts\activate.bat` | `deactivate` |
142+
| Manual Activation | `source {path_to_venv}/bin/activate` | `{path_to_venv}\Scripts\activate.ps1` | `deactivate` |
143143
| One-liner | `source $(poetry env info --path)/bin/activate` | | `deactivate` |
144144

145145

0 commit comments

Comments
 (0)