Skip to main content
Lunagraph uses Claude Code to power its AI chat feature. If you try to use the chat without Claude Code installed, you’ll get an error. Follow the steps below to set it up.
Claude Code requires a Claude subscription (Pro or Max).

Video walkthrough

Install Claude Code

1

Open Terminal

Terminal is a built-in app on your Mac that lets you run commands. You can find it by pressing Cmd + Space, typing Terminal, and pressing Enter.
2

Install Claude Code

Follow the official installation instructions for your operating system in the Claude Code docs.The docs will walk you through downloading and installing Claude Code on your machine.
3

Complete the setup

After the installation finishes, you may see setup notes in the terminal. Follow the instructions — copy any lines it tells you to run, paste them into the terminal, and press Enter.
4

Log in to Claude

Type claude in your terminal and press Enter. It will prompt you to log in — you’ll be taken to a browser window to authorize with your Claude account.
5

Restart Lunagraph

Once the login is successful, quit Lunagraph and reopen it. The AI chat should now work.