# Renaming devices on Linux

This page provides instructions for renaming devices in your Meshnet on the Linux app.

## Rename this device

Take the following steps to assign a custom nickname to this Linux device:

1. Open **Terminal**.
2. Run this command, replacing the `<nickname>` placeholder with the nickname you want your device to have:

   <pre class="language-bash" data-overflow="wrap"><code class="lang-bash">nordvpn meshnet set nickname &#x3C;nickname>
   </code></pre>

   &#x20;\
   **Example**

   <div align="left"><figure><img src="/files/Ons2PrzuiIZJVE6yCB0i" alt="Terminal window with the command to rename this device to &#x22;linux-pc&#x22;."><figcaption></figcaption></figure></div>

With the change applied, this device's new name will be displayed on all of your personal devices.

{% hint style="info" %}
**Note**

To reset this device's name to the original Nord name, execute the following command:

{% code overflow="wrap" %}

```bash
nordvpn meshnet remove nickname
```

{% endcode %}
{% endhint %}

## Rename a peer device

To rename any peer device in your Meshnet, follow these steps:

1. Open **Terminal**.
2. Run the `nordvpn meshnet peer list` command and locate the Nord name of the device that you want to rename.&#x20;

   <div align="left"><figure><img src="/files/hcsVhQS7xK6GPSk68T3w" alt=""><figcaption></figcaption></figure></div>

   &#x20;
3. Enter the following command, where `<device>` is the Nord name or Meshnet IP of the device you want to rename and `<nickname>` is the new name you want to assign to that device.

   <pre class="language-bash" data-overflow="wrap"><code class="lang-bash">nordvpn meshnet peer nickname set &#x3C;device> &#x3C;nickname>
   </code></pre>

   &#x20;\
   **Example**

   <div align="left"><figure><img src="/files/0OT7MARzatcxvyfbSvVl" alt="Terminal window with the command to set a nickname."><figcaption></figcaption></figure></div>

After applying the change, the nickname will be displayed as the primary device identifier when running the `nordvpn meshnet peer list` command and will be synced across all your personal devices.

<div align="left"><figure><img src="/files/XU8Z0PQYnCHbywHHJve2" alt="Peer device&#x27;s nickname highlighted in the terminal window." width="563"><figcaption></figcaption></figure></div>

{% hint style="success" %}
**Tip**

To find your peer's Nord name faster, start typing the name and press **Tab**. The system will auto-complete the name with a match from online devices.
{% endhint %}

{% hint style="info" %}
**Note**

To remove a device's nickname and restore it to the original Nord name, run the following command, where `<device>` is the Nord name, nickname, or Meshnet IP address of the device whose name you want to reset:

{% code overflow="wrap" %}

```bash
 nordvpn meshnet peer nickname remove <device>
```

{% endcode %}
{% endhint %}

## See also

* [Renaming devices on Windows](/features/renaming-devices/windows.md)
* [Renaming devices on Android](/features/renaming-devices/android.md)
* [Renaming devices on iPhone/iPad](/features/renaming-devices/ios.md)
* [Renaming devices on macOS](/features/renaming-devices/macos.md)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://meshnet.nordvpn.com/features/renaming-devices/linux.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
