Skip to content

Install in your project

Install N45 in any project where you want to use it.

Prerequisites

  • Node.js 22 or newer — needed to run npx n45-ai
  • Git installed on your machine
  • N45.AI account with an active license and logged in (npx n45-ai login)
  • One of the supported tools: Claude Code or Cursor
  • A project initialized as a git repository (run git init first if needed)

Run the command

From the root of your project:

cd /path/to/your/project
npx n45-ai install

The CLI detects your IDE automatically and installs accordingly.

What gets created

your-project/
├── .n45/
│   ├── bin/
│   └── (configuration files)
├── CLAUDE.md          # if Claude Code is installed
└── .cursor/           # if Cursor is installed
Item Purpose
.n45/bin/ N45 binary used by the slash commands
.n45/ config Settings for this project (organization, license, language)
CLAUDE.md Instruction block Claude Code reads on every session
.cursor/rules/ Equivalent for Cursor

What if I already have a CLAUDE.md?

N45 injects its block between <!-- n45:start --> and <!-- n45:end --> markers. Your existing content is preserved.

Verify the install

Open your IDE and type / in the chat. You should see four new slash commands:

  • /n45
  • /n45-feat
  • /n45-fix
  • /n45-status

If they appear, you're ready. See Your first /n45.

Update

To upgrade N45 in a project that already has it installed:

npx n45-ai update

This re-syncs the binary and the IDE configuration files to the latest version.