How to Install Sherlock on Kali Linux and Search Usernames

How To Install And Use Sherlock In Kali Linux

Sherlock is available in Kali Linux through the sherlock package, so you can install it with apt and search a username without cloning a repository or managing Python requirements yourself. The tool checks public profile URLs, then reports URLs that appear to match the username you supplied.

Use it only for accounts you own, public test accounts, or work you are authorized to perform. A returned URL is a lead, not proof that one person owns every account with the same username.

Install Sherlock from Kali’s package repository

Kali lists Sherlock in its tools catalog as a package for finding usernames across social networks. Update package information first, then install the package.

sudo apt update
sudo apt install sherlock

If apt cannot find the package, check that you are using Kali and that your configured repositories are available before changing the command. The Linux package-management guide explains how repositories and installed packages fit together.

Confirm the command is available

Run the version command before starting a search. It confirms that your shell can find Sherlock and gives you a useful first check after an update.

sherlock --version

If the shell reports that it cannot find the command, return to the installation step instead of using an old cloned copy. The Linux command-line primer can help you check where commands are resolved.

Search one authorized username

Give Sherlock a username as its final argument. Start with a handle you own or a public test handle, then review every returned URL yourself.

sherlock your_own_test_handle --print-found

The print-found option keeps the output focused on matches that Sherlock identified. It does not verify account ownership, identity, or whether a page is active.

Sherlock finds the public octocat account on GitHub
Sherlock checking GitHub for the public octocat test account.

I ran Sherlock 0.16.0 against GitHub’s public octocat account with the site filter, and it returned the GitHub profile URL. Use that kind of known public account to understand the output before you search an authorized handle.

Limit a search to one site

A site filter narrows the check when you need to validate one public profile URL rather than query every supported service. The official Kali help lists the site option alongside output formats and timeout controls.

sherlock --site github your_own_test_handle --print-found

Replace github with the supported site you need to check. This smaller query is useful when you already have a permitted investigation scope and want a focused result.

Save results as a file

Use the output option to retain URLs from an authorized search for later review, then keep the resulting file in a project directory rather than Downloads or a shared system.

sherlock your_own_test_handle --print-found --output sherlock-results.txt

The text file contains reported URLs rather than a verified identity record, so move it to an approved workspace only when its storage and authorization rules apply.

Troubleshoot a slow or incomplete search

Social sites can rate-limit requests, change public URLs, or return pages Sherlock cannot classify, which means a missing result only says that the tool did not identify a matching public URL during that run.

First repeat the check with one authorized test handle and one site filter. Then use the version command and consult the Kali Sherlock reference or the Sherlock installation documentation for supported options.

Set up the rest of your Kali workspace

Sherlock is one command-line utility in a larger security workflow. If you are building a lab, start with installing Kali Linux in VirtualBox, then keep the Kali Linux command reference nearby as you learn the shell.

The guide to Linux shells also explains why a command that works in one terminal session may not be available in another. Keep your search scope explicit and treat Sherlock output as an input to careful human review.

How do I install Sherlock on Kali Linux?

Update Kali’s package information with sudo apt update, then install Sherlock with sudo apt install sherlock. Confirm that the command is available with sherlock –version.

What does Sherlock do on Kali Linux?

Sherlock checks public profile URLs across supported services for a supplied username and reports URLs that appear to match. A reported URL is not proof of account ownership or identity.

How can I search one site with Sherlock?

Use the site option, such as sherlock –site github your_own_test_handle –print-found. Search only handles and services you are authorized to investigate.

Start with Sherlock’s version command and a public test handle, then move to an authorized username only after you know how to assess the URLs it returns.