.nh .TH "glab" "1" "Jul 2026" "Auto generated by spf13/cobra" "" .SH NAME glab-packages-delete - Delete a package from a project's package registry. .SH SYNOPSIS \fBglab packages delete [flags]\fP .SH DESCRIPTION Packages are identified by their numeric ID. Use \fBglab packages list\fR to find the ID. .PP The command asks for confirmation before deleting; use \fB-y\fR to skip the prompt in scripts. .PP By default, the package is removed from the current project. Use \fB--repo\fR to target another project. .SH OPTIONS \fB-y\fP, \fB--yes\fP[=false] Skip the confirmation prompt. .SH OPTIONS INHERITED FROM PARENT COMMANDS \fB-h\fP, \fB--help\fP[=false] Show help for this command. .PP \fB-R\fP, \fB--repo\fP="" Select another repository. You can use either OWNER/REPO or GROUP/NAMESPACE/REPO. The full URL or Git URL is also accepted. .SH EXAMPLE .EX # 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 .EE .SH SEE ALSO \fBglab-packages(1)\fP