Skip to content

Add a repository ​

Your machine installs charts from its own folders and from the repositories you add. You add one by name and address, fetch its index when you want, and remove it when you no longer trust it. A repository you have not added is never contacted.

Before you begin 3 minutes

  • The alta command: install the CLI.
  • The address of the repository's index.json, from its maintainers. It must be https://, with no user name or password in it.
  1. Add it

    The name is yours: lower-case letters, digits and dashes. --key is the repository's public key, a file its maintainers publish (here saved as community.pub): every index is checked against it. Adding writes one line to the list of this machine's repositories and downloads nothing.

    Terminal
    sh
    alta repo add community https://charts.example.org/index.json --key community.pub
    Output
    text
    added community (https://charts.example.org/index.json); nothing was downloaded
    next: alta repo update community
  2. See what this machine uses

    Terminal
    sh
    alta repo list
    Output
    text
    community        - charts  https://charts.example.org/index.json  never updated (alta repo update)
  3. Fetch the indexes

    alta repo update fetches the index of every repository, or of the one you name. It sends nothing about you or your machine: one request per index, with only alta-cli/<version> as its user agent, and it asks for the index again only if it changed.

    Terminal
    sh
    alta repo update
    Output
    text
    community: 3 charts (signature verified with the key of community)
    Terminal
    sh
    alta repo list
    Output
    text
    community        3 charts  https://charts.example.org/index.json  updated 2026-12-05 09:00
  4. Remove it

    Removing forgets the address and moves the cached index to the archive: nothing is deleted, and the charts you already pulled from it stay where they are.

    Terminal
    sh
    alta repo remove community
    Output
    text
    removed community; its cached index was moved to ~/.local/share/archive/2026-12-05/repo-community.<time> Charts already pulled from it stay where they are.

A repository without a signature ​

alta repo update refuses an index that has no signature next to it, and a signed index from a repository added without --key: nothing could check that signature. For a repository you run yourself and trust, add it with --insecure-unsigned: its index is accepted, and every use prints a warning. Never use it for an address someone sent you.

Where things are kept ​

WhatWhere
The repositories you added~/.config/alta/repos.json, readable by you only
Their indexes, as last fetched~/.cache/alta/repos/<name>/
The charts you pulled~/.local/share/alta/charts/<name>/<chart>/

What's next

Alta OS is open source (MIT).