mistralai/cli cli/v0.21.0
mistralai/cli
Captured source
source ↗mistral CLI v0.21.0
Repository: mistralai/cli
Tag: cli/v0.21.0
Published: 2026-11-24T16:18:50Z
Prerelease: no
Release notes:
Breaking
mistral apps initstops when the npm registry URL it installs from
(--registry-url, MISTRAL_APPS_REGISTRY_URL or BUN_CONFIG_REGISTRY) has a query string or a fragment, instead of writing that URL into the app's committed bunfig.toml. Remove them from the URL and give the token through NODE_AUTH_TOKEN or your ~/.npmrc.
Added
mistral skills pull,mistral skills diff,mistral prompts pulland
mistral prompts diff take --json and --plain, like list, get, versions and status. pull prints what it pulled and where, and diff prints one entry per tracked skill or prompt with name, changed and its diff, including those that match the registry.
Changed
mistral apps initand themistral apps capabilitycommands no longer pin
capabilities' Python packages to the pypi index in the app's pyproject.toml, so uv installs them from the index your machine uses, such as a company mirror. Packages from a private index the app declares with explicit = true stay pinned to it. mistral apps capability remove also removes the pypi pins earlier versions wrote.
- When
UV_INDEXorUV_DEFAULT_INDEX(in your shell, or in the app's.env
for mistral apps dev) points the app's private Python index at another address, mistral apps commands no longer give uv your MISTRAL_REGISTRY_TOKEN or NODE_AUTH_TOKEN for that address, and print a warning.
mistral deploy --from-diskdeploys a project whose only module is a worker
as a standalone workflow too, and converts an app whose only module is a worker. It saves deployment.workflow to mistral.json without committing it, and stops before changing anything when a deployment of that name already exists and mistral.json does not record it: deploy under another --name, or once from Git.
Fixed
mistral deployand the othermistral appscommands no longer go missing
from mistral --help and fail with Unknown subcommand "deploy" for "mistral".
mistral apps deployandmistral apps logs --followno longer stop with401: Invalid API Keywhen they run for longer than yourmistral loginsession lasts.mistral logoutthat cannot remove your credentials (for example a locked keychain) now changes nothing, instead of leaving you signed in with a revoked session and no organization selected.- A second
mistral devserving the same personal agent name now refuses to
start and names the run already serving it, instead of shutting that agent down when it stops.
- Closing the terminal
mistral devwrites to now stops the app's modules and local Postgres, as Ctrl-C does. To keep a run going after its terminal closes, run it in tmux, or start it detached with its output in a file:nohup mistral dev > dev.log 2>&1 &, orsetsidinstead ofnohupon Linux. - A session renewal finishing in another terminal no longer undoes
mistral logoutormistral login --force. mistral loginandmistral logoutsay they are waiting for anothermistralcommand while it renews the session, instead of sitting silent.mistral dev,mistral deployandmistral agentscommands in a standalone
agent project update an out-of-date uv.lock instead of failing with The lockfile at uv.lock needs to be updated, but --locked was provided. Commit the updated uv.lock.