TIMESDevelopers
v1.0.0

Install the CLI

Install the times command on macOS, Linux or Windows.

macOS and Linux

curl -fsSL https://developers.times.et/install.sh | sh

Use that URL. Do not install from the GitHub times-installer.sh asset unless you also run times setup-shell. cargo-dist cannot disable the POSIX times builtin on its own.

zsh and bash ship a builtin named times (it prints shell process times). The installer writes ~/.config/times/shellenv and sources it from your rc files so the TIMES CLI wins. The binary stays times.

If this terminal still prints too many arguments, run:

. ~/.config/times/shellenv
times --help

Or open a new terminal. Later you can run times setup-shell to write the same hook again.

Homebrew

brew install times-et/tap/times

Windows

irm https://developers.times.et/install.ps1 | iex

From source

cargo install --git https://github.com/Vertex-Technologies-PLC/times-cli

Shell completions

times completions zsh > "${fpath[1]}/_times"
times completions bash > /etc/bash_completion.d/times
times completions fish > ~/.config/fish/completions/times.fish

Upgrade

times upgrade

The CLI checks GitHub once a day and warns when a newer version exists. The warning shows your version, the latest version, the changelog, and times upgrade. Set TIMES_NO_UPDATE_CHECK=1 to skip the check.

CI usage

Interactive login does not work in CI. Create a token under Tokens in the console, then:

export TIMES_TOKEN=tdk_xxxxxxxxxxxxxxxx
times aip push --yes