Skip to content

Instantly share code, notes, and snippets.

@Itz-fork
Last active April 8, 2022 05:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Itz-fork/fd11c08ef7464bdae3663a1f9c77c9e9 to your computer and use it in GitHub Desktop.
Save Itz-fork/fd11c08ef7464bdae3663a1f9c77c9e9 to your computer and use it in GitHub Desktop.
How to install nano in vps/computer

Debian, Ubuntu based

sudo apt install nano

Arch Based Distros

sudo pacman -S nano

Fedora

sudo dnf install nano

Cent OS

sudo yum install nano

Windows [source]

  • Install Chocolatey
powershell Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))
  • Then install nano vian chocolatey
choco install -y nano
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment