Python environment commands
pinset venv recreate
Delete and recreate the project .venv after proving Pinset ownership.
View source on GitHub ↗| Field | Description |
|---|---|
| Purpose | Delete and recreate the project .venv after proving Pinset ownership. |
| Syntax and arguments | pinset venv recreate [--cwd <path>]. |
| Modifies state | Yes. Replaces only a correctly marked Pinset-owned .venv. |
| Example | pinset venv recreate --cwd ./app |
| JSON | No. |
| Exit | 0 when recreated; 2 when validation or recreation fails. |
| Key errors | Missing/invalid ownership marker, path escape, selected Python mismatch, removal failure, or venv creation failure. |
/en/docs/commands/venv-recreatePinset 2.1