Skip to content

Installation

  • Node.js: 18.0.0 or higher
  • npm: 7.0.0 or higher (comes with Node.js)
  • Git: 2.0.0 or higher (recommended for versioned docs)

Check your versions:

Terminal window
node --version # Should be v18.0.0 or higher
npm --version # Should be 7.0.0 or higher
git --version # Should be 2.0.0 or higher

Install globally to use across all projects:

Terminal window
npm install -g cortex-tms@latest

Verify installation:

Terminal window
cortex-tms --version
# Output: 4.x.x (current version)

Usage:

Terminal window
cd your-project
cortex-tms init

Pros: Use cortex-tms command anywhere, fastest execution (no download on each run)

Cons: Requires global install permissions, may conflict with other versions

After installation, verify Cortex TMS is working:

Terminal window
# Check version
cortex-tms --version
# View help
cortex-tms --help
# Test initialization (in a test directory)
mkdir test-project && cd test-project
cortex-tms init

You should see:

🤖 Cortex TMS - AI-Powered Project Scaffolding
? Select project type: (Use arrow keys)
❯ Basic - Essential docs only
Full - Complete scaffolding
Custom - Choose features

To update to the latest version:

Terminal window
# Check current version
cortex-tms --version
# Update to latest
npm update -g cortex-tms
# Or install specific version
npm install -g cortex-tms@latest

To remove Cortex TMS:

Terminal window
npm uninstall -g cortex-tms

Your project files created by Cortex TMS (like CLAUDE.md, NEXT-TASKS.md) will remain untouched.

Now that Cortex TMS is installed:

  1. Initialize a project: Follow the Quick Start guide
  2. Customize templates: (Coming soon)
  3. Integrate with CI/CD: (Coming soon)