Skip to content

alta install ​

Installs a chart through the machine's server: prints the plan; with --yes, runs each change in order and shows its proofs.

Usage ​

text
alta install <chart> [--values <file>] [--bind <need=provider,…>] [--local-only] [--yes] [--server <url>] [--timeout <s>]

Arguments ​

NameDescription
chartrequiredThe id of a chart of the machine's repos (alta repo search).

Options ​

NameTypeDefaultDescription
--valuesstringA JSON file with the values the owner chooses.
--bindstringThe provider of each need, need=provider, comma separated (such as mind=local,channel=world): the player's "change". Absent: the player's own choice.
--local-onlyflag100% local: only providers that keep everything on the machine.
--yesflagThe owner's yes: run the changes planned. Without it, nothing changes.
--replace-editedflagGo on when files of its agents were edited since they were installed: they go to the archive, then this version's files are written.
--serverstringDefault: http://127.0.0.1:8790The machine's server. Its token comes from the WORLD_TOKEN environment variable, never from an argument.
--timeoutnumberDefault: 600Seconds to wait for each change.

Exit codes ​

NameDescription
0ok
1problems found
2bad usage
3not in this version

Examples ​

The plan, nothing changed

Terminal
sh
alta install morning-brief --values values.json

Talks to the machine's server (WORLD_TOKEN set): it prints the plan, then each change and the proofs.

Install it

Terminal
sh
alta install morning-brief --values values.json --yes

Talks to the machine's server (WORLD_TOKEN set): it prints the plan, then each change and the proofs.

See also ​

Alta OS is open source (MIT).