Skip to content

Install and update

odoo-work-cli is a single static binary for macOS, Linux and Windows on amd64 and arm64 (no Windows arm64).

Homebrew (macOS, Linux)

brew tap seletz/tap
brew install odoo-work-cli

Homebrew also installs the shell completions and the man pages: man odoo-work-cli lists every command, man odoo-work-cli-entries-add describes one.

Update

Refresh the tap first, then upgrade. brew upgrade alone does not see a new release until brew update has run:

brew update && brew upgrade odoo-work-cli
odoo-work-cli --version

If that still shows the old version, tap again:

brew untap seletz/tap
brew tap seletz/tap
brew install odoo-work-cli

Release binaries

Download the archive for your platform from the releases page, unpack it and put odoo-work-cli on your PATH. To update, replace the binary.

The archive also holds the man pages in man/man1/. Copy them to a directory on your MANPATH, for example:

sudo cp man/man1/*.1 /usr/local/share/man/man1/

From source

With Go installed:

go install github.com/seletz/odoo-work-cli/cmd/odoo-work-cli@latest

Shell completions

For installs without Homebrew, add one of these:

# zsh (in .zshrc)
eval "$(odoo-work-cli completion zsh)"

# bash
odoo-work-cli completion bash > /usr/local/etc/bash_completion.d/odoo-work-cli

# fish
odoo-work-cli completion fish | source

Next

Set up the connection: Your first booking.