Skip to content

devrev/cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

DevRev CLI

This repo provides the latest CLI release from DevRev. It is a tool that simplifies working with the DevRev REST API.

Install with Debian Package

Supported architectures:

  • linux amd64
  • linux arm64

Download the debian package from https://github.com/devrev/cli/releases/latest and install it using the following command:

sudo dpkg -i devrev_0.4.7-linux_amd64.deb

or

sudo dpkg -i devrev_0.4.7-linux_arm64.deb

also run the below command to install the completions:

wget https://raw.githubusercontent.com/devrev/cli/main/install_completions.sh && sh install_completions.sh /usr/local/bin/devrev

Note: /usr/local/bin/devrev path may vary based on your debian installation

Uninstall debian package

Use this command to deinstall the devrev debian package:

sudo dpkg -r devrev

Installation with Homebrew

Homebrew installation supports the following architectures:

  • darwin amd64
  • darwin arm64
  • linux arm64
  • linux amd64

Download the brew formula devrev.rb or run the below command:

wget https://github.com/devrev/cli/releases/latest/download/devrev.rb

Install the downloaded Homebrew formula file devrev.rb using below command:

brew install ./devrev.rb

also run the below command to install the completions:

wget https://raw.githubusercontent.com/devrev/cli/main/install_completions.sh && sh install_completions.sh /opt/homebrew/bin/devrev

Note: /opt/homebrew/bin/devrev path may vary based on your homebrew installation

Uninstall devrev CLI

brew uninstall devrev

Usage

The DevRev CLI provides several subcommands that can be used to perform various tasks. Here are some examples:

CLI version

devrev --version

Authentication to DevRev API

devrev profiles authenticate --org <DevOrg-slug-name> --usr <[email protected]>

Arguments:

<DevOrg-slug-name> : The unique slug name of your DevOrg to which you want to login.

<[email protected]> : Your registered user email for profile.

CLI help

devrev --help

License

DevRev CLI is proprietary software and is not open source. You may use it for your commercial use, but you may not distribute or modify it without our permission.

Support

If you have any issues or questions about DevRev CLI, please contact our support team at https://devrev.ai