> For the complete documentation index, see [llms.txt](https://meshnet.nordvpn.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://meshnet.nordvpn.com/features/renaming-devices/linux.md).

# Renaming devices on Linux

Learn how to set custom nicknames for your Meshnet peer 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="https://3559400189-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0cTezbT2vN0lurEio8Z5%2Fuploads%2FQeuaW2mORg0th8OGsDAC%2Flinux_nickname_set_this.png?alt=media&amp;token=154682b1-7b3a-4156-ab86-3df08486a14a" 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="https://3559400189-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0cTezbT2vN0lurEio8Z5%2Fuploads%2Fv5LXSTbz6eZMRO4QhNq5%2Flinux_peer_name_everest.png?alt=media&amp;token=24c50885-71c9-4f35-a13b-e76d8f3b7f6f" 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="https://3559400189-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0cTezbT2vN0lurEio8Z5%2Fuploads%2FTP1XEVnMKtAtie4Hd5QJ%2Flinux_nickname_set.png?alt=media&amp;token=9189c2d4-aafb-47f5-88c7-e81bab5bdb92" 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="https://3559400189-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0cTezbT2vN0lurEio8Z5%2Fuploads%2F88QWSuEZV4O6WYAB15uH%2Flinux_nickname_list.png?alt=media&amp;token=bb0e564c-f4d4-4469-a47c-f95de18ec208" 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
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

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

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

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

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
