Skip to main content

Overview

The --version flag displays the currently installed version of the Devark CLI.

Syntax

devark --version

Example Output

$ devark --version
1.0.0
The version number follows Semantic Versioning (SemVer) with the format MAJOR.MINOR.PATCH.

Usage

Check Current Version

devark --version
This command:
  • Displays only the version number
  • Does not show the Devark logo (unlike other commands)
  • Exits immediately after displaying the version

Verify Installation

Use this command to verify that Devark is properly installed:
$ devark --version
1.0.0
If you see a version number, Devark is correctly installed and available in your PATH.

Checking for Updates

Check if a newer version is available:
npm outdated devark
Update to the latest version:
npm install -g devark@latest

Version Information

Where Version is Stored

The version number is read from the package.json file in the Devark CLI installation directory. This ensures the displayed version always matches the installed package version.

Version History

For a complete changelog and release notes, visit the Devark GitHub Releases page.

Troubleshooting

Command Not Found

If you see command not found: devark:
$ devark --version
command not found: devark
Devark is not installed or not in your PATH. Install it globally:
npm install -g devark

Permission Errors

If you encounter permission errors during installation:
sudo npm install -g devark
  • devark add - Add backend modules to your project

Build docs developers (and LLMs) love