> ## Documentation Index
> Fetch the complete documentation index at: https://private-7c7dfe99-fix-nav-issues.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Fix the developer verification error in macOS

> Learn how to resolve the MacOS developer verification error when running ClickHouse commands, using either System Settings or the terminal.

export const Image = ({img, alt, size}) => {
  return <Frame>
      <img src={img} alt={alt} />
    </Frame>;
};

{frontMatter.description}

***

<h2 id="fix-the-developer-verification-error-in-macos">
  Fix the Developer Verification Error in MacOS
</h2>

If you install ClickHouse using `brew`, you may encounter an error from MacOS.
By default, MacOS will not run applications or tools created by a developer who cannot be verified.

When attempting to run any `clickhouse` command, you may see this error:

<Image img="https://mintcdn.com/private-7c7dfe99-fix-nav-issues/ldyQZWT-cIRJh7wo/images/knowledgebase/fix-the-developer-verification-error-in-macos/dev-verification-error.png?fit=max&auto=format&n=ldyQZWT-cIRJh7wo&q=85&s=966b59567470d5f5b08d4d1693c4e78b" size="md" alt="MacOS developer verification error dialog" border width="372" height="404" data-path="images/knowledgebase/fix-the-developer-verification-error-in-macos/dev-verification-error.png" />

To get around this verification error, you need to remove the app from MacOS' quarantine bin either by finding the appropriate setting in your System Settings window, using the terminal, or by re-installing ClickHouse.

<h2 id="system-settings-process">
  System settings process
</h2>

The easiest way to remove the `clickhouse` executable from the quarantine bin is to:

1. Open **System settings**.

2. Navigate to **Privacy & Security**:

   <Image img="https://mintcdn.com/private-7c7dfe99-fix-nav-issues/ldyQZWT-cIRJh7wo/images/knowledgebase/fix-the-developer-verification-error-in-macos/privacy-and-security-default-view.png?fit=max&auto=format&n=ldyQZWT-cIRJh7wo&q=85&s=cedd5521005c8e4d1fd45c2d9be97999" size="md" alt="MacOS Privacy & Security settings default view" border width="827" height="737" data-path="images/knowledgebase/fix-the-developer-verification-error-in-macos/privacy-and-security-default-view.png" />

3. Scroll to the bottom of the window to find a message saying \_"clickhouse-macos-aarch64" was blocked from use because it is not from an identified developer".

4. Click **Allow Anyway**.

   <Image img="https://mintcdn.com/private-7c7dfe99-fix-nav-issues/ldyQZWT-cIRJh7wo/images/knowledgebase/fix-the-developer-verification-error-in-macos/privacy-and-security-screen-allow-anyway.png?fit=max&auto=format&n=ldyQZWT-cIRJh7wo&q=85&s=16bce3178cddf89d9a763f32f560abdf" size="md" alt="MacOS Privacy & Security settings showing Allow Anyway button" border width="827" height="737" data-path="images/knowledgebase/fix-the-developer-verification-error-in-macos/privacy-and-security-screen-allow-anyway.png" />

5. Enter your MacOS user password.

You should now be able to run `clickhouse` commands in your terminal.

<h2 id="terminal-process">
  Terminal process
</h2>

Sometimes pressing the `Allow Anyway` button doesn't doesn't fix this issue, in which case you can also perform this process using the command-line.
Or you might just prefer using the command line!

First find out where Homebrew installed the `clickhouse` executable:

```shell theme={null}
which clickhouse
```

This should output something like:

```shell theme={null}
/opt/homebrew/bin/clickhouse
```

Remove `clickhouse` from the quarantine bin by running `xattr -d com.apple.quarantine` following by the path from the previous command:

```shell theme={null}
xattr -d com.apple.quarantine /opt/homebrew/bin/clickhouse
```

You should now be able to run the `clickhouse` executable:

```shell theme={null}
clickhouse
```

This should output something like:

```shell theme={null}
Use one of the following commands:
clickhouse local [args]
clickhouse client [args]
clickhouse benchmark [args]
...
```

## Fix the Issue by Reinstalling ClickHouse

Brew has a command-line option which avoids quarantining installed binaries in the first place.

First, uninstall ClickHouse:

```shell theme={null}
brew uninstall clickhouse
```

Now reinstall ClickHouse with `--no-quarantine`:

```shell theme={null}
brew install --no-quarantine clickhouse
```
