user9410: I don't have much space on my / (~12GB) so I would like to install bitcoin-qt to some other drive with free space (since the data files will take around 10GB after synchronization). How do I do that?

user3067: Run bitcoin with the flag
-datadir=<path to a directory>


9410: <p>I don't have much space on my / (~12GB) so I would like to install bitcoin-qt to some other drive with free space (since the data files will take around 10GB after synchronization). How do I do that?</p>
 3067: <p>Run bitcoin with the flag</p>

<pre><code>-datadir=&lt;path to a directory&gt;
</code></pre>
