Claude Code setup
Claude Code is Anthropic's official CLI tool, with Claude Sonnet / Opus models built in. It's the strongest at tasks like writing, code, and tool use.
Flowix Memo treats Claude Code as an external agent - once connected, you can call it right from your document's cursor position, with no terminal switching, no copying context, and no manual conversation history management. A single document can hold multiple Claude Code cards at once, each tracking its own conversation stream independently.
1. Install Claude Code
Prerequisites:
- You need Node.js 18 or newer installed
- macOS users are recommended to install Node.js via nvm or Homebrew (
brew install node). Installing from the standalone package is not recommended (you may run into permission issues later) - Windows users also need Git for Windows
Open a terminal and install Claude Code:
npm install -g @anthropic-ai/claude-code
Update to the latest version:
claude update
Note: If you hit permission issues during installation on macOS, install Node.js via nvm. After a successful install, you still need to complete "2. Using Claude Code in Flowix Memo" below - don't run the
claudecommand directly first (it may fail due to network or regional restrictions).
1.1 macOS
Step 1: Install Node.js 18+
brew install node
Step 2: Install the Claude Code CLI globally
npm install -g @anthropic-ai/claude-code
- Verify the install: run
claude --version; a version number means the CLI is OK. - End-to-end check: run
claude "say hello"in the terminal; a normal response means CLI + API key + PATH are all working.
1.2 Windows 11
- Install Node.js 18+: download the LTS version from nodejs.org and check Add to PATH during installation.
- Install Git for Windows.
- Install the CLI globally: run
npm install -g @anthropic-ai/claude-codein an administrator PowerShell. - Verify the install:
claude --version; a version number means the CLI is OK. - Update (optional):
claude update. - Configure the API key:
This PC > Properties > Advanced system settings > Environment variables > New, variable nameANTHROPIC_API_KEY, variable valuesk-ant-.... - End-to-end check: open a new terminal and run
claude "say hello"; a normal response means CLI + API key + PATH are all working.
2. Using Claude Code in Flowix Memo
Once the CLI is installed, Flowix detects it automatically - no extra configuration needed.
2.1 Insert an agent card via command
Type / anywhere in a document to bring up the agent type menu, then select Claude Code. The system inserts a draggable agent card.
2.2 AI agent conversation
Call it right from the document's cursor position - no terminal switching, no copying context, and no manual conversation history management.