What is Infa
Infa Chrome Extension
How to use and install our Chrome Extension
Community
Browse community design systems
Release Notes
Featuring the latest changes to keep you up-to-date
Research Program
Participate in shaping the future of Infa
SOC 2 Type II Compliance Badge
Enterprise Ready
SOC 2 Type II certified for enterprise-level security and compliance
EventsLearnPricing
Sign up for free

Feedback

Share your feedback

Close
Anonymous submissions are auto-posted to #feedback channel. You can also share directly in Slack.

Need help?

Reach out to contact@infa.ai or see docs

Navigation
Search...
⌘ K
Focus sentinel
Close

Search Documentation

PressESCto close
Focus sentinel
Infa Documentation
  • General Information
    • Boards
    • Components
      • Main Components Vs Component Views
      • Component Tagging
      • Component Anatomy
    • Labels
    • Teams
    • Authentication
    • Permissions
      • Inviting People to Teams
      • Inviting People to Boards
    • Billing & Subscription
      • Managing Subscription
      • Promo Code Activation
    • Data Import, Export & Sync
      • Local vs. Cloud Boards
  • App Blocks
    • Building App Blocks
  • Chrome Extension
    • Deep Links
    • Using Labels
    • Updating the Extension
  • Integrations
    • MCP Server
    • Claude Code Plugin
    • External API
    • Progressive Web App
    • Figma Plugin
    • Coda Pack
    • Overview
    • Managing Runs
    • Board Agents
    • Overview
    • Infa Capture
    • Installation
    • Authentication
    • Connect a Board
    • Run Modes
    • Hooks & Agents
    • File Sync
    • CLI Reference
Switch to Light theme
Switch to Dark theme
TermsPrivacyChat with Us
  1. Docs
  2. Integrations

Installation

Install Infa CLI, try it without an account, and verify your environment is ready.

The Infa CLI is available on all Infa plans, and you can start without an account: run it in your repo and your docs open on a local board in the browser. We at Infa built it this way so you can see what Infa does with your own files before you sign up.

Copy link
Requirements

RequirementVersion
Node.js≥ 20.0.0
Claude CLILatest (@anthropic-ai/claude-code)
npm≥ 8

The Claude CLI is only required if you plan to use session management (starting Claude Code sessions). File preview and sync work without it.

Copy link
Install

npm install -g infa

Verify the install by running infa with no arguments — it will start the preview server:

infa

Or check available commands:

infa --help

Copy link
No account needed

You can use the Infa CLI without an Infa account. In your repo, run:

cd ~/my-repo
npx infa preview

npx runs the CLI without installing it first. The browser opens a local board at infa.ai/local: your repo's Markdown and MDX docs, in the same board layout as a cloud board. Files are read and edited on your machine, and nothing is uploaded.

Rendering components from your repo needs no account either — their .preview.tsx sidecars, or npx infa preview --static src/components/Button.tsx (the older infa render still works).

Copy link
Save to Infa

When you want your docs in the cloud, use Save to Infa in the local board's floating toolbar. You sign up (free), the CLI is connected to a free cloud board, and your local files then appear in that board's Local files section. Every account includes one free cloud board with 3 cloud papers.

You can also sign in from the terminal with infa auth and pick or create a board with infa board — see Authentication and Connect a board.

Copy link
What needs an account

Without an accountWith an Infa account
The local board at infa.ai/localSyncing docs to cloud Papers (infa sync)
Reading and editing your repo's docsPublishing components to a board (infa publish)
Component previews from your repoSyncing flows and publishing replays
The Infa MCP server's tools
Board agents and runs
Sharing and comments

Copy link
Install Claude CLI (optional)

If you want Infa to manage Claude Code sessions, install the official Claude CLI:

npm install -g @anthropic-ai/claude-code

Infa looks for the Claude CLI at these paths in order:

  1. /opt/homebrew/bin/claude (Homebrew on macOS)
  2. /usr/local/bin/claude
  3. claude (anywhere on your PATH)

Copy link
Starting the server

Run infa preview (or just infa) from the root of the folder you want to serve:

cd ~/my-docs
infa preview

The server starts on port 7100 by default. To use a different port:

PORT=7101 infa preview

The browser opens automatically:

  • Signed out, or signed in with no board connected: the local board at infa.ai/local. When you are signed in, the CLI first asks you to pick one of your boards or create a new one for this folder.
  • Board connected: your board at infa.ai/b/{boardId}.

The old infa.ai/editor address redirects to infa.ai/local.

info icon
Port already in use?
If port 7100 is taken, set a different port with PORT=7101 infa preview.

Copy link
Next steps

When you want the cloud:

  • Authenticate with your Infa account
  • Connect a board

Content Feedback

Feedback on selected content

Close
Anonymous submissions are auto-posted to #feedback channel. You can also share directly in Slack.

Need help?

Reach out to contact@infa.ai or see docs