Microsoft released a new open source CLI text editor tool for CMD/powershell.
Although it is still in an early stage, but it has several features as follows:
- Find and replace (supports regular expressions)
- Optional word wrap on resize
- Can open multiple files
- Indentation of Set tab/space
- Set or change file encoding
- Line Feed (LF) or Carriage Return + Line Feed (CRLF)
- Mouse mode Support
Where to download?
Based on Microsoft, it will be included in the future versions of Windows, as soon as it is tested and finalized by Windows Insider Program members. However, you can already install it using winget, using the below command:
How to use Windows Edit CLI tool?
To edit a file, open it by executing the Edit command:
Official photo from Microsoft: