---
title: "overlane github repositories"
description: "List the repositories a GitHub App installation reaches"
---

> Documentation Index
> Fetch the complete documentation index at: https://docs.overlane.app/llms.txt
> Use this file to discover all available pages before exploring further.

# overlane github repositories

{/* Generated by apps/docs/scripts/generate.mjs (CLI pages from the command registry in packages/cli). Do not edit; run `pnpm --filter @overlane/docs gen`. */}

Lists the repositories the installation can see, public and private, as owner/name. The installation must be one of the team's, from `overlane github installations`. GitHub is asked each time, so a repository added there shows up at once.

## Usage

```sh
overlane github repositories installation-id [--service URL] [--team TENANT_ID]
```

## Arguments

| Argument | Required | Description |
| --- | --- | --- |
| `installation-id` | yes | The installation number from `overlane github installations` |

## Flags

| Flag | Type | Required | Default | Description |
| --- | --- | --- | --- | --- |
| `--service` | string | no |  | The service address (default: OVERLANE_SERVICE_URL, then the project's binding, then the hosted service) |
| `--team` | string | no |  | The team (tenant) to act on (default: the one your token belongs to) |

## Examples

```sh
overlane github repositories 4242
overlane github repositories 4242 --json
```

## Behavior

- Effect: `read` (changes nothing).
- Needs credentials: yes. Uses the network: yes.
- Supports `--dry-run`: no. Accepts `--force`: no.
- Machine-readable description: `overlane schema github repositories`.

## Result

With `--json` (the default when stdout is not a terminal) the command prints this JSON Schema's shape on stdout.

```json
{
  "type": "array",
  "items": {
    "type": "object",
    "properties": {
      "owner": {
        "type": "string",
        "minLength": 1
      },
      "name": {
        "type": "string",
        "minLength": 1
      },
      "private": {
        "type": "boolean"
      }
    },
    "required": [
      "owner",
      "name",
      "private"
    ],
    "additionalProperties": false
  }
}
```

See [exit codes](/cli/#exit-codes) for the status the process returns.

Source: https://docs.overlane.app/cli/github-repositories/index.mdx
