Skip to content

alta pull ​

Downloads a chart from a repository added here, checks its sha256 and its tree digest against the index, lints it and keeps it for alta install.

Usage ​

text
alta pull <id>[@<version>] [--repo <name>] [--json]

Arguments ​

NameDescription
id[@version]requiredThe chart's id, and a version of the index (default: the newest installable one).

Options ​

NameTypeDefaultDescription
--repostringThe repository, when two list the same id.
--jsonflagPrint the result (alta.pull/1) as JSON.

Exit codes ​

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

Examples ​

Download a chart, then install it

Terminal
sh
alta pull reading-log

Reaches the repository's address (the only commands that use the network): it prints what it fetched and checked.

One version of one repository

Terminal
sh
alta pull reading-log@0.2.0 --repo community

Reaches the repository's address (the only commands that use the network): it prints what it fetched and checked.

See also ​

Alta OS is open source (MIT).