正式なドキュメントは英語版であり、この日本語訳はAI支援翻訳により作成された参考用のものです。日本語訳の一部の内容は人間によるレビューがまだ行われていないため、翻訳のタイミングにより英語版との間に差異が生じることがあります。最新かつ正確な情報については、英語版をご参照ください。

glab packages delete

Delete a package from a project’s package registry.

Synopsis

Packages are identified by their numeric ID. Use glab packages list to find the ID.

The command asks for confirmation before deleting; use -y to skip the prompt in scripts.

By default, the package is removed from the current project. Use --repo to target another project.

glab packages delete <id> [flags]

Aliases

rm

Examples

# Delete a package by ID
glab packages delete 1

# Skip the confirmation prompt
glab packages delete 1 -y

# Use the 'rm' alias
glab packages rm 1

Options

  -y, --yes   Skip the confirmation prompt.

Options inherited from parent commands

  -h, --help          Show help for this command.
  -R, --repo string   Select another repository. You can use either OWNER/REPO or GROUP/NAMESPACE/REPO. The full URL or Git URL is also accepted.