84 releases

0.2.61 Jan 2, 2024
0.2.60 Oct 17, 2023
0.2.54 Sep 18, 2023
0.2.52 Jun 16, 2023
0.0.0 May 15, 2020

#330 in Command line utilities

Download history 6/week @ 2023-12-30 6/week @ 2024-02-24 3/week @ 2024-03-09 276/week @ 2024-03-30 85/week @ 2024-04-06

362 downloads per month

MPL-2.0 license

13K SLoC


Build and release

The Hop CLI allows you to interface with Hop services through your command line. It can be used as a replacement for the Console.


Any of the following will make the hop command available to you.

Arch Linux

Use your favorite AUR helper to install the package (e.g. paru):

paru -S hop-cli


Install with the Hop Windows Installer 64bit or the Hop Windows Installer 32bit


brew install hopinc/tap/hop

Linux, MacOS and FreeBSD

It can be installed with our universal install script:

curl -fsSL https://download.hop.sh/install | sh


To build the application from the source code, you'll first need to install Rust. Then, once you've cloned the repository, you can execute this command within the directory:

cargo install --path .

Logging In

To get started, you need to log in to your Hop account through the CLI:

hop auth login

A browser window will open the Hop Console and prompt you to allow the CLI to connect to your account. Once done, you will be redirected back.

That's all! You can now start using the CLI.



You can set a default project to use which will automatically be applied to every command.

hop projects switch

You can override it by passing the --project argument. For example, hop deploy --project api.


To deploy a project directory, first navigate to the directory through cd and then execute:

hop deploy

This will deploy the project to Hop, or create a new one if you don't have a Hopfile (hop.yml) already.


To link a project to a service, first navigate to the directory through cd and then execute:

hop link

This will link the directory to the deployment and create a Hopfile (hop.yml).


Contributions are welcome! Please open an issue or pull request if you find any bugs or have any suggestions.


~649K SLoC