user415: HD (hierarchical deterministic) wallets contain master private key, from which all the private keys can be derived.
Is there a CLI tool that calculates the private keys out of a HD key?

user26481: You can use ku  utility provided in pycoin library.
example:
ku -s 0/0-2 xprv9xWkBDfyBXmZsA85GyWj9uYPyoQv826YAadKWMaaEosNrFBKgj2TqWuiWY3zuqxYGpHfv9cnGj5P7e8EskpzKL1Y8Gk9aX6QbryA5raK73p

will generate keys from index 0-2 on derivation path 0/x

415: <p><a href="https://en.bitcoin.it/wiki/Deterministic_wallet" rel="nofollow noreferrer">HD (hierarchical deterministic)</a> wallets contain master private key, from which all the private keys can be derived.</p>

<p>Is there a CLI tool that calculates the private keys out of a HD key?</p>
 26481: <p>You can use <code>ku</code>  utility provided in <a href="https://github.com/richardkiss/pycoin/blob/master/COMMAND-LINE-TOOLS.md" rel="nofollow noreferrer">pycoin</a> library.</p>

<p>example:</p>

<pre><code>ku -s 0/0-2 xprv9xWkBDfyBXmZsA85GyWj9uYPyoQv826YAadKWMaaEosNrFBKgj2TqWuiWY3zuqxYGpHfv9cnGj5P7e8EskpzKL1Y8Gk9aX6QbryA5raK73p
</code></pre>

<p>will generate keys from index 0-2 on derivation path 0/x</p>
