Delete a registered marketplace and its plugin state from the local registry, by ID with a confirmation prompt or interactively from a picker.
pks marketplace remove [ID] [options]$ pks marketplace remove my-marketplaceRemove by ID with a confirmation prompt
$ pks marketplace remove --yesPick interactively, then remove without confirming
pks marketplace remove deletes a marketplace entry, along with its plugin list and every enabled or disabled choice you made on it, from the local registry. The deletion is permanent — there is no undo and no backup copy.
pks marketplace list to find it.--yes.pks marketplace remove my-marketplace
A confirmation prompt appears. It defaults to No, so pressing Enter cancels rather than confirms.
Omit the ID and pks shows a selection list of every registered marketplace:
pks marketplace remove
Choose the entry, then confirm.
--yes skips the confirmation prompt:
pks marketplace remove my-marketplace --yes
--yes skips only the confirmation. Combined with no ID, the interactive picker still runs:
pks marketplace remove --yes
pks marketplace list
The entry is gone from the table.
Removing an entry changes what pks claude managed-settings produces, but does not itself update any Claude Code file. Re-render and redistribute:
pks claude managed-settings
| Flag | Description |
|---|---|
--yes | Skip the confirmation prompt. |
| Argument | Required | Description |
|---|---|---|
ID | no | Marketplace ID to remove. Omit to pick interactively. |
The command hangs in CI. Running without an ID falls through to an interactive selection prompt, which has no terminal to read from. In automation always pass both the ID and --yes.
Enter did nothing but the marketplace is still there. The confirmation prompt defaults to No. Answer yes explicitly, or pass --yes.
The plugin curation is gone. Removal deletes the entry's full plugin and enabled-state record. Re-adding the source registers a fresh entry with default state; the previous selection is not recoverable.
Removing the wrong entry. IDs are the marketplace name from the fetched document, or the --label override. Confirm against pks marketplace show <ID> before removing.