Install the CLI

The DevRev CLI is a command-line interface tool that simplifies working with the DevRev REST APIs.

The installation of the DevRev CLI via Homebrew (for MAC), dpkg (for Linux) is no longer supported.

If you have previously installed the DevRev CLI using these deprecated methods, you must uninstall the earlier version then reinstall with the current version.

$sudo dpkg -r devrev

Install the DevRev CLI

Install using npm:

$npm install -g devrev

This installs the DevRev CLI globally, making it available from any directory.

Upon completion of the installation, confirm its success by checking the version of the DevRev CLI.

$devrev --version

This command presents the currently installed version of the DevRev CLI, thereby verifying its successful installation.

Uninstall the DevRev CLI

Uninstall using npm:

$npm uninstall -g devrev