> For the complete documentation index, see [llms.txt](https://kermitcloud.gitbook.io/kermitcloud-hosting-wiki/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://kermitcloud.gitbook.io/kermitcloud-hosting-wiki/vps-servers/how-to-install-nano.md).

# How To Install Nano

Installing **Nano**, a popular text editor, on a Virtual Private Server (VPS) is quick and easy. Here's how to do it based on your server's operating system:

#### **For Ubuntu/Debian-based VPS Servers**:

1. **Update the package list**:

   bash

   ```
   sudo apt update
   ```
2. **Install Nano**:

   bash

   ```
   sudo apt install nano
   ```
3. **Verify the installation**:

   bash

   ```
   nano --version
   ```

#### **For CentOS/RHEL-based VPS Servers**:

1. **Update the system**:

   bash

   ```
   sudo yum update
   ```
2. **Install Nano**:

   bash

   ```
   sudo yum install nano
   ```
3. **Confirm the installation**:

   bash

   ```
   nano --version
   ```

#### **For Alpine Linux-based VPS Servers**:

1. **Update the package manager**:

   bash

   ```
   sudo apk update
   ```
2. **Install Nano**:

   bash

   ```
   sudo apk add nano
   ```
3. **Check the installation**:

   bash

   ```
   nano --version
   ```

Once installed, you can launch Nano by typing `nano` followed by the file name you want to edit, like this:

bash

```
nano filename.txt
```
