# How to delegate to P-OPS Validator using Ledger Nano S + CLI
Last updated
Was this helpful?
Last updated
Was this helpful?
Enter the following command into your shell of choice:
If you have permission issues, enter the commands with "sudo" at the beginning, i.e. "sudo curl -LO && sudo mv hmycli hmy && sudo chmod +x hmy"
hmy
depends on some dynamic libraries, hence we recommend using the shell wrapper. Enter there commands into your terminal:
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 --
.
Note that since hmy
is not statically linked, you cannot arbitrarily move hmy.sh
to anywhere on your filesystem like you could with a single binary.
When using Ledger with HMY CLI, the only difference here is that you have to add parameter --ledger
on every command.
With that in mind, you can run any other command via HMY CLI using your Ledger.
Make sure HMY CLI is being run with super user permissions when interacting with Ledger.
Below, are a few practical examples on how to interact with your Ledger device.
For example, if you want to show your Ledger address you would simply run:
For a complete reference of all commands available, please check the HMY CLI .