For the complete documentation index, see llms.txt. This page is also available as Markdown.

1. HMY CLI Download

The Harmony CLI tool is used to interact with the Harmony blockchain.

Throughout this guide, we will use the following syntax:

  • ./hmy: This is the CLI program

  • ./hmy.sh -- : This is the command to use the CLI with a shell wrapper (for macOS)

  • <argument>: This is a required argument

  • [argument]: This is an optional argument

  • / : This is a line break, used to break up a line while writing a command

Download Harmony CLI tool

0. Check you CPU architecture and operation system

Based on the output go to the appropriate section of this manual:

1. GNU/Linux on the amd64 platform

2. GNU/Linux and MacOS on the arm64 platform

3. MacOS on Intel based chips

Now you can use hmy.sh as a wrapper over hmy and you should assume that all references to hmy in these documents refer to hmy.sh. For example, the command ./hmy becomes ./hmy.sh -- .

Run the hmy cli

On the GNU/Linux, calling the cookbook would look like this:

And on the Intel MacOS would look like:

Cookbook output

Troubleshooting

Frequently encountered errors:

Last updated

Was this helpful?