gh pr edit 123 --add-label 'needs-review'

Category: GitHub CLI

gh pr edit 123 --add-label 'needs-review'

Add a label to a pull request

--add-label attaches labels by name without opening the browser. Labels drive filtering and issue triage automation, so tagging needs-review routes the PR into review workflows. Multiple labels can be comma-separated in one flag value.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.