---
title: "CLI setup"
sidebarTitle: "CLI setup · Recommended"
description: "Install the InsForge CLI, link a project, and generate types from the terminal in about five minutes to start building against your backend."
---
## Step 1: Create your project
Visit [insforge.dev](https://insforge.dev) and create a free account
Once logged in:
Click **"Create New Project"**
Your backend will be ready in ~3 seconds
You'll be redirected to the project console — copy the **Project ID** from the browser URL:
```
https://insforge.dev/dashboard/project/
```
You'll need this Project ID in Step 2.
## Step 2: Link the CLI
From your project directory, link your local code to your InsForge project. Replace `` with the ID from Step 1.
```bash
npx @insforge/cli link --project-id
```
Running through `npx` keeps the CLI out of your global install path. The link file ends up in the current directory and tells subsequent commands which project they belong to.
## Step 3: Verify installation
Send the following prompt to your AI coding agent to verify the setup:
`I'm using InsForge as my backend platform. Read the current directory, make sure InsForge skills are installed, and use InsForge CLI for backend tasks.`
## Learn more
To explore the full capabilities of the InsForge CLI:
- Check the [npm package documentation](https://www.npmjs.com/package/@insforge/cli)
- Run the built-in help command:
```bash
npx @insforge/cli --help
```