# Projects (https://docs.inference.net/cli/projects)

Projects organize your training runs, evaluations, datasets, and inferences. Most CLI commands operate on the active project, which is stored in `~/.inf/config.json` and settable per-invocation with the global `--project <id>` flag.

## `inf project list` [#inf-project-list]

Display every project you have access to in the active team. Switch teams first with `inf team switch <id-or-slug>` (see [Teams](/cli/team)) to see a different team's projects. The active project is flagged with a green dot (`●`).

<Metadata text="cli/project/list" />

```bash
inf project list
```

**Alias:** `inf project ls`

### Example [#example]

<Metadata text="cli/project/list-examples" />

```bash
inf project list
```

## `inf project switch` [#inf-project-switch]

Set a different project as the active project. The CLI validates that the project exists and that you have access before saving.

To switch to a project in a different team, activate that team first with `inf team switch <id-or-slug>` (see [Teams](/cli/team)), or pass the global `--team <id>` flag on the same command so the CLI can find the project. On success, the CLI also stores that project's team as your new active team, so you do not need a separate `team switch` afterward.

<Metadata text="cli/project/switch" />

```bash
inf project switch [project-id]
```

**Alias:** `inf project use`

### Arguments [#arguments]

| Argument     | Required | Description                       |
| ------------ | -------- | --------------------------------- |
| `project-id` | No       | The ID of the project to activate |

### Examples [#examples]

<Metadata text="cli/project/switch-examples" />

```bash
# Choose a project from an interactive list
inf project switch

# Switch to the staging project
inf project switch proj_789ghi012jkl

# Same, using the `use` alias
inf project use proj_789ghi012jkl

# Switch to a project in a different team, in one command
inf project switch proj_456def789ghi --team team_abc123
```

<Note>
  In a non-interactive shell or with `--json`, pass a project ID. The CLI cannot show an interactive selector in these modes.
</Note>

<Tip>
  Temporarily override the active project for a single command without changing your stored config using the global `--project` flag:

  ```bash
  inf training list --project proj_789ghi012jkl
  ```
</Tip>

## `inf project current` [#inf-project-current]

Show details about the currently active project — project ID, name, team ID, and creation date. If no project is active, the command errors and points you at `inf project switch <id>`.

<Metadata text="cli/project/current" />

```bash
inf project current
```
