Skip to content
Go to file

Latest commit


Failed to load latest commit information.
Latest commit message
Commit time


                -=* GNU nano for Windows *=-


    Here is the source code for a ported, standalone version of GNU nano,
    a famous, easy-to-use and handy text editor on Linux.

    The script '' can be run in MSYS2 with mingw-w64
    toolchains installed.  That script does static linking such that
    the executable, nano.exe, relies on no third party .DLL files,
    including Microsoft Visual C++ Redistributable packages.


    + .nanorc is loaded from '%USERPROFILE%\.nanorc' with normal privilege
      and from "%ALLUSERSPROFILE%\.nanorc" with elevated priviledge.
    + Systemwide nanorc is loaded from "%ALLUSERSPROFILE%\nanorc".
    + Added C++11 keywords and identifiers with special meaning
      (that is, override and final) in 'doc/syntax/c.nanorc'.
    + Vim-style locking files have been enabled.

Features Removed

    + Spell checker (This requires the infamous `fork()` syscall. )
    + Stop and continue (This requires the `SIGSTOP` signal. )
    + UTF-8 support (This requires narrow multibyte strings to use
      the UTF-8 encoding.  Despite the viability of linking against
      ncursesw, the CRT part has never worked. )
    + Native language support (This requires hard-coding the path to
      the directory containing locale files in the executable. )


    + Either `Alt` key can be used as a `Meta` key.
    + UNIX style end-of-line handling by default.
    + Standard-conforming `sprintf()` function from mingw-w64.


          GNU nano -- a simple editor, inspired by Pico


    The nano project was started because of a few "problems" with the
    wonderfully easy-to-use and friendly Pico text editor.

    First and foremost was its license: the Pine suite does not use
    the GPL, and (before using the Apache License) it had unclear
    restrictions on redistribution.  Because of this, Pine and Pico
    were not included in many GNU/Linux distributions.  Furthermore,
    some features (like go-to-line-number or search-and-replace) were
    unavailable for a long time or require a command-line flag.  Yuck.

    Nano aimed to solve these problems by: 1) being truly free software
    by using the GPL, 2) emulating the functionality of Pico as closely
    as is reasonable, and 3) including extra functionality by default.

    Nowadays, nano wants to be a generally useful editor with sensible
    defaults (linewise scrolling, no automatic line breaking).

    The nano editor is an official GNU package.  For more information on
    GNU and the Free Software Foundation, please see

How to compile and install nano

    Download the latest nano source tarball, then:

        tar -xvf nano-x.y.tar.gz
        cd nano-x.y
        make install

    It's that simple.  Use --prefix with configure to override the
    default installation directory of /usr/local.

    If you haven't configured with the --disable-nanorc option, after
    installation you may want to copy the doc/sample.nanorc file to
    your home directory, rename it to ".nanorc", and then edit it
    according to your taste.

Web Page

Mailing Lists

    There are three nano-related mailing-lists.

    + is a very low traffic list used to announce
      new nano versions or other important info about the project.
    + is for those seeking to get help without
      wanting to hear about the technical details of its development.
    + is the list used by the people that make nano
      and a general development discussion list, with moderate traffic.

    To subscribe, send email to <name> with a subject
    of "subscribe", where <name> is the list you want to subscribe to.

Bug Reports

    To report a bug, please file a description of the problem on nano's
    bug tracker ( -- hover on
    "Bugs", then click "Submit new").  The issue may have already been
    reported, so please look first.

Current Status

    Since version 2.5.0, GNU nano has abandoned the distinction between
    a stable and a development branch: it is now on a "rolling" release
    -- fixing bugs and adding new features go hand in hand.

Copyright Years

    When in any file of this package a copyright notice mentions a
    year range (such as 1999-2011), it is a shorthand for a list of
    all the years in that interval.


GNU nano text editor for Windows [WARNING: The master branch is constantly rebased and force-pushed so don't expect it to be steady!! -end WARNING]





No packages published


You can’t perform that action at this time.