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

Comments & Discussion

Facing issues? Have questions? Post them here! We're happy to help!