title: Import phantom wallet private key into solana CLI
body: <p>I need to use a Phantom Wallet through the Solana CLI, but I'm unable to configure it.</p>
  <p>For example, to check balance using</p>
  <pre class="lang-sh prettyprint-override"><code>solana balance --keypair fileexportedfromphantom
  </code></pre>
  <p>but can't read the info.</p>
  <p>How do I convert that private key into a valid form for use in Solana CLI?</p>