glab-search(1)

glab-search1

Search for code and resources in a gitlab project. (beta)

Usage

glab search [flags]

Overview

Search a GitLab project for code and other resources. The semantic subcommand runs an AI-powered semantic code search.

Use --repo to target a project other than the current one.

This feature is in beta and might not be ready for production use. It might be unstable and breaking changes can occur outside of major releases. For more information, see https://docs.gitlab.com/policy/development_stages_support/.

Options

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

Options inherited from parent commands

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

From glab 1.126.0-1 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.