Project and selection commands
pinset init
Create a minimal project configuration in the current directory.
View source on GitHub ↗| Field | Description |
|---|---|
| Purpose | Create a minimal project configuration in the current directory. |
| Syntax and arguments | pinset init; no command-specific options. |
| Modifies state | Yes. Creates schema 4 pinset.toml with a unique project-id and strict project policy; it does not select or install a runtime. |
| Example | mkdir app && cd app && pinset init |
| JSON | No. |
| Exit | 0 success; 2 if the file cannot be safely created. |
| Key errors | Existing configuration, unsafe path, or filesystem permission failure. |
/en/docs/commands/initPinset 2.1