(UNOFFICIAL) nano (Strict Confinement)

(UNOFFICIAL) nano (Strict Confinement)

Install latest/stable of (UNOFFICIAL) nano (Strict Confinement)

Ubuntu 16.04 or later?

Make sure snap support is enabled in your Desktop store.

Install using the command line

sudo snap install nano-strict

Don't have snapd? Get set up for snaps.

Channel Version Published

Small, friendly text editor (Strict Confinement)

GNU nano is an easy-to-use text editor originally designed as a replacement for Pico, the ncurses-based editor from the non-free mailer package Pine (itself now available under the Apache License as Alpine).

However, GNU nano also implements many features missing in Pico, including:

  • undo/redo
  • line numbering
  • syntax coloring
  • soft-wrapping of overlong lines
  • selecting text by holding Shift
  • interactive search and replace (with regular expression support)
  • a go-to line (and column) command
  • support for multiple file buffers
  • auto-indentation
  • tab completion of filenames and search terms
  • toggling features while running
  • and full internationalization support

This snap ships GNU nano in strict confinement mode, this means that it can only access non-directly-under-hidden-files under your home directory and (optionally) files under /mnt and /media via the removable-media interface, however in contrast with the nano snap it is installable in Ubuntu Core systems.

Run the following command in a terminal to create an alias of the tree command after installing the snap:

 sudo snap alias nano-strict nano

Note that if you just removed nano from APT distribution you will have to run the following command to regenerate GNU Bash's command search hash so that it will fall back to the command provided by the snap:

 hash -r

simply logout and re-login the user session will work.

This is NOT an official nano distribution, refer the issue tracker for any problems regarding the use of this snap:


Details for (UNOFFICIAL) nano (Strict Confinement)

  • GPL-3.0

Last updated
  • 11 May 2024 - latest/stable
  • 10 May 2024 - latest/edge



Share this snap

Generate an embeddable card to be shared on external websites.

Install (UNOFFICIAL) nano (Strict Confinement) on your Linux distribution

Choose your Linux distribution to get detailed installation instructions. If yours is not shown, get more details on the installing snapd documentation.

Where people are using (UNOFFICIAL) nano (Strict Confinement)

Users by distribution (log)

Ubuntu Core 20
Ubuntu Core 22
Ubuntu 22.04
Ubuntu Core 18
Ubuntu 20.04
Ubuntu 24.04

Is there a problem with (UNOFFICIAL) nano (Strict Confinement)? Report this app