The tldx is a lightweight command-line tool for checking whether domain names are available. It can test one or more domains in a single command and quickly reports whether each name is available. This tutorial explains how to install tldx on Ubuntu 26.04.
Install tldx
First, retrieve the latest release version from the GitHub repository of the project:
TLDX_VERSION=$(curl -s "https://api.github.com/repos/brandonyoungdev/tldx/releases/latest" | grep -Po '"tag_name": "v\K[0-9.]+')
Next, download the corresponding Linux release archive and extract the tldx executable into /usr/local/bin:
curl -sSL https://github.com/brandonyoungdev/tldx/releases/latest/download/tldx_${TLDX_VERSION}_linux_amd64.tar.gz \
| sudo tar xz -C /usr/local/bin tldx
After installation, verify that the tldx has been installed successfully by checking its version:
tldx --version
Testing tldx
Run a simple lookup against a known domain together with a non-existent one to confirm that the tool is functioning properly:
tldx www.google.com fakedomain.com
Example output:
Uninstall tldx
If decided to uninstall tldx, remove the executable using the following command:
sudo rm -rf /usr/local/bin/tldx
Leave a Comment
Cancel reply