mait.sh1.132.1

Private beta: features and content may change. No warranty; use at your own risk.

Operate aidc

See what is installed and active, diagnose the setup, upgrade and tidy up, keep AIDC itself current, and remove what you no longer use.

Beta
Inspect

Find the version in use and where it lives.

CommandUse it toWhat it reports
aidc list [TOOL]See installed releasesEach installed release, with [active] on the one your shell runs. --hub and --vendor list what a source offers instead
aidc current [TOOL]Read the project's choiceThe selection in the nearest .aidc.yaml. It ignores a temporary aidc use
aidc which TOOLFind the executableThe full path of the tool's command
aidc where TOOLFind the install directoryThe directory of the active release
aidc describe TOOLGet one tool's pictureInstalled versions, install path and the commands it provides
aidc latest TOOLCheck what is newestThe newest stable release from the sources
Describe a tool
# example output
$ aidc describe nodejs
Describe nodejs 22.23.3
 
Installed versions
22.23.3
 
Install path
/home/user/.aidc/installs/nodejs/22.23.3
 
Available commands
corepack
node
npm
npx
Diagnose

One report for the shell, the data, the sources and the credentials.

aidc doctor checks shell integration, the data directory, installed tools, project configuration, package sources, credentials, updates and connectivity. --detailed shows every check.

A doctor report without credentials
# example output
$ aidc doctor
[warn] No credentials found. Some features may be unavailable. Run 'aidc login' to authenticate.
running 7 checks
Shell Integration
[ok] AIDC binary in PATH
[warn] No AIDC integration in .bashrc — run 'aidc env --init' for setup instructions
 
Project Configuration
[ok] nodejs 22.23.3 — installed
 
Package Sources
[ok] Hub — https://aidc.mait.sh
[ok] Vendor sources enabled
 
Credentials
[warn] Credentials not found — /home/user/.mait/credentials -- place your credentials there or set the credentials path
 
[warn] 2 warnings

Exit status is 0 when every check passes or only warns, and 1 when an error-level check fails. Read the findings, not only the status. Ignore the aidc env --init wording in the shell-integration hint above; run aidc env setup bash instead, which is the command that writes the integration.

Upgrade, prune

Keep the installed set tidy, with a preview first.

CommandWhat it doesKeep in mind
aidc upgrade [TOOL]Installs a newer release, moves global packages across, activates it and removes the old oneNeeds the cli:upgrade feature, even with --dry-run. --keep keeps the old release
aidc pruneRemoves older releases that neither the nearest .aidc.yaml nor this shell selectsNeeds the cli:prune feature, even with --dry-run. Another project outside the directories it checks may still need a release

Without the feature, both stop with a message that names the missing credential and exit 1; sign in with aidc login.

Update, remove

Update the program, then clean up.

aidc update checks the MAIT update service with your credentials and stages a newer aidc. The next aidc command you run, including aidc version, switches to the downloaded release before it runs, so aidc version then reports the newer release; if aidc cannot switch, see the update entry in Troubleshooting. In a project container the usual path is a newer MAIT image instead (see Getting Started).

aidc uninstall TOOL VERSION removes one release and, if it was the active one, activates the highest remaining; aidc uninstall --all removes every installed tool version. It does not edit any project .aidc.yaml or change your shell's current selections, so they can still name tools that are gone; review them and edit or delete them yourself. AIDC has no command that removes its shell integration: delete the marked block from .profile, .bashrc or the file for your shell by hand. The block starts with # --- AIDC Integration begin ---; see Getting Started. Packages added with aidc install apt stay until you remove them with the system package manager.

Next

Where to go next.