This readme is a loose assortment of quick tips.
Installing CLI directly from the latest GitHub release
The default destination is /usr/local/bin but here we install into /tmp/www
$ scripts/install_from_binaries.sh --dstdir /tmp/wwwInstalling aisloader => /tmp/www/aisloader% Total % Received % Xferd Average Speed Time Time Time CurrentDload Upload Total Spent Left Speed0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 00 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0100 9847k 100 9847k 0 0 3553k 0 0:00:02 0:00:02 --:--:-- 4301kaisloaderInstalling CLI => /tmp/www/ais% Total % Received % Xferd Average Speed Time Time Time CurrentDload Upload Total Spent Left Speed0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 00 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0100 9.9M 100 9.9M 0 0 4436k 0 0:00:02 0:00:02 --:--:-- 5901kaisDownloading CLI autocompletions (bash & zsh)...% Total % Received % Xferd Average Speed Time Time Time CurrentDload Upload Total Spent Left Speed100 2350 100 2350 0 0 7000 0 --:--:-- --:--:-- --:--:-- 6994% Total % Received % Xferd Average Speed Time Time Time CurrentDload Upload Total Spent Left Speed100 578 100 578 0 0 1673 0 --:--:-- --:--:-- --:--:-- 1675NOTE:*** CLI autocompletions are now copied to /etc/bash_completion.d/ais ****** To enable, simply run: source /etc/bash_completion.d/ais ***Done.$ ls /tmp/wwwais aisloader
To see the version:
$ ais versionversion 1.1.950525a50 (build 2023-03-30T18:51:58-0400)
Getting help
Note that ais help <command> is identical to ais <command> --help. In fact, the --help option is absolutely universal and will work across the entire CLI terms of providing context-relevant information.
But first, let’s see all CLI top-level commands with brief descriptions.
The text below can serve as a 30-seconds brief introduction into CLI usage and its capabilities.
NAME:ais - AIS CLI: command-line management utility for AIStoreUSAGE:ais [global options] [arguments...] command [command options]VERSION:1.18.605c658ffTAB completions (Bash and Zsh):If <TAB-TAB> completion doesn't work:* download https://github.com/NVIDIA/aistore/tree/main/cmd/cli/autocomplete* run 'cmd/cli/autocomplete/install.sh'To install CLI directly from GitHub: https://github.com/NVIDIA/aistore/blob/main/scripts/install_from_binaries.shCOMMANDS:bucket Create and destroy buckets, list bucket's content, show existing buckets and their propertiesobject PUT, GET, list, rename, remove, and other operations on objectscluster Monitor and manage AIS cluster: add/remove nodes, change primary gateway, etc.config Configure AIS cluster and individual nodes (in the cluster); configure CLI (tool)etl Manage and execute custom ETL (Extract, Transform, Load) jobsjob Monitor, query, start/stop and manage jobs and eXtended actions (xactions)auth Add/remove/show users, manage user roles, manage access to AIS clustersshow Show configuration, buckets, jobs, etc. - all managed entities in the cluster, and the cluster itselfhelp Show a list of commands; show help for a given commandadvanced Special commands intended for development and advanced usagestorage Monitor and manage clustered storagearchive Archive multiple objects from a given bucket; archive local files and directories; list archived contentlog View ais node's log in real time; download the current log; download all logs (history)tls Load or reload (an updated) TLS certificate; display information about currently deployed certificatesperformance Show performance counters, throughput, latency, disks, used/available capacities (press <TAB-TAB> to select specific view)remote-cluster Show attached AIS clustersml Machine learning operations: batch dataset operations, and ML-specific workflowsalias Manage top-level aliasesGLOBAL OPTIONS:--help, -h Show help--version, -v print the versionALIASES:cp => 'bucket cp'; create => 'bucket create'; evict => 'bucket evict';ls => 'bucket ls'; rmb => 'bucket rm'; start => 'job start';blob-download => 'job start blob-download'; download => 'job start download';dsort => 'job start dsort'; stop => 'job stop'; wait => 'job wait';get => 'object get'; prefetch => 'object prefetch'; put => 'object put';rmo => 'object rm'; space-cleanup => 'storage cleanup'; scrub => 'storage validate'