Configuration
Interactive setup
Section titled “Interactive setup”-
Start the login wizard:
Terminal window redmine auth login -
Provide your Redmine server URL and authentication method (API key or username/password).
-
Optionally set a default project — it is prepopulated in project-scoped commands.
-
The wizard writes a profile to
~/.redmine-cli.yaml. You are ready to go.
Multiple profiles
Section titled “Multiple profiles”You can authenticate against as many Redmine instances as you like. Each redmine auth login creates a named profile.
redmine auth login # second instanceredmine auth login --name work # with an explicit nameredmine auth list # see all profilesredmine auth switch # interactive pickerredmine --profile work issues listredmine auth statusConfig file
Section titled “Config file”Directory~/
- .redmine-cli.yaml active profile + all profile data
Directory.local/bin/
- redmine binary (install script target)
active_profile: workprofiles: work: server: https://redmine.work.com auth_method: apikey api_key: your-api-key default_project: myproject output_format: table personal: server: https://redmine.personal.com auth_method: apikey api_key: another-key output_format: jsonEnvironment variables
Section titled “Environment variables”Every setting can be overridden with a REDMINE_-prefixed variable:
export REDMINE_SERVER=https://redmine.example.comexport REDMINE_API_KEY=your-api-keyexport REDMINE_AUTH_METHOD=apikey
# opt out of the startup update checkexport REDMINE_NO_UPDATE_CHECK=1See Self-Update for details on the update check.
Global flags
Section titled “Global flags”Flags take precedence over config values and environment variables.
| Flag | Description |
|---|---|
-s, --server | Redmine server URL |
-k, --api-key | API key for authentication |
--profile | Use a specific auth profile |
--config | Config file path (default ~/.redmine-cli.yaml) |
--no-color | Disable colored output |
-v, --verbose | Enable debug logging |
Inspect current config
Section titled “Inspect current config”redmine configPrints the active profile, server, auth method, default project, and output format.
Quick Start First real commands: issues, time, search.
Auth commands Full reference for the auth subcommand family.