Anvil's configuration management system syncs dotfiles and configuration files across machines using GitHub repositories.
Note: Anvil requires private repositories for configuration management.
Configuration files contain sensitive data (API keys, tokens, personal paths, system information, authentication data) that must never be exposed publicly. Anvil blocks all pushes to public repositories and verifies privacy before every push.
Display configuration files and settings. when no [app-name] is provided, all commands execute in the context of Anvil CLI
anvil config show # Show all Anvil settings
anvil config show cursor # Show specific app configs directory
anvil config show --groups # Show only Anvil groups (-g)
anvil config show --configs # Show only Anvil config sources (-c)
anvil config show --sources # Show only Anvil Installation Sources (-s)
anvil config show --git # Show only Anvil git configuration
anvil config show --github # Show only Anvil GitHub configurationPull configuration files from a specific directory in your GitHub repository.
anvil config pull cursor
anvil config pull vscodePush configuration files to your GitHub repository with automated branch creation.
anvil config push
anvil config push cursorMove pulled configuration files from temp directory to local destinations with automatic archiving.
anvil config sync
anvil config sync cursor
anvil config sync --dry-run # Preview changesImport group definitions from local files or URLs. This command allows to share/import existing Anvil groups and automatically updates local Anvil settings.
anvil config import ./team-groups.yaml
anvil config import https://example.com/groups.yamlSee Import Groups for detailed documentation.