Skip to content

Installing Dokugent CLI

You can install Dokugent CLI globally using npm. Make sure you have Node.js (v18 or higher) installed.


Install via npm

npm install -g dokugent-cli

This gives you access to the dokugent command globally.


Verify the installation

dokugent --version

If installed correctly, you'll see the CLI version printed in your terminal.


Optional: Run a dry check

dokugent init --check

This verifies that your Node environment and permissions are ready for CLI usage.


🛠️ Local Development (Optional)

To work on Dokugent CLI locally:

git clone https://github.com/carmelyne/dokugent-cli.git
cd dokugent-cli
npm install
npm link

Now you can run dokugent from source while developing and testing.


Need help? Use dokugent --help to explore all available commands.