netlify adds project search and improves non-interactive linking
Introduced 2026-03-31 · score 0.98
HOW TO USE IT
To find a project by full or partial name, run `netlify sites:search <search-term>`; add `--json` for programmatic output. In non-interactive linking, specify the project with `--id` or `--name` on `netlify link`.
netlify sites:search <search-term>netlify sites:search "<partial name>" --jsonnetlify link --name <project-name>WHY THIS HELPS
Find a Netlify project by full or partial name while working in a repository or script.
BEFORE THIS CHANGE
The release note says running `netlify link` without options in CI/CD could hang while prompting interactively.
REQUIREMENTS AND LIMITATIONS
- Version: 24.9.0
- search-term (required): Full or partial project name to search for.
- --json: Output project data as JSON.
- --filter <application-name>: For monorepos, specify the application to run the command in.
- --debug: Print debugging information.
- --auth <token>: Netlify auth token; can run the command without logging in.
- --id <project-id>: ID of project to link.
- --name <project-name>: Name of project to link.
- `sites:search` searches by full or partial project name.
- `filter` selects the application to run the command in for monorepos.
- `auth` accepts a Netlify auth token to run the command without logging in.
FIRST-PARTY EVIDENCE
- https://github.com/netlify/cli/releases/tag/v24.9.0
- https://github.com/netlify/cli/pull/8127
- https://github.com/netlify/cli/blob/v24.9.0/docs/commands/sites.md
- https://github.com/netlify/cli/blob/v24.9.0/docs/commands/link.md
Check the installed version and the source before using it. Entry JSON