secretcli. Refer to the MacOS section in the Ledger support page.
Note: You can use any number you'd like for your account number. Be sure to remember the number you used, so you can recover if needed. The default for the account number is 0.