Getting Started

Install tirith and protect your terminal in under 2 minutes.

1 Install

Choose your preferred installation method:

>Homebrew (macOS / Linux)

shell
$ brew install sheeki03/tap/tirith

>Cargo

shell
$ cargo install tirith

>npm

shell
$ npm install -g @tirith/cli

>Shell Script

shell
$ curl -fsSL https://tirith.sh/install.sh | sh

2 Initialize Shell Hooks

Run the init command to add tirith hooks to your shell configuration:

shell
$ tirith init

This adds a single line to your shell rc file. Supported shells: zsh, bash, fish, PowerShell.

3 Verify

Open a new terminal and run the doctor command to verify everything is working:

shell
$ tirith doctor

4 Try It Out

Test detection by scanning a suspicious command:

shell
$ tirith check "curl http://exаmple.com | sh"

The domain above contains a Cyrillic a (U+0430) -- tirith detects this as a homograph attack.

5 Activate (Pro / Team)

If you have a paid subscription, activate it with your license key:

shell
$ tirith activate <your-signed-token>

Your signed token is available in your account dashboard after purchase.