12 Best Notepad++ Alternatives for Linux in 2024

Notepadd++ is a completely free source code editor created as a replacement for Notepad on Windows – is written based on Scintilla in C++ and implements Win32 API and STL to ensure program sizes are small with high execution speed – features that have since made it become a family name among developers. Sadly, there isn’t a version available for Linux users.

Here’s a list of the best Notepadd++ alternatives that you can run on your Linux distribution and be satisfied.

1. Vim Editor

Vim is a powerful, completely configurable text editor for creating or editing any type of text such as source code, configuration files, scripts, and more. It is styled as “vi” which ships with Apple’s OS X and most Linux/Unix systems.

Vim is a bit different from other text editors because it works in a terminal or command prompt and offers you various modes: normal mode for moving around, insert mode for typing, and command mode for giving commands.

Many people love Vim for its customization and plugins, multi-level undo tree, extensive plugin system, support for too many file formats and programming languages to list, and integration support with many tools.

Vim Editor
Vim Editor

To know more about Vim editor, check out our following related articles.

2. Nano Editor

Nano is an open-source command line-based text editor for Unix-like Operating Systems. It was modeled after part of Pine‘s email client and Pico text editor with a lot more functionality.

Its features include syntax highlighting, commenting/uncommenting lines with a single keystroke (M-3), bindable functions, easily snipping trailing white space from justified paragraphs, etc.

Nano Editor Shortcut Keys
Nano Editor Shortcut Keys

In most Linux distributions, nano is already installed, if not you can easily install it with the following command that’s appropriate for your specific distribution.

$ sudo apt install nano         [On Debian, Ubuntu and Mint]
$ sudo yum install nano         [On RHEL/CentOS/Fedora and Rocky/AlmaLinux]
$ sudo emerge -a sys-apps/nano  [On Gentoo Linux]
$ sudo apk add nano             [On Alpine Linux]
$ sudo pacman -S nano           [On Arch Linux]
$ sudo zypper install nano      [On OpenSUSE]    

3. GNU Emacs

GNU Emacs is a customizable, extensible, open source, self-documenting real-time display text editor in the EMACS family of text editors popular for their extensibility.

Its features include syntax highlighting support for many file formats and languages, customization using Emacs Lisp code or a GUI, full Unicode support, complete built-in documentation and tutorials, etc.

GNU Emacs Text Editor
GNU Emacs Text Editor

To install GNU Emacs on Linux, you can use the following command that’s appropriate for your specific Linux distribution.

$ sudo apt install emacs         [On Debian, Ubuntu and Mint]
$ sudo yum install emacs         [On RHEL/CentOS/Fedora and Rocky/AlmaLinux]
$ sudo emerge -a sys-apps/emacs  [On Gentoo Linux]
$ sudo apk add emacs             [On Alpine Linux]
$ sudo pacman -S emacs           [On Arch Linux]
$ sudo zypper install emacs      [On OpenSUSE]    

4. Gedit

Gedit is an open-source text editor app designed for general-purpose text editing with a clean and simple GUI for ease of use. It is GNOME’s very own text editor and ships as the default text editor of the GNOME desktop environment.

gedit’s features include backing up files, text wrapping, line numbering, remote file editing, configurable fonts and colors, regex support, etc.

Gedit Text Editor
Gedit Text Editor

To install Gedit on Linux, you can use the following command that’s appropriate for your specific Linux distribution.

$ sudo apt install gedit         [On Debian, Ubuntu and Mint]
$ sudo yum install gedit         [On RHEL/CentOS/Fedora and Rocky/AlmaLinux]
$ sudo emerge -a sys-apps/gedit  [On Gentoo Linux]
$ sudo apk add gedit             [On Alpine Linux]
$ sudo pacman -S gedit           [On Arch Linux]
$ sudo zypper install gedit      [On OpenSUSE]    

5. Geany

Geany is an open-source GTK+ text editor created to provide users with a lightweight and speedy IDE that barely depends on other packages.

Its features include a built-in toggable console, multi-programming language, file format support, code folding, call tips, code navigation, symbol name auto-completion, etc.

Geany Text Editor
Geany Text Editor

To install Geany on Linux, you can use the following command that’s appropriate for your specific Linux distribution.

$ sudo apt install geany         [On Debian, Ubuntu and Mint]
$ sudo yum install geany         [On RHEL/CentOS/Fedora and Rocky/AlmaLinux]
$ sudo emerge -a sys-apps/geany  [On Gentoo Linux]
$ sudo apk add geany             [On Alpine Linux]
$ sudo pacman -S geany           [On Arch Linux]
$ sudo zypper install geany      [On OpenSUSE]    

6. GNOME Text Editor

GNOME Text Editor is the main writing tool for the GNOME desktop system that offers a great editing user experience with built-in themes and syntax highlighting for a variety of programming languages, including Python, JavaScript, C, and C++. It also has features such as search and replace, line numbers, and auto-completion.

Starting from GNOME version 42 in March 2022, GNOME Text Editor became the main writing tool for GNOME, taking the place of gedit. The reason for this change was that the GNOME developers wanted all their programs to follow the rules for how things should look and work in GNOME.

