Scroll to navigation

glab(1) glab(1)

NAME

glab-packages-delete - Delete a package from a project's package registry.

SYNOPSIS

glab packages delete [flags]

DESCRIPTION

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.

OPTIONS

-y, --yes[=false] Skip the confirmation prompt.

OPTIONS INHERITED FROM PARENT COMMANDS

-h, --help[=false] Show help for this command.

-R, --repo="" Select another repository. You can use either OWNER/REPO or GROUP/NAMESPACE/REPO. The full URL or Git URL is also accepted.

EXAMPLE

# 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

SEE ALSO

glab-packages(1)

Jul 2026 Auto generated by spf13/cobra