---
title: "infisical init"
description: "Switch between Infisical projects within CLI"
---

```bash
infisical init
```

## Description

Link a local project to your Infisical project. Once connected, you can then access the secrets locally from the connected Infisical project.

<Info>
This command creates a `infisical.json` file containing your Project ID.
</Info>
