Installation

npm

Install semtest globally with npm:

npm install -g @westopp/semtest

After installing, verify it works:

semtest --help

npx

Run semtest without installing:

npx @westopp/semtest run

This downloads the latest version on every invocation — no global install needed.

Homebrew

Install via the semtest tap:

brew install westopp/semtest/semtest

curl

One-line installer that checks prerequisites and installs via npm:

curl -fsSL https://raw.githubusercontent.com/westopp/semtest/main/scripts/install.sh | bash

Adding semtest to your PATH

If semtest is installed but your shell can't find it, you need to add the npm global bin directory to your PATH.

Find the npm global prefix:

npm prefix -g

Then add the bin subdirectory to your shell config:

bash

Add to ~/.bashrc:

export PATH="$(npm prefix -g)/bin:$PATH"

zsh

Add to ~/.zshrc:

export PATH="$(npm prefix -g)/bin:$PATH"

fish

Add to ~/.config/fish/config.fish:

set -gx PATH (npm prefix -g)/bin $PATH

After editing, restart your terminal or source the file:

source ~/.bashrc   # or ~/.zshrc

Uninstall

Run semtest uninstall to see instructions for your installation method.