Migration Guides
As Axiom Wiki evolves, we occasionally introduce changes that require a migration step for existing wikis. Use the guides below to upgrade your wiki to the latest version.
Available Migration Guides
Section titled “Available Migration Guides”- Upgrading to v0.7.x (Semantic Search) — Enable hybrid search and vector embeddings for your wiki.
- Upgrading to v0.5.0 (Directory Rename) — Transition from
.axiom/toaxiom/and~/my-wiki/to~/axiom/.
Migration from v0.4 → v0.5
Section titled “Migration from v0.4 → v0.5”In v0.5.0, the default wiki directories changed:
- Global wiki:
~/my-wiki/→~/axiom/ - Local wiki:
.axiom/→axiom/
The new names are cleaner (wiki/ already lives inside, so no redundancy) and the local directory is no longer hidden.
Backward compatibility
Section titled “Backward compatibility”Your existing wikis still work. Axiom v0.5 automatically detects and reads from legacy .axiom/ and ~/my-wiki/ directories. You don’t need to migrate immediately — but you’ll see a deprecation notice in the CLI header:
⚠ Deprecated: .axiom/ has been renamed to axiom/ — run axiom-wiki init to migrate.Automatic migration
Section titled “Automatic migration”Running axiom-wiki init detects legacy directories and offers to migrate them:
⚠ Legacy wiki detected
Since v0.5.0, wiki directories have been renamed: /Users/you/my-wiki → /Users/you/axiom /path/to/project/.axiom → /path/to/project/axiom
❯ Migrate — rename to new directory layout Skip — set up a fresh wiki insteadChoosing Migrate will:
- Rename legacy directories to the new names
- Update config paths (both global config and local
config.json) - Update
.gitignoreentries (for local wikis)
All wiki pages, source files, state, and logs are preserved — nothing is deleted.
Manual migration
Section titled “Manual migration”Global wiki
Section titled “Global wiki”mv ~/my-wiki ~/axiomaxiom-wiki init # set wiki directory to ~/axiom when promptedLocal wiki
Section titled “Local wiki”mv .axiom axiomThen update axiom/config.json to reflect the new paths:
{ "wikiDir": "/path/to/project/axiom", "rawDir": "/path/to/project/axiom/raw"}And in .gitignore, replace .axiom/ with axiom/ (or keep both).
What changed
Section titled “What changed”| Before (v0.4) | After (v0.5) | |
|---|---|---|
| Global wiki dir | ~/my-wiki/ | ~/axiom/ |
| Local wiki dir | .axiom/ | axiom/ |
| Config lookup | .axiom/config.json | axiom/config.json (falls back to .axiom/config.json) |
| Directory structure inside | Same | Same |
The internal structure (wiki/, raw/, state.json, etc.) is identical — only the parent directory names changed.
Custom wiki directories
Section titled “Custom wiki directories”If you previously chose a custom directory during init (not ~/my-wiki/), you are unaffected. The migration prompt only appears when legacy directories exist and the new ones don’t.