n45-ai upgrade¶
Upgrade N45 in a project that already has it set up.
Synopsis¶
Description¶
Run from the root of an initialized project. It bootstraps to the latest version, runs the .n45/ migration for the new version, and — only if the migration succeeds — refreshes the IDE configuration and slash commands.
The order matters: if the migration fails, your skills are left untouched, so the project stays consistent with the previous version until the problem is resolved.
If the project is already on the current version, upgrade stops early with "already up to date" — nothing is downloaded, migrated, or rewritten.
Does not touch your .n45/docs/ or .n45/planning/ content.
Start a new chat session after upgrading
After a successful upgrade, the IDE skills point at the new version. An AI chat session that was already open still has the old skill loaded in its context and keeps calling the previous version. Open a new chat so your assistant reloads the updated skills.
When to upgrade¶
- After
npx n45-ai updatepulled a newer binary - A new N45 version is announced
- You want consistency across the team after a teammate upgraded
Examples¶
See also¶
- n45-ai init — first-time project setup
- n45-ai update — update the binary only