English
### A few final notes
- Congratulations, you can now use your Ledger Monero wallet in conjunction with the CLI.
Congratulations, you can now use your Ledger Monero wallet in conjunction with the CLI.
- Drag `monero-wallet-cli` in the terminal. It should add the full path to the terminal. Do not hit enter.
- Either your @daemon (`monerod.exe`) should be running and preferably be fully synced or you should connect to a remote node.
- Either your daemon (`monerod`) should be running and preferably be fully synced or you should connect to a remote node.
Enter the password to open the wallet.
Enter the wallet name of your Ledger Monero wallet.
[Final notes](#a-few-final-notes)
`/full/path/to/monero-wallet-cli --generate-from-device <new-wallet-name> --subaddress-lookahead 3:200`
`--generate-from-device MoneroWallet --subaddress-lookahead 3:200`
`--generate-from-device <new-wallet-name> --subaddress-lookahead 3:200`
- Go to the directory / folder monerod.exe and monero-wallet-cli.exe are located.
- Go to the directory / folder monero-wallet-cli and monerod are located.
- Go to your desktop.
- If desired, you can manually tweak the `--subaddress-lookahead` value. The first value is the number of accounts and the second value is the number of subaddresses per account. Thus, if you, for instance, want to pregenerate 5 accounts with 100 subaddresses each, use `--subaddress-lookahead 5:100`. Bear in mind that, the more subaddresses you pregenerate, the longer it takes for the Ledger to create your wallet.
If the Ledger wallet files are not in the same directory as `monero-wallet-cli`, you ought to open `monero-wallet-cli` with the `--wallet-file /path/to/wallet.keys/file` flag. Alternatively, you can copy the Ledger wallet files to the same directory as `monero-wallet-cli`.
- If you have any further questions or need assistance, please leave a comment to the original [StackExchange](https://monero.stackexchange.com/questions/8503/how-do-i-generate-a-ledger-monero-wallet-with-the-cli-monero-wallet-cli) answer.
- If you use a remote node, append the `--daemon-address host:port` flag to the command in step 3 (Windows), step 5 (Mac OS X), or step 3 (Linux).
{% include disclaimer.html translated="no" translationOutdated="no" %}