Skip to main content

/version Command

Display AIKit version and environment information.

Usage

/version

Output

Shows:

  • AIKit version
  • Node.js version
  • npm version
  • Platform/OS
  • Architecture

Example output:

🚀 AIKit v0.1.17

Node.js: v18.19.0
npm: 10.8.2
Platform: darwin (macOS)
Architecture: arm64

Global Config: ~/.config/aikit/aikit.json
Project Config: .aikit/aikit.json

Environment Information

AIKit displays the following information:

InformationDescriptionExample
VersionAIKit semantic versionv0.1.17
Node.jsNode.js runtime versionv18.19.0
npmPackage manager version10.8.2
PlatformOperating systemdarwin (macOS), linux, win32
ArchitectureCPU architecturex64, arm64, arm
Global ConfigGlobal configuration file~/.config/aikit/aikit.json
Project ConfigProject configuration (if any).aikit/aikit.json

Version Format

AIKit uses semantic versioning: MAJOR.MINOR.PATCH

  • MAJOR: Breaking changes
  • MINOR: New features (backwards compatible)
  • PATCH: Bug fixes (backwards compatible)

Example versions:

  • v0.1.0 - Initial release
  • v0.1.1 - Bug fixes
  • v0.2.0 - New features
  • v1.0.0 - Breaking changes

Checking for Updates

# Check current version
/version

# Check latest version (if installed via npm)
npm outdated @tdsoft-tech/aikit

Output:

Package @tdsoft-tech/aikit is up to date with v0.1.17

Troubleshooting

Version Not Showing

# If version doesn't show, check installation
which aikit

# Verify global installation
npm list -g @tdsoft-tech/aikit

# Check local installation
aikit --version

Inconsistent Versions

# Reinstall to fix version issues
npm uninstall -g @tdsoft-tech/aikit
npm install -g @tdsoft-tech/aikit