---
name: "glab-search"
section: "1"
platform: "linux"
package: "glab"
version: "1.126.0-1"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/glab-search"
---

# glab-search(1)

Search for code and resources in a GitLab project. (BETA)

## NAME

glab-search - Search for code and resources in a GitLab project. (BETA)

## SYNOPSIS

**glab search  \[flags\]**

## DESCRIPTION

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.

## SEE ALSO

**[glab(1)](/glab/1.md)**, **[glab-search-semantic(1)](/glab-search-semantic/1.md)**