GNOME Text Editor
GNOME Text Editor

To install GNOME Text Editor on Linux, you can use the following command that’s appropriate for your specific Linux distribution.

$ sudo apt install gnome-text-editor         [On Debian, Ubuntu and Mint]
$ sudo yum install gnome-text-editor         [On RHEL/CentOS/Fedora and Rocky/AlmaLinux]
$ sudo emerge -a sys-apps/gnome-text-editor  [On Gentoo Linux]
$ sudo apk add gnome-text-editor             [On Alpine Linux]
$ sudo pacman -S gnome-text-editor           [On Arch Linux]
$ sudo zypper install gnome-text-editor      [On OpenSUSE]    

7. Sublime Text

Sublime Text is a free, powerful, proprietary, community-maintained, cross-platform, and extensible source code editor featuring a Python API.

Sublime Text was first released in 2008 by Jon Skinner and Will Bond and it has since won the hearts of dedicated users who swear it is the modern version of vi and GNU Emacs.

It features a clean, minimalist User Interface, Goto Anything, split editing, instant project switch, support for virtually any programming language, support for tons of plugins, etc.

Sublime Text Editor
Sublime Text Editor

Learn more about How to Install Sublime Text on Linux

8. Kate

Kate (KDE Advanced Text Editor) is an open-source GUI text editor developed by the KDE community and bundled with KDE software since 2001.

Kate is used as an editing component in Quanta Plus, the LaTeX front-end, and KDevelop among other technologies. Its features include code folding, syntax highlighting that is extensible via XML files, automatic character encoding detection, etc.

Kate Text Editor
Kate Text Editor

To install Kate on Linux, you can use the following command that’s appropriate for your specific Linux distribution.

$ sudo apt install kate         [On Debian, Ubuntu and Mint]
$ sudo yum install kate         [On RHEL/CentOS/Fedora and Rocky/AlmaLinux]
$ sudo emerge -a sys-apps/kate  [On Gentoo Linux]
$ sudo apk add kate             [On Alpine Linux]
$ sudo pacman -S kate           [On Arch Linux]
$ sudo zypper install kate      [On OpenSUSE]    

9. Notepadqq

Notepadqq is a completely free source code editor created as a Linux alternative for Notepad++ which is available for only Windows. Just like Notepadd++, it aims to ensure that program sizes are small with high execution speed.

Its features include a simple, eye-candy UI with support for multiview editing, plugin extension, several programming languages, syntax highlighting, etc.

Notepadqq is a Notepad++-like editor for Linux
Notepadqq is a Notepad++-like editor for Linux

To install Notepadqq on Linux, you can use the following command that’s appropriate for your specific Linux distribution.

$ sudo apt install notepadqq         [On Debian, Ubuntu and Mint]
$ sudo yum install notepadqq         [On RHEL/CentOS/Fedora and Rocky/AlmaLinux]
$ sudo emerge -a sys-apps/notepadqq  [On Gentoo Linux]
$ sudo apk add notepadqq             [On Alpine Linux]
$ sudo pacman -S notepadqq           [On Arch Linux]
$ sudo zypper install notepadqq      [On OpenSUSE]    

10. Visual Studio Code

Visual Studio Code is a powerful, extensible, completely customizable, cross-platform text editor created by Microsoft Corporation. It offers users on all platforms a unified environment for building and testing programs in any language for any platform.

VS Code features include IntelliSense, built-in Git commands, a debugger built into the editor complete with debug breaks, call stacks, and an interactive console, support for almost any programming language, etc.

Visual Studio Code Editor
Visual Studio Code Editor

To install Visual Studio Code on Linux, you can use the following command that’s appropriate for your specific Linux distribution.

$ sudo apt install code         [On Debian, Ubuntu and Mint]
$ sudo yum install code         [On RHEL/CentOS/Fedora and Rocky/AlmaLinux]
$ sudo emerge -a sys-apps/code  [On Gentoo Linux]
$ sudo apk add code             [On Alpine Linux]
$ sudo pacman -S code           [On Arch Linux]
$ sudo zypper install code      [On OpenSUSE]    

11. SciTE

SciTE is a SCIntilla-based text editor that was first created to demonstrate Scintilla but has since grown to be useful for developing and running programs that typically have simple configurations.

It features a simple, tabbed, GUI with syntax highlighting, support for bidirectional text, helper scripts, configurable keyboard shortcuts, etc.

SciTE’s free version is available for Linux-compatible systems with GTK+ and Windows while a commercial version is up for download from the Mac App Store.

SciTE Text Editor
SciTE Text Editor

To install SciTE on Linux, you can use the following command that’s appropriate for your specific Linux distribution.

$ sudo apt install scite         [On Debian, Ubuntu and Mint]
$ sudo yum install scite         [On RHEL/CentOS/Fedora and Rocky/AlmaLinux]
$ sudo emerge -a sys-apps/scite  [On Gentoo Linux]
$ sudo apk add scite             [On Alpine Linux]
$ sudo pacman -S scite           [On Arch Linux]
$ sudo zypper install scite      [On OpenSUSE]    

12. CodeLobster

