prerelease Prerelease stable Latest
Kumoss
prerelease Prerelease stable Latest

CLI quickstart

Install the kumoss CLI and go from an empty machine to a running Kumoss stack in one wizard, then open the web application.

The kumoss CLI is for local development only. It starts the bundled single-machine Compose stack and is not intended for production use. For a deployment, see Deploy to production and Deploy with Helm.

The kumoss CLI writes the files the manual setup asks you to write by hand - the four .env files, config.yaml, and the Compose override - from a short wizard, then starts the stack. This page goes from an empty machine to the running web application. For what the wizard does behind the scenes, see How the CLI works.

The manual path is still supported and stays the reference: Quickstart walks the same steps by hand.

Prerequisites

The CLI needs what the stack needs: a machine with Docker, Docker Compose v2 or newer, and the model credentials your deployment will use. See prerequisites.

kumoss doctor checks the machine for you before anything is installed; run it if a step below fails.

Step by step

1. Install the CLI

curl -fsSL https://raw.githubusercontent.com/InditexTech/kumoss/main/install.sh | bash

The script detects the OS and architecture, downloads the release archive, and verifies its SHA-256 before unpacking. It never uses sudo and never writes outside your home. The binary lands in ~/.local/bin.

With no KUMOSS_VERSION set, it installs the latest release. To pin a specific one - for a script, a shared machine, or a rollback - set the version in the environment; the v is optional. The variable must reach bash, not curl, so it goes on the right of the pipe:

curl -fsSL https://raw.githubusercontent.com/InditexTech/kumoss/main/install.sh | KUMOSS_VERSION=1.2.3 bash

Re-running the script replaces the binary, so the same line is the upgrade and the downgrade; it never touches an existing stack.

The CLI ships in the 1.1.0 release. Earlier tags predate it, so pinning anything below that leaves you without a kumoss binary.

If ~/.local/bin is not on your PATH, add it or copy the binary somewhere that is:

export PATH="$HOME/.local/bin:$PATH"
kumoss version

2. Check the machine

kumoss doctor
Kumoss 1.2.0 (stack main)

ok   docker           /usr/bin/docker (Docker version 27.1.1, build abc)
ok   docker compose   2.29.1
ok   docker daemon    server 27.1.1
ok   home             /home/me/.kumoss does not exist yet; init will create it

No /home/me/.kumoss/kumoss.yaml yet. Run kumoss init.

The version, paths and Docker versions above are illustrative; yours will differ. Every line must read ok. A FAIL names what to fix; doctor only reads, so running it costs nothing.

3. Run the wizard

kumoss init

The wizard asks, in order:

  1. LLM - one provider, or two to use a different vendor for the complex and the cheap model, with each provider’s credentials and its model strings. The form starts from what config.yaml already holds.

  2. Git - the host, the username and the token used for pull requests. The commit author is not asked for: config.yaml already names it, and the wizard leaves that value alone.

  3. Storage - the bundled RustFS. Nothing to answer: its addresses, its buckets and its web console are all set to the values the bundled stack starts with. The other storage models (an external S3-compatible store and an Azure Storage Account) are not offered by the wizard yet.

  4. Cloud - the clouds the IaC engine will target, with credentials. At least one cloud is required. Each cloud is asked for the one method that works inside the Compose stack: AWS static access keys and a region, an Azure service principal, a Google Cloud service-account key, an OCI config file, a kubeconfig. AWS named profiles are not offered yet.

    The Google Cloud credential is asked over two screens, the method and then the one field it needs: the service-account JSON pasted inline, which is written to services/iac/.env as GOOGLE_CREDENTIALS and needs no file, or the path of a key file, which is bind-mounted read-only into the iac container with GOOGLE_APPLICATION_CREDENTIALS pointing at it. A path may use ~ or $HOME and is stored resolved; the wizard refuses one with no file behind it, and one the iac container could not read, since it runs as uid 10001.

  5. Engine - OpenTofu (the default) or Terraform.

  6. Notifications - whether to enable the Slack sidecar, and its webhook.

Then it offers to pull the images and start the stack.

Three things the wizard does not ask about, and what it sets instead:

  • the RustFS console is on, reachable at http://localhost:9001/rustfs/console/ and bound to loopback, with the keys the container itself defaults to;

  • the Langfuse keys stay the development pair the bundled stack provisions. Langfuse creates a project’s keys on its first start only, so a different pair is copied from its UI and set in core/.env by hand;

  • repository mapping is off, so a request names its repository by full https:// URL. Turn the sidecar on in ~/.kumoss/config/config.yaml under services.mapping.enabled, with the prefix in ~/.kumoss/src/services/mapping/.env as MAPPING_PREFIX_IDENTIFIER.

Re-running kumoss init on an existing install offers reconfigure or keep. Keep writes nothing at all, so it is safe to answer when you only wanted to see the options. A reconfigure opens every form on what is installed, credentials included, and reuses the bearer tokens; kumoss config secrets is the only command that regenerates one.

4. Watch it come up

kumoss status
Kumoss 1.2.0 (stack main)

SERVICE        STATE              UPTIME        RESTARTS
core           running/healthy    Up 2 minutes  0
core-db        running/healthy    Up 2 minutes  0
iac            running/healthy    Up 2 minutes  0
...

core  http://localhost:80/api/v1/auth/config  ok
iac   http://localhost:80/iac/healthz         ok

The table is docker compose ps; the lines under it are live probes. The core row proves the API answers, not merely that the container runs. As above, the version and the timings are illustrative.

5. Open the application

Browse to http://localhost:80. With the default config.yaml, authentication is off and every request runs as a local development administrator; to turn it on, see Enable authentication.

The same stack also serves, on the host:

  • http://localhost:9000 - the RustFS S3 API, through the proxy; presigned download links point here. An API, not a page to open: kumoss init does not print it.

  • http://localhost/langfuse - the Langfuse UI for LLM traces and prompts. The proxy redirects it to port 3000, which Langfuse needs because the stock image cannot serve under a path; the address above is the one to remember.

  • http://localhost:9001/rustfs/console/ - the RustFS console. Bound to loopback, and you sign in with the container’s own keys, which core/.env and src/object-storage.env both carry.

kumoss init prints the addresses worth opening once the stack is up.

What just happened

kumoss init created a managed home, ~/.kumoss by default:

~/.kumoss/
├── kumoss.yaml            # your answers, secrets excluded (0600)
├── src/
│   ├── docker-compose.yml # downloaded at the CLI's release tag
│   ├── core/.env          # generated (0600)
│   ├── object-storage.env # generated, the console's own keys (0600)
│   └── services/
│       ├── iac/.env       # generated (0600)
│       ├── mapping/.env   # generated (0600)
│       └── notifications/.env
├── config/
│   ├── config.yaml        # generated, mounted into the core
│   └── config.yaml.example
└── compose.override.yml   # generated

Nothing here is hidden or compiled in: every file is plain text you can read, diff and review. See How the CLI works for what each one holds and why.

Next steps

  • Change one thing without redoing the wizard: kumoss config llm, kumoss config cloud, and the other sections.

  • Start the stack again later: kumoss run.

  • Follow the logs: kumoss logs -f core.

  • Remove everything: kumoss uninstall, which stops the stack and deletes the managed home and its volumes.