.nh .TH "glab" "1" "Jul 2026" "Auto generated by spf13/cobra" "" .SH NAME glab-label-create - Create a label in a project. .SH SYNOPSIS \fBglab label create [flags]\fP .SH DESCRIPTION Use the flags to set the label name, color, description, and priority. The \fB--name\fR flag is required; \fB--color\fR defaults to \fB#428BCA\fR if not specified. .PP By default, the label is created in the current repository. Use \fB--repo\fR to target another project. .SH OPTIONS \fB-c\fP, \fB--color\fP="#428BCA" Color of the label, in plain or HEX code. .PP \fB-d\fP, \fB--description\fP="" Label description. .PP \fB-n\fP, \fB--name\fP="" Name of the label. .PP \fB-p\fP, \fB--priority\fP=0 Label priority. .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 # Create a label in the current repository glab label create --name bug --color "#FF0000" --description "Something is broken" # Create a label in another project glab label create --name bug -R owner/repo .EE .SH SEE ALSO \fBglab-label(1)\fP