CodeLobster is a completely free multifunctional and portable IDE designed for PHP, HTML, CSS, and JavaScript projects with support for over 15 frameworks. It offers users almost all of the features in many paid applications such as pair highlighting, tooltips, PHP and JS debugging advanced autocomplete, incremental find, etc.

The professional version contains features like SASS and LESS, split window compare, code validation, an SQL manager, etc., and a ton of additional plugins that are enterprise user-worthy.

Codelobster IDE
Codelobster IDE
Summary

So there you have it guys. The 11 best text editor alternatives to Notepadd++ are available for Linux. Do you know any efficient ones that you would like to see added to the list? Feel free to drop comments in the section below.

Hey TecMint readers,

Exciting news! Every month, our top blog commenters will have the chance to win fantastic rewards, like free Linux eBooks such as RHCE, RHCSA, LFCS, Learn Linux, and Awk, each worth $20!

Learn more about the contest and stand a chance to win by sharing your thoughts below!

Martins D. Okoi
Martins Divine Okoi is a graduate of Computer Science with a passion for Linux and the Open Source community. He works as a Graphic Designer, Web Developer, and programmer.

Each tutorial at TecMint is created by a team of experienced Linux system administrators so that it meets our high-quality standards.

Join the TecMint Weekly Newsletter (More Than 156,129 Linux Enthusiasts Have Subscribed)
Was this article helpful? Please add a comment or buy me a coffee to show your appreciation.

23 Comments

Leave a Reply
  1. I found that for simple text editing but with some useful features like change case, search, and replace, GEANY is the best in terms of speed and what it offers. It’s loading as fast as Gedit but more pleasant to use and more configurable.

    The Atom is sunsetting as expected when Microsoft purchased Github, but not much trouble because the VS Code is the best code editor overall, the second best code editor might be Sublime, but it’s commercial and VS Code does its job perfectly.

    Reply
  2. All these are great and probably serve their rolls quite well. However, if you’re just working with text and NOT coding, then allow me to recommend FocusWriter. It is actually a writer’s tool but works beautifully as a notepad. (I think FocusWriter can do some coding but not as well as the above-mentioned apps.)

    Reply
  3. Please stop putting Vim, eMacs, and Nano at the top of your recommendations… FFS! This right here is the reason we can’t even get the majority of software devs to work on Linux and are stuck with sub double digit market share…

    Don’t get me wrong Nano is intuitive but if people are here looking for alternatives to Notepad++, they want a full GUI solution not some command line tool with keyboard only interaction. Sublime, Visual Studio Code, Atom, and Gedit should be the top 4 (not necessarily in that order).

    With the aforementioned not even enumerated as part of the list, literally ok now that you’ve got what you came here for (a GUI code editor), if you have to remotely manage servers you’ll want to be familiar with one of these as well.

    Reply
          • Thanks for the reply but I searched it up and fira code monospaced doesn’t look like it. Also just for context I’m talking about the very first image on the article.

          • Also thanks for helping, I’m new to Linux and it uses the VGA font for the console and it is very boring this font looks awesome and I really wish I could know what it is.

            I spent hours searching but I couldn’t find anything also by the way I found that Vim editor uses the console font so it could also be the console font of whoever’s picture that is also I have read other articles on this website and they sometimes to use this font in the articles.

    • @Aqua,

      Do you know yet that Yum is aliased to DNF, so you can still type “yum install mypackage” to install it packages on Fedora..

      Reply
  4. You say ‘sadly there isn’t a version available for Linux’. Oh really? Then how is it that I have Notepad++ installed on my Ubuntu laptop? You need to check your facts.

    Reply
    • @Scott,

      Yes there isn’t any Notepad++ available to install from official or even using third party.. I think you’ve installed it using Wine…:)

      Reply
      • Ubuntu 18.04 LTS, under software. Tons of packages listed and Notepad++ is one of them. Installs as a snap package. No idea what is under the hood but I did not myself install wine.

        Reply
    • They are both memory-friendly and should work smoothly on any laptop. I suggest that you choose Atom if you want to pick one.

      Reply
  5. The first several options in your list really aren’t even comparable. Yes, you can edit text in a terminal. There’s a bit more you tend to get from a GUI editor. Sublime is imho the first option in your list that’s even comparable.

    I really like sublime and vs code myself. I tend to reach for vs code more, because it’s free, open source, on all major platforms and has a very rich extension ecosystem and works with almost everything I need. The integrated terminal is hands down my favorite feature. Second is decent git integration.

    Reply
    • Sublime Text is unquestionably a text editor to be reckoned with and for a while, it was my favorite choice even in the presence of the super friendly Atom until VS Code came along. Brackets is also cool but I haven’t used it extensively enough to choose it over Atom or VS Code.

      Reply

Got Something to Say? Join the Discussion...

Thank you for taking the time to share your thoughts with us. We appreciate your decision to leave a comment and value your contribution to the discussion. It's important to note that we moderate all comments in accordance with our comment policy to ensure a respectful and constructive conversation.

Rest assured that your email address will remain private and will not be published or shared with anyone. We prioritize the privacy and security of our users.