Skip to content
otinstaller
Install

Guide

Install ot on Windows, macOS and Linux

ot is a single program with no dependencies. The install script downloads the build for your system from this site, verifies its SHA-256 checksum and installs it for your user only. It needs no administrator rights.

macOS and Linux

curl -fsSL https://otinstaller.com/install.sh | sh

The script installs ot into ~/.local/bin. If that directory is not on your PATH, the script tells you so. It needs curl and tar, and supports Intel and ARM processors, including Apple silicon.

Windows

Run this in PowerShell:

irm https://otinstaller.com/install.ps1 | iex

The script installs ot.exe into %LOCALAPPDATA%\Programs\ot and adds that folder to your user PATH. Open a new terminal afterwards. Both 64-bit Intel and ARM versions of Windows are supported.

Check that it works

ot --version
ot list
ot doctor

ot list prints every tool ot can install. ot doctor checks your environment and that each installed tool starts.

Install your first tools

ot install sherlock maigret socialscan
ot scan username johndoe

ot install with no names opens a list to pick from, and ot install --all installs every tool available for your system. The tool list shows what each one does.

Options

Both scripts read these environment variables:

VariableEffect
OT_VERSIONInstall this version instead of the latest, without a leading v.
OT_INSTALL_DIRInstall into this directory.
OT_NO_MODIFY_PATHWindows only. Set to 1 to leave your PATH unchanged.

For example, on macOS or Linux:

curl -fsSL https://otinstaller.com/install.sh | OT_INSTALL_DIR=/usr/local/bin sh

Verify the download yourself

If you would rather not pipe a script into a shell, do by hand what the script does:

  1. Read the current version from https://otinstaller.com/releases/latest.txt.
  2. Download the archive for your system and checksums.txt from https://otinstaller.com/releases/v<version>/. Archives are named ot_<version>_<os>_<arch>.tar.gz, or .zip for Windows. The system is linux, darwin or windows, and the processor is amd64 or arm64.
  3. Compare the archive's SHA-256 hash with its line in checksums.txt.
  4. Unpack ot and move it to a directory on your PATH.

Every release after 0.2.0 has a signed checksums.txt, so you can also confirm that the list itself is the one we published. Download checksums.txt.minisig from the same directory and check it with minisign:

minisign -Vm checksums.txt -P RWT5VeoBBywTMPow0Dc/4CeS6sNoV1/a07J2ULzLbgLqtLK4JDfQcnTs

The same key is in https://otinstaller.com/releases/minisign.pub. Every version that can be downloaded is listed in https://otinstaller.com/releases/versions.txt.

Update ot

ot self-update

ot downloads the newest release and replaces itself with it. It does so only if the release's checksum list is signed with a key built into the copy of ot you already have, and the download matches that list. ot self-update --check only says whether a newer release exists, and --version <v> installs a named one. Running the install script again does the same job.

Once a day, after a command you run in a terminal, ot looks up the newest version and tells you if yours is older. Privacy says what that request holds; OT_NO_UPDATE_CHECK=1 turns it off.

ot self-update updates ot itself. To update the tools ot has installed, use ot update.

Where ot keeps its files

Everything ot installs lives under ~/.ot. Set OT_HOME to use another location.

PathContents
~/.ot/toolsDownloaded release binaries, one folder per tool and version.
~/.ot/uvPython tools, each in a virtual environment of its own.
~/.ot/binA launcher for each installed tool. Add it to your PATH to call tools by their own names.
~/.ot/casesSaved scans.
~/.ot/keys.jsonAPI keys stored with ot keys.
~/.ot/registryYour own tool manifests, which add to or override the built-in ones.

Uninstall

Remove the tools first with ot remove <tool>, then delete the ot program and the ~/.ot directory. ot writes nothing else. It never uninstalls a system package such as nmap; use your package manager for that.

Questions

Does ot need administrator rights?

How do I update ot itself?

Can I install ot without the script?