Microsoft open-source file editor tool for CMD

    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:

    Code
    winget install --id Microsoft.Edit

    How to use Windows Edit CLI tool?

    To edit a file, open it by executing the Edit command:

    Code
     Edit Test-File.txt


    Official photo from Microsoft:

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!