# swx-tools > [!NOTE] > **WHAT TO EXPECT** > > swx-tools is a set of Linux tools to send, receive and analyze multicast traffic and to monitor the cloudSwXtch. It is installed with every Linux xNIC, and it can also be installed on other Linux VMs. > > **In this article**, users will learn what swx-tools contains and how to install, update and remove it. ### What swx-tools contains | Tool | Used to | | --- | --- | | [swx-top](swx-top.md) | Monitor the cloudSwXtch, its clients and streams (text user interface) | | [swx-perf](swx-perf.md) | Send, receive and verify multicast traffic | | [swx-tcpdump](swx-tcpdump.md) | Capture packets | | [xdpdump](xdpdump.md) | Capture packets on interfaces that run an XDP program, before and after the program | > [!NOTE] > **NOTE** > > [swx-where](swx-where.md) and [swx-cli](swx-cli.md) are not part of swx-tools. [Tools and Testing](index.md) shows where each tool is installed. ### Where swx-tools is installed - On Linux VMs with an xNIC and on swXtchBridge VMs: their installers add swx-tools automatically. - On any other Linux VM that can reach the cloudSwXtch: install it with the command below. - On Windows there is no swx-tools package. The Windows xNIC installs `swx-perf` and `swx-top` (and `swx-where` and `swx-cli`) in its program folder. The installer lists these distributions as supported: Ubuntu 20.04, 22.04, 24.04 and 26.04, RHEL 8, CentOS 8, RHEL 9, RHEL 10 and Amazon Linux 2023. ### Installing swx-tools The installer is served by the cloudSwXtch. Run this command on the VM, as a user with `sudo` rights, replacing `` with the control IP address of the cloudSwXtch and `sha256//` with its key pin (the same pin as in its client install commands; `swx-cli swxtch pin` on the cloudSwXtch host prints it): ```shell curl -fsS -k --pinnedpubkey sha256// https://:9443/swx/services/install/swx-tools-install.sh | bash ``` > [!WARNING] > **PLEASE NOTE** > > `-k` only skips the host name and CA checks; `--pinnedpubkey` makes curl refuse any server that does not hold the cloudSwXtch's key, and the installer uses the same pin for every download. The installer also takes `--pin sha256//`, and `--trust-on-first-use` (labs only) to trust whatever key answers. See [How identity and trust work](../cloudswxtch/quick-start-guide/how-identity-and-trust-work.md#installing-clients). The VM needs to reach the control IP address of the cloudSwXtch on TCP port 9443. The installer downloads the swx-tools package for the distribution of the VM from the cloudSwXtch. **Example:** Installer output on an Ubuntu 24.04 VM without an xNIC (trimmed) ```shell $ curl -fsS -k --pinnedpubkey sha256// https://10.0.0.4:9443/swx/services/install/swx-tools-install.sh | bash 2026-09-29 12:42:02.610 ========== swXtch.io Tools Installer ========== 2026-09-29 12:42:02.969 [INFO] Tools Installalation requested. 2026-09-29 12:42:03.193 Success: downloaded 122 bytes. 2026-09-29 12:42:03.250 Linux Distribution: ubuntu (version: '24.04'; major version: '24'). 2026-09-29 12:42:03.258 Kernel version: 7.0.0 2026-09-29 12:42:03.264 Tag/Release is : dev.abe340 2026-09-29 12:42:03.273 Arguments (0): 2026-09-29 12:42:03.329 Remove of swx-tools package requested. ... 2026-09-29 12:42:05.459 /tmp/swx-tools_1.0.0_ubuntu24.04_amd64.deb installed successfully. 2026-09-29 12:42:05.464 [INFO] Swxtch tools were installed successfully. 2026-09-29 12:42:05.469 -------------------------------------------------------- 2026-09-29 12:42:05.474 *** swXtch Tools installation finished successfully! *** 2026-09-29 12:42:05.478 -------------------------------------------------------- ``` Once the script has finished, users can run any of the tools. The installation log is saved in `/var/log/swx/swx-tools-install.log`. ### Updating and removing swx-tools Running the installer again removes the installed swx-tools and installs the package served by the cloudSwXtch again. To pass options to the installer, add `-s --` after `bash`: | Option | Description | | --- | --- | | `-u` | Removes swx-tools | | `--pin ` | Pin of the swXtch key (default: the one the swXtch wrote into this script) | | `--trust-on-first-use` | With no pin, trust whatever key answers and log it (labs only) | | `-h`, `--help` | Shows the options | For example, to remove swx-tools: ```shell curl -fsS -k --pinnedpubkey sha256// https://:9443/swx/services/install/swx-tools-install.sh | bash -s -- -u ```