Automic VaultAutomic Vault

brew

Install clitest with Homebrew, apt, dnf, pacman

Command-Line Tester. Version 0.5.0 via Homebrew; verified from local package data.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install clitest

local Homebrew formula metadata

overview

Package summary

Command-Line Tester

Commands and aliases

  • clitest

history

Project history and usage

clitest is a portable POSIX shell script for testing command-line sessions by comparing commands and expected output written in a terminal-like transcript.

Project history

clitest was published by Aurelio Jargas as a small single-script command-line testing tool. The upstream README frames it as applying the doctest idea to Unix command lines: documentation-like shell sessions can become executable tests.

Adoption history

The project is intentionally small, but it reached several developer-oriented package channels: the batch input records Homebrew, Debian, Fedora, Arch, and Ubuntu packages. The README also documents a Docker image and points to funcoeszz test files as a larger real-world suite using the clitest format.

How it is used

Users write a text or Markdown file containing prompts, commands, and expected output, then run `clitest FILE` to execute and check those examples. The README documents prefix handling for indented Markdown code blocks and inline expected-output markers such as `#=>`.

Why package nerds care

clitest matters to package nerds as a tiny, portable test runner for command-line examples. It is the sort of tool that can smoke-test package documentation, man-page examples, and shell snippets without bringing in a language-specific test framework.

Timeline

  • 2013: GitHub repository created and early 0.1.0 tag committed.
  • 2023: Version 0.5.0 tag committed.
  • 2023: Upstream README documents direct script installation, Docker use, Markdown extraction, and real-world clitest suites.

Related projects

  • Related projects and concepts include Python doctest, doctest.fish for fish shell users, shellspec-style shell testing tools, and command-documentation test suites such as funcoeszz's clitest files.

security posture

Risk level: green

narrow executable package without higher-risk signals.

Risk classifier

green risk · low confidence · appliance

Why

  • narrow executable package without higher-risk signals

Signals

  • metadata:no-higher-risk-signals

Install behavior

  • No Homebrew post-install hook is recorded in formula metadata.
  • Homebrew bottle metadata is available for 1 platform targets.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

executables

Installed executables

CommandKindExposureNote
clitestcliglobal executable

freshness

Version and freshness

These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.

page generated2026-07-08
manager version0.5.0
manager updated
local dataok
upstreamcurrent
latest detected0.5.0

https://github.com/aureliojargas/clitest

  • infoNo package-manager update timestamp was available.low confidence

install metadata

Package metadata

Package keybrew:clitest
Version0.5.0
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/clitest
Homepagehttps://github.com/aureliojargas/clitest
Repositoryhttps://github.com/aureliojargas/clitest
Upstream docshttps://github.com/aureliojargas/clitest#readme
LicenseMIT
Source archivehttps://github.com/aureliojargas/clitest/archive/refs/tags/0.5.0.tar.gz
Bottleavailable (on all)
Homebrew post-installnot defined
Servicenone declared

registry facts

Source database details

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Nameclitest
Version Scheme0
Revision0
Head VersionHEAD
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

source database matches

Other package-manager records

Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.

Debian apt95%

clitest 0.5.0-1

portable testing tool for Unix command lines

https://github.com/aureliojargas/clitest

sudo apt install clitest
  • Section: misc
  • Architecture: all
  • normalized package name match
  • Matched by: Clitest
Debian stable package indexes · deb.debian.org · Debian stable package indexes: clitest from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Ubuntu apt95%

clitest 0.4.0-1

portable testing tool for Unix command lines

https://github.com/aureliojargas/clitest

sudo apt install clitest
  • Section: universe/misc
  • Architecture: all
  • normalized package name match
  • Matched by: Clitest
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: clitest from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
dnf95%

clitest 0.5.0-9.fc44

Command Line Tester

https://github.com/aureliojargas/clitest

sudo dnf install clitest
  • License: MIT
  • Category: Unspecified
  • Architecture: noarch
  • Source Package: clitest
  • 4 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Clitest
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: clitest from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
pacman95%

clitest 0.5.0-2

Perform automatic testing in Unix command lines

https://github.com/aureliojargas/clitest

sudo pacman -S clitest
  • License: MIT
  • Architecture: any
  • 1 dependencies
  • normalized package name match
  • Matched by: Clitest
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: clitest from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment