title: How to install nano on boot2docker
body: <p>I'm running the boot2docker VM in windows and need to modify the init scripts within the VM.  Currently my only option is VI, and it's a pain.  I'd just like to use nano, but it's not available.</p>
  
  <p>It's running:</p>
  
  <pre><code>docker@boot2docker:/c$ uname -a
  Linux boot2docker 3.18.5-tinycore64 #1 SMP Sun Feb 1 06:02:30 UTC 2015 x86_64 GNU/Linux
  </code></pre>
  
  <p>There is no apt-get or any package manager.  How can I just get nano added so I can edit files easily?</p>
  
  <p>EDIT:</p>
  
  <p>@John-Petrone 's answer works, but after it's installed, running nano gives the error:</p>
  
  <pre><code>Error opening terminal: cygwin.
  </code></pre>
  
  <p>In case anyone else has that problem, the issue is $TERM was set to cygwin.  Not sure why.  I just:</p>
  
  <pre><code>TERM=xterm-color
  </code></pre>
  
  <p>And then nano worked! ( if set to any other available terms in /usr/share/terminfo/x funky characters showed up )</p>