Localazy CLI is not working on macOS Big Sur

After upgrading to macOS Big Sur, there’s a chance you may run into an issue with executing Localazy CLI. This is usually caused by incorrect configuration of brew package manager. (Note that this doesn’t apply to binaries downloaded directly from our website, they should be working fine.)

The symptoms look like this, the process is killed without any further output.

To resolve the issue, go to App Store -> Updates and make sure, there’s no update available for Xcode. If yes, click “UPDATE” and wait for it to finish.

After the update, try to run brew doctor and read the output carefully. There could be a warning about outdated CLT and suggested fix.

Let’s run the commands in the specified order and confirm all dialogues that might appear.

  • softwareupdate --all --install --force,
  • sudo rm -rf /Library/Developer/CommandLineTools
  • sudo xcode-select --install

Upgrade Localazy CLI to the latest version by running brew upgrade localazy/tools

And that’s all! You can now verify that Localazy CLI is working again with the localazy -h command.

Category

CLI