Fix: nano is not recognized as an internal or external command - Windows PowerShell


Error:

C:\> nano myfile.txt

'nano' is not recognized as an internal or external command

If you try to make use of the Nano text editor on Windows CMD or PowerShell, you will get an error that the command is not recognized as you may not have the Nano command installed.

You can get it installed by making use of the following steps.



Steps to install Nano using PowerShell

  1. Open PowerShell.
  2. Now run the command choco install nano
    choco install nano
  3. Once the installation is complete, you can access files in PowerShell using nano
Nano on Windows PowerShell or CMD
-

Facing issues? Have Questions? Post them here! I am happy to answer!


Author Info:

Rakesh (He/Him) is a seasoned developer with over 10 years of experience in web and app development, and a deep knowledge of operating systems. Author of insightful How-To articles for Code2care.

Follow him on: X

You can also reach out to him via e-mail: rakesh@code2care.org

Copyright © Code2care 2024 | Privacy Policy | About Us | Contact Us | Sitemap