pinset2.1
中文
Python environment commands

pinset venv recreate

Delete and recreate the project .venv after proving Pinset ownership.

View source on GitHub
FieldDescription
PurposeDelete and recreate the project .venv after proving Pinset ownership.
Syntax and argumentspinset venv recreate [--cwd <path>].
Modifies stateYes. Replaces only a correctly marked Pinset-owned .venv.
Examplepinset venv recreate --cwd ./app
JSONNo.
Exit0 when recreated; 2 when validation or recreation fails.
Key errorsMissing/invalid ownership marker, path escape, selected Python mismatch, removal failure, or venv creation failure.
/en/docs/commands/venv-recreatePinset 2.1