Installation
System Requirements
Section titled “System Requirements”- 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:
node --version # Should be v18.0.0 or highernpm --version # Should be 7.0.0 or highergit --version # Should be 2.0.0 or higherInstallation Methods
Section titled “Installation Methods”Install globally to use across all projects:
npm install -g cortex-tms@latestVerify installation:
cortex-tms --version# Output: 4.x.x (current version)Usage:
cd your-projectcortex-tms initPros: Use cortex-tms command anywhere, fastest execution (no download on each run)
Cons: Requires global install permissions, may conflict with other versions
Run without installing globally:
npx cortex-tms@latest initVerify (will download and run):
npx cortex-tms@latest --version# Output: 4.x.x (current version)Pros: No global installation required, always run specific version, no permission issues
Cons: Slower (downloads on first run per session), must specify version each time
Install with pnpm as your package manager:
pnpm add -g cortex-tms@latestUsage:
cortex-tms initPros: Faster installs with pnpm’s symlink strategy, disk space efficient, monorepo-friendly
Install with Yarn as your package manager:
yarn global add cortex-tms@latestUsage:
cortex-tms initVerifying Installation
Section titled “Verifying Installation”After installation, verify Cortex TMS is working:
# Check versioncortex-tms --version
# View helpcortex-tms --help
# Test initialization (in a test directory)mkdir test-project && cd test-projectcortex-tms initYou should see:
🤖 Cortex TMS - AI-Powered Project Scaffolding? Select project type: (Use arrow keys)❯ Basic - Essential docs only Full - Complete scaffolding Custom - Choose featuresTroubleshooting Installation
Section titled “Troubleshooting Installation”Updating Cortex TMS
Section titled “Updating Cortex TMS”To update to the latest version:
# Check current versioncortex-tms --version
# Update to latestnpm update -g cortex-tms
# Or install specific versionnpm install -g cortex-tms@latestUninstalling
Section titled “Uninstalling”To remove Cortex TMS:
npm uninstall -g cortex-tmsYour project files created by Cortex TMS (like CLAUDE.md, NEXT-TASKS.md) will remain untouched.
Next Steps
Section titled “Next Steps”Now that Cortex TMS is installed:
- Initialize a project: Follow the Quick Start guide
- Customize templates: (Coming soon)
- Integrate with CI/CD: (Coming soon)
Getting Help
Section titled “Getting Help”- Documentation: You’re reading it!
- GitHub Issues: Report bugs
- Discussions: Ask questions