<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Tools and Development Environment on kenji.blog</title><link>http://kenji.blog/en/categories/tools-and-development-environment/</link><description>Recent content in Tools and Development Environment on kenji.blog</description><generator>Hugo -- gohugo.io</generator><language>en</language><copyright>kenjinote</copyright><lastBuildDate>Fri, 13 Sep 2024 00:53:53 +0900</lastBuildDate><atom:link href="http://kenji.blog/en/categories/tools-and-development-environment/index.xml" rel="self" type="application/rss+xml"/><item><title>Trying Out the Qt Extension Pack in Visual Studio Code</title><link>http://kenji.blog/en/p/visual-studio-code-%E3%81%AB-qt-extension-pack-%E3%82%92%E5%85%A5%E3%82%8C%E3%81%A6%E3%81%BF%E3%81%9F/</link><pubDate>Fri, 13 Sep 2024 00:53:53 +0900</pubDate><guid>http://kenji.blog/en/p/visual-studio-code-%E3%81%AB-qt-extension-pack-%E3%82%92%E5%85%A5%E3%82%8C%E3%81%A6%E3%81%BF%E3%81%9F/</guid><description>&lt;img src="http://kenji.blog/p/visual-studio-code-%E3%81%AB-qt-extension-pack-%E3%82%92%E5%85%A5%E3%82%8C%E3%81%A6%E3%81%BF%E3%81%9F/img_1.png" alt="Featured image of post Trying Out the Qt Extension Pack in Visual Studio Code" />&lt;h1 id="getting-started-with-qt-development-in-vscode-how-to-install-the-qt-extension-pack">Getting Started with Qt Development in VSCode: How to Install the Qt Extension Pack
&lt;/h1>&lt;p>Hello, Kenji here.
This time, I&amp;rsquo;ll introduce &amp;ldquo;how to set up a Qt development environment in Visual Studio Code (hereafter VSCode)&amp;rdquo;.&lt;/p>
&lt;p>Recently, there has been an increasing demand for developing Qt applications using the lightweight and highly extensible VSCode, in addition to the official Qt Creator.
For those people, I recommend the &amp;ldquo;&lt;strong>Qt Extension Pack&lt;/strong>&amp;rdquo;.
Simply by installing this extension pack, you can get the main Qt-related extensions all at once.&lt;/p>
&lt;hr>
&lt;h2 id="target-audience">Target Audience
&lt;/h2>&lt;ul>
&lt;li>Those who want to start GUI application development using Qt&lt;/li>
&lt;li>Those who want to develop in VSCode instead of Qt Creator&lt;/li>
&lt;li>Those who find it troublesome to search for extensions one by one&lt;/li>
&lt;/ul>
&lt;hr>
&lt;h2 id="prerequisites">Prerequisites
&lt;/h2>&lt;ul>
&lt;li>VSCode must be installed
(&lt;a class="link" href="https://code.visualstudio.com/" target="_blank" rel="noopener"
>You can download it for free from the official website&lt;/a>)&lt;/li>
&lt;li>The main Qt library must be installed (&lt;a class="link" href="https://www.qt.io/" target="_blank" rel="noopener"
>Qt Official Website&lt;/a>)&lt;/li>
&lt;/ul>
&lt;hr>
&lt;h2 id="what-is-the-qt-extension-pack">What is the Qt Extension Pack?
&lt;/h2>&lt;p>The Qt Extension Pack is an extension pack for VSCode.
By installing it, the following features are automatically added:&lt;/p>
&lt;ul>
&lt;li>Support for &lt;code>.ui&lt;/code> files (Qt Designer)&lt;/li>
&lt;li>Syntax highlighting for &lt;code>.pro&lt;/code> and &lt;code>.qrc&lt;/code> files&lt;/li>
&lt;li>C++ code completion, building, and debugging assistance for Qt&lt;/li>
&lt;li>Qt Resource Browser&lt;/li>
&lt;/ul>
&lt;hr>
&lt;h2 id="installation-steps">Installation Steps
&lt;/h2>&lt;h3 id="1-open-vscode">1. Open VSCode
&lt;/h3>&lt;p>First, launch VSCode.&lt;/p>
&lt;h3 id="2-open-the-extensions-view">2. Open the Extensions View
&lt;/h3>&lt;p>Click the Activity Bar (square block icon) on the left side to show &amp;ldquo;Extensions&amp;rdquo;.&lt;/p>
&lt;p>Alternatively, you can press the shortcut
&lt;code>Ctrl + Shift + X&lt;/code>.&lt;/p>
&lt;h3 id="3-search-for-qt-extension-pack">3. Search for &amp;ldquo;Qt Extension Pack&amp;rdquo;
&lt;/h3>&lt;p>Enter the following keyword in the search bar:&lt;/p>
&lt;div class="highlight">&lt;div class="chroma">
&lt;table class="lntable">&lt;tr>&lt;td class="lntd">
&lt;pre tabindex="0" class="chroma">&lt;code>&lt;span class="lnt">1
&lt;/span>&lt;/code>&lt;/pre>&lt;/td>
&lt;td class="lntd">
&lt;pre tabindex="0" class="chroma">&lt;code class="language-fallback" data-lang="fallback">&lt;span class="line">&lt;span class="cl">Qt Extension Pack
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/td>&lt;/tr>&lt;/table>
&lt;/div>
&lt;/div>&lt;p>&lt;img src="http://kenji.blog/p/visual-studio-code-%E3%81%AB-qt-extension-pack-%E3%82%92%E5%85%A5%E3%82%8C%E3%81%A6%E3%81%BF%E3%81%9F/img.png"
width="867"
height="228"
srcset="http://kenji.blog/p/visual-studio-code-%E3%81%AB-qt-extension-pack-%E3%82%92%E5%85%A5%E3%82%8C%E3%81%A6%E3%81%BF%E3%81%9F/img_hua3a606fe260b4f1c55a0f37b6ed054ec_30325_480x0_resize_box_3.png 480w, http://kenji.blog/p/visual-studio-code-%E3%81%AB-qt-extension-pack-%E3%82%92%E5%85%A5%E3%82%8C%E3%81%A6%E3%81%BF%E3%81%9F/img_hua3a606fe260b4f1c55a0f37b6ed054ec_30325_1024x0_resize_box_3.png 1024w"
loading="lazy"
alt="img.png"
class="gallery-image"
data-flex-grow="380"
data-flex-basis="912px"
>&lt;/p>
&lt;h3 id="4-click-the-install-button">4. Click the Install Button
&lt;/h3>&lt;p>When the target pack is displayed, click the &amp;ldquo;Install&amp;rdquo; button.
This will install multiple extensions at once, such as the following:&lt;/p>
&lt;ul>
&lt;li>Qt Language Support&lt;/li>
&lt;li>QML Support&lt;/li>
&lt;li>Qt Designer Integration&lt;/li>
&lt;li>CMake Tools (Essential for CMake-based Qt development)&lt;/li>
&lt;/ul>
&lt;hr>
&lt;h2 id="supplementary-project-settings-cmake--qt-example">Supplementary Project Settings (CMake + Qt Example)
&lt;/h2>&lt;p>If you use Qt with CMake, the combination with the following extensions is recommended:&lt;/p>
&lt;ul>
&lt;li>&lt;a class="link" href="https://marketplace.visualstudio.com/items?itemName=ms-vscode.cmake-tools" target="_blank" rel="noopener"
>CMake Tools&lt;/a>&lt;/li>
&lt;li>&lt;a class="link" href="https://marketplace.visualstudio.com/items?itemName=twxs.cmake" target="_blank" rel="noopener"
>CMake Language Support&lt;/a>&lt;/li>
&lt;/ul>
&lt;p>Also, if you put the following description in your CMakeLists.txt, integration with Qt will be smooth:&lt;/p>
&lt;div class="highlight">&lt;div class="chroma">
&lt;table class="lntable">&lt;tr>&lt;td class="lntd">
&lt;pre tabindex="0" class="chroma">&lt;code>&lt;span class="lnt">1
&lt;/span>&lt;span class="lnt">2
&lt;/span>&lt;/code>&lt;/pre>&lt;/td>
&lt;td class="lntd">
&lt;pre tabindex="0" class="chroma">&lt;code class="language-cmake" data-lang="cmake">&lt;span class="line">&lt;span class="cl">&lt;span class="nb">find_package&lt;/span>&lt;span class="p">(&lt;/span>&lt;span class="s">Qt6&lt;/span> &lt;span class="s">REQUIRED&lt;/span> &lt;span class="s">COMPONENTS&lt;/span> &lt;span class="s">Widgets&lt;/span>&lt;span class="p">)&lt;/span>&lt;span class="err">
&lt;/span>&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="err">&lt;/span>&lt;span class="nb">target_link_libraries&lt;/span>&lt;span class="p">(&lt;/span>&lt;span class="s">MyApp&lt;/span> &lt;span class="s">PRIVATE&lt;/span> &lt;span class="s">Qt6::Widgets&lt;/span>&lt;span class="p">)&lt;/span>&lt;span class="err">
&lt;/span>&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/td>&lt;/tr>&lt;/table>
&lt;/div>
&lt;/div>&lt;hr>
&lt;h2 id="bonus-how-to-open-ui-files">Bonus: How to open .ui files?
&lt;/h2>&lt;p>&lt;code>.ui&lt;/code> files can be edited in Qt Designer.
In VSCode, you can right-click a &lt;code>.ui&lt;/code> file → select &lt;code>Open with Qt Designer&lt;/code> (requires Qt Designer to be included in the &lt;code>PATH&lt;/code> environment variable).&lt;/p>
&lt;hr>
&lt;h2 id="summary">Summary
&lt;/h2>&lt;table>
&lt;thead>
&lt;tr>
&lt;th>Step&lt;/th>
&lt;th>Content&lt;/th>
&lt;/tr>
&lt;/thead>
&lt;tbody>
&lt;tr>
&lt;td>1&lt;/td>
&lt;td>Launch VSCode&lt;/td>
&lt;/tr>
&lt;tr>
&lt;td>2&lt;/td>
&lt;td>Open the Extensions Panel&lt;/td>
&lt;/tr>
&lt;tr>
&lt;td>3&lt;/td>
&lt;td>Search for &amp;ldquo;Qt Extension Pack&amp;rdquo;&lt;/td>
&lt;/tr>
&lt;tr>
&lt;td>4&lt;/td>
&lt;td>Click the Install button&lt;/td>
&lt;/tr>
&lt;/tbody>
&lt;/table>
&lt;p>Setting up a Qt environment in VSCode is now much easier than before.
It has sufficient features as a substitute for Qt Creator, and is recommended for those who want to work nimbly.&lt;/p>
&lt;hr>
&lt;h2 id="recommended-links">Recommended Links
&lt;/h2>&lt;ul>
&lt;li>&lt;a class="link" href="https://www.qt.io/" target="_blank" rel="noopener"
>Qt Official Website&lt;/a>&lt;/li>
&lt;li>&lt;a class="link" href="https://marketplace.visualstudio.com/items?itemName=TheQtCompany.qt" target="_blank" rel="noopener"
>Qt Extension Pack - Visual Studio Marketplace&lt;/a>&lt;/li>
&lt;li>&lt;a class="link" href="https://code.visualstudio.com/" target="_blank" rel="noopener"
>VSCode Official Website&lt;/a>&lt;/li>
&lt;li>&lt;a class="link" href="https://marketplace.visualstudio.com/items?itemName=ms-vscode.cmake-tools" target="_blank" rel="noopener"
>CMake Tools Extension&lt;/a>&lt;/li>
&lt;/ul>
&lt;hr>
&lt;h2 id="finally">Finally
&lt;/h2>&lt;p>From now on, I plan to proceed with development utilizing Qt UI tools and QML in this environment.
Next time, I plan to explain &lt;strong>how to build &amp;amp; run a Qt Hello World app from VSCode&lt;/strong>.&lt;/p>
&lt;p>See you next time!&lt;/p></description></item><item><title>Awarded Microsoft MVP (2024-2025) Again</title><link>http://kenji.blog/en/p/microsoft-mvp2024-2025%E3%82%92%E5%86%8D%E5%8F%97%E8%B3%9E%E3%81%97%E3%81%BE%E3%81%97%E3%81%9F/</link><pubDate>Tue, 03 Sep 2024 21:25:20 +0900</pubDate><guid>http://kenji.blog/en/p/microsoft-mvp2024-2025%E3%82%92%E5%86%8D%E5%8F%97%E8%B3%9E%E3%81%97%E3%81%BE%E3%81%97%E3%81%9F/</guid><description>&lt;img src="http://kenji.blog/p/microsoft-mvp2024-2025%E3%82%92%E5%86%8D%E5%8F%97%E8%B3%9E%E3%81%97%E3%81%BE%E3%81%97%E3%81%9F/img.png" alt="Featured image of post Awarded Microsoft MVP (2024-2025) Again" />&lt;h1 id="awarded-microsoft-mvp-2024-2025-again">Awarded Microsoft MVP (2024-2025) Again
&lt;/h1>&lt;p>&lt;img src="http://kenji.blog/p/microsoft-mvp2024-2025%E3%82%92%E5%86%8D%E5%8F%97%E8%B3%9E%E3%81%97%E3%81%BE%E3%81%97%E3%81%9F/img_1.png"
width="510"
height="680"
srcset="http://kenji.blog/p/microsoft-mvp2024-2025%E3%82%92%E5%86%8D%E5%8F%97%E8%B3%9E%E3%81%97%E3%81%BE%E3%81%97%E3%81%9F/img_1_hu43fc94f004bc47efe4ebeb44e3c1c9ff_744182_480x0_resize_box_3.png 480w, http://kenji.blog/p/microsoft-mvp2024-2025%E3%82%92%E5%86%8D%E5%8F%97%E8%B3%9E%E3%81%97%E3%81%BE%E3%81%97%E3%81%9F/img_1_hu43fc94f004bc47efe4ebeb44e3c1c9ff_744182_1024x0_resize_box_3.png 1024w"
loading="lazy"
alt="img\_1.png"
class="gallery-image"
data-flex-grow="75"
data-flex-basis="180px"
>&lt;/p>
&lt;p>Hello, this is kenji.
I&amp;rsquo;m pleased to announce that I have been awarded the &lt;strong>Microsoft MVP (Most Valuable Professional)&lt;/strong> again this year. This is my 8th time receiving the award.&lt;/p>
&lt;p>Since I have the opportunity, I&amp;rsquo;d like to write a little bit about what the MVP is.&lt;/p>
&lt;hr>
&lt;h2 id="what-is-microsoft-mvp">What is Microsoft MVP?
&lt;/h2>&lt;p>Even though it says MVP, it is not about the most valuable player in sports (I get asked this occasionally&amp;hellip;).
&lt;strong>Microsoft MVP (Most Valuable Professional)&lt;/strong> is an award given to individuals who actively share and disseminate their knowledge and experience regarding Microsoft technologies to the community.&lt;/p>
&lt;p>Writing technical blogs, answering questions on Q&amp;amp;A sites,
publishing sample codes, or speaking at events.
&amp;ldquo;Sharing what you know in a way that helps someone else&amp;rdquo; &amp;ndash; such steady activities are evaluated.&lt;/p>
&lt;p>There are awardees all over the world, but the number is limited every year, and it is not easy to be re-awarded.
Under such circumstances, I am truly grateful to have been recognized again.&lt;/p>
&lt;hr>
&lt;h2 id="reasons-for-the-award">Reasons for the Award
&lt;/h2>&lt;p>This time, I was re-awarded in the &amp;ldquo;Developer Technologies&amp;rdquo; category.
Over the past year, I have been doing activities like this:&lt;/p>
&lt;ul>
&lt;li>Writing blog posts about Microsoft-related technologies&lt;/li>
&lt;li>Posting answers on technical Q&amp;amp;A sites&lt;/li>
&lt;li>Publishing sample codes on GitHub&lt;/li>
&lt;li>Speaking at study groups and technical events, etc.&lt;/li>
&lt;/ul>
&lt;p>None of these are extraordinary, but
I have been conscious of disseminating information by turning &amp;ldquo;things I tried that worked&amp;rdquo; or &amp;ldquo;things I stumbled on but managed to solve&amp;rdquo; into a form that is even slightly useful.&lt;/p>
&lt;p>I am genuinely happy that it has taken shape in this way.&lt;/p>
&lt;hr>
&lt;h2 id="looking-ahead">Looking Ahead
&lt;/h2>&lt;p>The world of technology moves incredibly fast, and just keeping up with it is tough.
But precisely because of that, I feel there is meaning in sharing &amp;ldquo;raw information&amp;rdquo; like what it was actually like to use it and what was hard to understand.&lt;/p>
&lt;p>I hope to continue doing this at my own pace without straining myself.
I would be happy if I could deliver information that makes someone think, &amp;ldquo;Oh, that helped,&amp;rdquo; in some form or another.&lt;/p>
&lt;p>I look forward to your continued support.&lt;/p></description></item><item><title>How to fix GitHub Copilot becoming unusable due to a certificate error</title><link>http://kenji.blog/en/p/%E8%A8%BC%E6%98%8E%E6%9B%B8%E3%82%A8%E3%83%A9%E3%83%BC%E3%81%A7github-copilot%E3%81%8C%E4%BD%BF%E3%81%88%E3%81%AA%E3%81%8F%E3%81%AA%E3%81%A3%E3%81%9F%E5%A0%B4%E5%90%88%E3%81%AE%E5%AF%BE%E5%87%A6%E6%96%B9%E6%B3%95/</link><pubDate>Sun, 21 Apr 2024 18:47:26 +0900</pubDate><guid>http://kenji.blog/en/p/%E8%A8%BC%E6%98%8E%E6%9B%B8%E3%82%A8%E3%83%A9%E3%83%BC%E3%81%A7github-copilot%E3%81%8C%E4%BD%BF%E3%81%88%E3%81%AA%E3%81%8F%E3%81%AA%E3%81%A3%E3%81%9F%E5%A0%B4%E5%90%88%E3%81%AE%E5%AF%BE%E5%87%A6%E6%96%B9%E6%B3%95/</guid><description>&lt;img src="http://kenji.blog/p/%E8%A8%BC%E6%98%8E%E6%9B%B8%E3%82%A8%E3%83%A9%E3%83%BC%E3%81%A7github-copilot%E3%81%8C%E4%BD%BF%E3%81%88%E3%81%AA%E3%81%8F%E3%81%AA%E3%81%A3%E3%81%9F%E5%A0%B4%E5%90%88%E3%81%AE%E5%AF%BE%E5%87%A6%E6%96%B9%E6%B3%95/img.png" alt="Featured image of post How to fix GitHub Copilot becoming unusable due to a certificate error" />&lt;h1 id="how-to-fix-the-following-error-in-github-copilot">How to fix the following error in GitHub Copilot
&lt;/h1>&lt;p>GitHub Copilot stopped working around April 19, 2024. The error message is as follows:&lt;/p>
&lt;p>&lt;code>[ERROR] [ghostText] [2024-04-21T04:06:46.900Z] Error on ghost text request: (FetchError) unable to verify the first certificate [ERROR] [certificates] [2024-04-21T04:06:46.901Z] Your current Copilot license doesn't support proxy connections with custom certificates. Please visit https://gh.io/copilot-network-errors to learn more. Original cause: {&amp;quot;type&amp;quot;:&amp;quot;system&amp;quot;,&amp;quot;_name&amp;quot;:&amp;quot;FetchError&amp;quot;,&amp;quot;code&amp;quot;:&amp;quot;UNABLE_TO_VERIFY_LEAF_SIGNATURE&amp;quot;}&lt;/code>&lt;/p>
&lt;h2 id="solution">Solution
&lt;/h2>&lt;p>This seems to be a bug in ESET. Turn off &amp;ldquo;Enable SSL/TLS&amp;rdquo; in ESET&amp;rsquo;s Advanced setup.
&lt;img src="http://kenji.blog/p/%E8%A8%BC%E6%98%8E%E6%9B%B8%E3%82%A8%E3%83%A9%E3%83%BC%E3%81%A7github-copilot%E3%81%8C%E4%BD%BF%E3%81%88%E3%81%AA%E3%81%8F%E3%81%AA%E3%81%A3%E3%81%9F%E5%A0%B4%E5%90%88%E3%81%AE%E5%AF%BE%E5%87%A6%E6%96%B9%E6%B3%95/img_1.png"
width="679"
height="468"
srcset="http://kenji.blog/p/%E8%A8%BC%E6%98%8E%E6%9B%B8%E3%82%A8%E3%83%A9%E3%83%BC%E3%81%A7github-copilot%E3%81%8C%E4%BD%BF%E3%81%88%E3%81%AA%E3%81%8F%E3%81%AA%E3%81%A3%E3%81%9F%E5%A0%B4%E5%90%88%E3%81%AE%E5%AF%BE%E5%87%A6%E6%96%B9%E6%B3%95/img_1_hu79798d24a79f4dc94eb7f8ca51727896_114738_480x0_resize_box_3.png 480w, http://kenji.blog/p/%E8%A8%BC%E6%98%8E%E6%9B%B8%E3%82%A8%E3%83%A9%E3%83%BC%E3%81%A7github-copilot%E3%81%8C%E4%BD%BF%E3%81%88%E3%81%AA%E3%81%8F%E3%81%AA%E3%81%A3%E3%81%9F%E5%A0%B4%E5%90%88%E3%81%AE%E5%AF%BE%E5%87%A6%E6%96%B9%E6%B3%95/img_1_hu79798d24a79f4dc94eb7f8ca51727896_114738_1024x0_resize_box_3.png 1024w"
loading="lazy"
alt="img_1.png"
class="gallery-image"
data-flex-grow="145"
data-flex-basis="348px"
>&lt;/p>
&lt;h2 id="references">References
&lt;/h2>&lt;p>The same error seems to occur with AWS CDK as well.&lt;/p>
&lt;ul>
&lt;li>&lt;a class="link" href="https://repost.aws/questions/QU2H94hF04SIuEVejK_a1mtQ/aws-cdk-bootstrap-certificate-warning-error" target="_blank" rel="noopener"
>AWS CDK bootstrap certificate warning-error&lt;/a>&lt;/li>
&lt;/ul></description></item><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>