Tutorial / Start here

Install the CLI

Install the Solomonar CLI with Homebrew or build it from source with Go, put it on your PATH, and check the binary, its version, and its JSON output.

On this page

Install a release with Homebrew, or build the binary from source.

Install with Homebrew

On macOS and Linux:

brew install --cask madalinpopa/tap/solomonar

The cask puts solomonar on your PATH, so you can go straight to checking the binary. On macOS it removes the quarantine attribute, because the binaries are not notarized. Upgrade to a new release with:

brew upgrade --cask solomonar

Build from source

Clone the repository and build:

git clone https://github.com/madalinpopa/solomonar.git
cd solomonar
go build -trimpath -o bin/solomonar .

The binary is bin/solomonar. It embeds the framework files it will install into your projects, so it needs nothing else at runtime besides Git.

Put it on your PATH

The rest of the docs call solomonar by name. Copy the binary to a directory on your PATH, for example:

install -m 0755 bin/solomonar ~/.local/bin/solomonar

You can also skip this step and call ./bin/solomonar from the checkout, or use its full path.

Check the binary

solomonar version
solomonar 0.3.9
project   not initialized

A build from a Git checkout between releases shows the last release version; one without Git information, such as go run, shows 0.0.0. Outside an initialized project, the project line reads not initialized.

List the commands this build supports:

solomonar help
solomonar help init

Every command also accepts -h and --help.

Try the JSON output

Agents and scripts read the CLI through --json. Each command prints exactly one JSON object on stdout:

solomonar version --json

The object has ok, command, data, and warnings fields. The output contract describes it.

Remove the CLI

Removing the binary does not touch your projects. To stop using Solomonar in a project, first run solomonar uninstall in each checkout to clean up, then commit the result there. It keeps the registry, your decisions, and your project extensions.

Then, only if you no longer need the CLI, remove the executable. A Homebrew install is removed with:

brew uninstall --cask solomonar

A binary you copied by hand is deleted by hand, for example rm ~/.local/bin/solomonar. Neither step changes any repository or your runtime applications' configuration.

Next

Your binary works. Now set up a project with solomonar init.