Skip to content

CLI reference

Generated from the civex command tree, so it always matches the installed version. Run any command with --help for the same information in your terminal.

Command groups

Group Commands Description
civex ai 5 Configure the AI assistant
civex auth 1 This computer's sign-in to the project's authority.
civex automation 10 Manage automated workflow processing
civex bundle 3 Move a project's data to another project as one file: schemas, collections, records (their ids kept), the files they cite, and the project's workflows and plugins.
civex collection 8 Manage collections (named containers for studies or investigations)
civex dashboard 3 The Analytics page: the cards everyone in the project sees
civex db 10 Database management commands.
civex files 8 Reach stored files by name and folder, the way the records are arranged
civex history 7 See what changed, and when, and undo a change to a record. Entry ids are the short ones listed here.
civex logs 4 See civex's logs: this project's server, the desktop app, its launcher and updates.
civex plugin 3 Inspect available workflow plugins
civex policy 2 View this project's data/governance policy documents.
civex record 16 Manage records
civex release 12 Freeze the data as a named, citable release (its records with a content hash and a citation; the files stay where they are and the release keeps them), check it, cite it, get its files out, see what changed since, and withdraw or yank it.
civex retention 3 Clean up by age: deleted items, change history and workflow runs. Nothing is removed unless you run it.
civex schema 19 Manage schemas (data structure definitions)
civex store 14 Manage file storage volumes
civex sync 20 Keep this project in step with an authority: another civex that holds the project's shared copy.
civex trash 2 Browse and manage soft-deleted schemas, collections and records (Recently Deleted)
civex view 2 Saved filters: show, export
civex workflow 5 Manage and run data processing workflows

Top-level commands

Command Description
civex clone Make a new project that is a copy of an authority's, and keep it in step. Without an invite, this computer signs in as a device: it shows a code (and the page to enter it at, when the server has one), waits for approval, then copies.
civex demo Create a demo project pre-populated with example schemas and records.
civex desktop Open civex in a window of its own, with a project picker.
civex doctor Check this civex install and, inside a project, its data.
civex init Initialize a new civex project in the given directory.
civex license Print civex's software license.
civex resolve Identify a resource (schema, dataset, or record) by UUID or prefix.
civex serve Start the civex HTTP API server.
civex shell Start an interactive civex shell (no 'civex' prefix needed).
civex shortcut Put a Desktop shortcut that starts civex for this project and opens it.
civex update Update civex to the latest release.