Getting "Unable to determine location of config directory." on signIn

We use have an github action that uses the CLI to get username/passwords/etc in the workflow.

Nothing has changed on our end over the last several months, and lately we've gotten a Unable to determine location of config directory." on a signin cli call, both on macos-latest and ubuntu-latest environments on Github

I know this isn't your environment, but could you provide any information on what Unable to determine location of config directory is missing? Again this was working, but the only thing different would be the updates to Github's environments.



1Password Version: 1.8.0
Extension Version: Not Provided
OS Version: Github
Sync Type: Not Provided


  • ag_yaronag_yaron

    Team Member

    Hey @mattkiazyk ,

    This error sounds like the op command is unable to locate the configuration files of the CLI.

    The last update of the CLI came out in October 2020 and it changed how the CLI behaves with its config directory:

    The tool now follows the XDG standard more closely and stores your configuration files in "${XDG_CONFIG_HOME}/op/" (usually "~/.config/op/").

    Your configuration in "~/.op/" will still work or you can move it to the new location. If you want to use a custom location, use the "--config" option with each command.

    So this might help you guys in configuring the location of its configuration files:

    Use a custom configuration location with the "--config" option.

Leave a Comment

BoldItalicStrikethroughOrdered listUnordered list
Align leftAlign centerAlign rightToggle HTML viewToggle full pageToggle lights
Drop image/file