<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Nano on kenji.blog</title><link>http://kenji.blog/en/tags/nano/</link><description>Recent content in Nano on kenji.blog</description><generator>Hugo -- gohugo.io</generator><language>en</language><copyright>kenjinote</copyright><lastBuildDate>Sun, 31 Mar 2024 18:09:32 +0900</lastBuildDate><atom:link href="http://kenji.blog/en/tags/nano/index.xml" rel="self" type="application/rss+xml"/><item><title>How to install CLI text editor nano on Windows</title><link>http://kenji.blog/en/p/cli%E3%83%86%E3%82%AD%E3%82%B9%E3%83%88%E3%82%A8%E3%83%87%E3%82%A3%E3%82%BFnano%E3%82%92windows%E3%81%AB%E3%82%A4%E3%83%B3%E3%82%B9%E3%83%88%E3%83%BC%E3%83%AB%E3%81%99%E3%82%8B%E6%96%B9%E6%B3%95/</link><pubDate>Sun, 31 Mar 2024 18:09:32 +0900</pubDate><guid>http://kenji.blog/en/p/cli%E3%83%86%E3%82%AD%E3%82%B9%E3%83%88%E3%82%A8%E3%83%87%E3%82%A3%E3%82%BFnano%E3%82%92windows%E3%81%AB%E3%82%A4%E3%83%B3%E3%82%B9%E3%83%88%E3%83%BC%E3%83%AB%E3%81%99%E3%82%8B%E6%96%B9%E6%B3%95/</guid><description>&lt;img src="http://kenji.blog/p/cli%E3%83%86%E3%82%AD%E3%82%B9%E3%83%88%E3%82%A8%E3%83%87%E3%82%A3%E3%82%BFnano%E3%82%92windows%E3%81%AB%E3%82%A4%E3%83%B3%E3%82%B9%E3%83%88%E3%83%BC%E3%83%AB%E3%81%99%E3%82%8B%E6%96%B9%E6%B3%95/img_1.png" alt="Featured image of post How to install CLI text editor nano on Windows" />&lt;h2 id="download-nanoexe">Download nano.exe
&lt;/h2>&lt;p>&lt;a class="link" href="https://sourceforge.net/projects/nano-for-windows/" target="_blank" rel="noopener"
>https://sourceforge.net/projects/nano-for-windows/&lt;/a>&lt;/p>
&lt;p>Open the link above, click &lt;code>Download&lt;/code>, and download &lt;code>GNU-Nano_Win32(static).zip&lt;/code>.
Extract the zip file and place &lt;code>nano.exe&lt;/code> in an arbitrary folder.&lt;/p>
&lt;ul>
&lt;li>Note: Japanese input is not supported. (As of 2024/03/31)&lt;/li>
&lt;/ul>
&lt;h2 id="set-environment-variables">Set Environment Variables
&lt;/h2>&lt;p>In order to use &lt;code>nano.exe&lt;/code> from the command prompt, you need to set the environment variables.&lt;/p>
&lt;ol>
&lt;li>Press &lt;code>Win key&lt;/code> + &lt;code>R key&lt;/code>, type &lt;code>sysdm.cpl&lt;/code>, and press &lt;code>Enter key&lt;/code>.&lt;/li>
&lt;li>In &lt;code>System Properties&lt;/code>, click on the &lt;code>Advanced&lt;/code> tab.&lt;/li>
&lt;li>Click on &lt;code>Environment Variables&lt;/code>.&lt;/li>
&lt;li>Select &lt;code>Path&lt;/code> under &lt;code>System variables&lt;/code> and click &lt;code>Edit&lt;/code>.&lt;/li>
&lt;li>Click &lt;code>New&lt;/code> and add the path to &lt;code>nano.exe&lt;/code>.&lt;/li>
&lt;li>Click &lt;code>OK&lt;/code> to close all dialogs.&lt;/li>
&lt;li>Restart the command prompt, type &lt;code>nano&lt;/code>, and check if it can be executed.&lt;/li>
&lt;/ol>
&lt;h2 id="how-to-use-nano">How to use nano
&lt;/h2>&lt;p>When you type &lt;code>nano&lt;/code> and execute it, a screen like the following will be displayed.&lt;/p>
&lt;p>&lt;img src="http://kenji.blog/p/cli%E3%83%86%E3%82%AD%E3%82%B9%E3%83%88%E3%82%A8%E3%83%87%E3%82%A3%E3%82%BFnano%E3%82%92windows%E3%81%AB%E3%82%A4%E3%83%B3%E3%82%B9%E3%83%88%E3%83%BC%E3%83%AB%E3%81%99%E3%82%8B%E6%96%B9%E6%B3%95/img_2.png"
width="1082"
height="632"
srcset="http://kenji.blog/p/cli%E3%83%86%E3%82%AD%E3%82%B9%E3%83%88%E3%82%A8%E3%83%87%E3%82%A3%E3%82%BFnano%E3%82%92windows%E3%81%AB%E3%82%A4%E3%83%B3%E3%82%B9%E3%83%88%E3%83%BC%E3%83%AB%E3%81%99%E3%82%8B%E6%96%B9%E6%B3%95/img_2_hucb9efcdf08d2eda99abffd0a9502a2c3_16316_480x0_resize_box_3.png 480w, http://kenji.blog/p/cli%E3%83%86%E3%82%AD%E3%82%B9%E3%83%88%E3%82%A8%E3%83%87%E3%82%A3%E3%82%BFnano%E3%82%92windows%E3%81%AB%E3%82%A4%E3%83%B3%E3%82%B9%E3%83%88%E3%83%BC%E3%83%AB%E3%81%99%E3%82%8B%E6%96%B9%E6%B3%95/img_2_hucb9efcdf08d2eda99abffd0a9502a2c3_16316_1024x0_resize_box_3.png 1024w"
loading="lazy"
alt="img_2.png"
class="gallery-image"
data-flex-grow="171"
data-flex-basis="410px"
>&lt;/p>
&lt;p>Shortcut descriptions are displayed at the bottom of the screen.&lt;/p>
&lt;p>The meanings of the symbols are as follows:&lt;/p>
&lt;ul>
&lt;li>&lt;code>^&lt;/code> represents the &lt;code>Ctrl&lt;/code> key.&lt;/li>
&lt;li>&lt;code>M-&lt;/code> represents the &lt;code>Alt&lt;/code> key.&lt;/li>
&lt;/ul>
&lt;p>To save and close, press &lt;code>Ctrl&lt;/code> + &lt;code>S&lt;/code> and then &lt;code>Ctrl&lt;/code> + &lt;code>X&lt;/code>.&lt;/p>
&lt;h2 id="reference">Reference
&lt;/h2>&lt;ul>
&lt;li>&lt;a class="link" href="https://www.nano-editor.org/" target="_blank" rel="noopener"
>GNU nano&lt;/a>&lt;/li>
&lt;/ul></description></item></channel></rss>