> ## Documentation Index
> Fetch the complete documentation index at: https://docs.hiddenlayer.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Deploy AI Supply Chain Security CLI

Before deploying AI Supply Chain Security, make sure you understand:

* [Resource Requirements](https://docs.hiddenlayer.ai/docs/products/supply-chain/cli/resource_requirements.md)
* [Hybrid and Disconnected modes](https://docs.hiddenlayer.ai/docs/products/supply-chain/cli/hybrid_disconnected.md)

> [!TIP]
>
> **Select OS**
>
> Select your operating system to view installation instructions.

> [tab] macOS
>
> > [!TIP]
> >
> > **Select Deployment Type**
> >
> > Select Hybrid or Disconnected mode. See [Hybrid and Disconnected modes](https://docs.hiddenlayer.ai/docs/products/supply-chain/cli/hybrid_disconnected.md) for more information.
>
> > [tab] Hybrid
> >
> > 1. Export your HiddenLayer information (product license, client ID, and client secret). For Hybrid mode, scan results are sent to the HiddenLayer Console.
> >
> >    * Replace `%username%` with your email used for the registry.
> >    * Replace `%password%` with your registry license ID.
> >    * Replace `%CLI_LICENSE%` with the HiddenLayer product license.
> >    * Replace `%HL_API_KEY%` and `%HL_API_SECRET%` with your client ID and client secret. To get them, [create a client credential](https://docs.hiddenlayer.ai/docs/products/console/apikey_aisec_platform.md#create-a-client-credential) in the Console.
> >
> >    ```
> >    export HIDDENLAYER_USERNAME=%username%
> >    export HIDDENLAYER_PASSWORD=%password%
> >    export HL_LICENSE=%CLI_LICENSE%
> >    export HL_CLIENT_ID=%HL_API_KEY%
> >    export HL_CLIENT_SECRET=%HL_API_SECRET%
> >    ```
>
> > [tab] Disconnected
> >
> > 1. Export your HiddenLayer product license. For Disconnected mode, scan results are not sent to the HiddenLayer Console.
> >
> >    * Replace `%username%` with your email used for the registry.
> >    * Replace `%password%` with your registry license ID.
> >    * Replace `%CLI_LICENSE%` with the HiddenLayer product license.
> >
> >    ```
> >    export HIDDENLAYER_USERNAME=%username%
> >    export HIDDENLAYER_PASSWORD=%password%
> >    export HL_LICENSE=%CLI_LICENSE%
> >    ```
>
> 2. Run the following commands to login to the HiddenLayer images repository.
>
>    ```
>    docker login --username=$HIDDENLAYER_USERNAME --password=$HIDDENLAYER_PASSWORD images.hiddenlayer.ai
>    ```
>
> 3. Pull the Supply Chain CLI image.
>
>    ```sh theme={null}
>    docker pull --platform linux/amd64 images.hiddenlayer.ai/proxy/supply-chain-security/ghcr.io/hiddenlayer-engineering/supply-chain-scanner:26.9.0
>    ```

> [tab] Linux
>
> > [!TIP]
> >
> > **Select Deployment Type**
> >
> > Select Hybrid or Disconnected mode. See [Hybrid and Disconnected modes](https://docs.hiddenlayer.ai/docs/products/supply-chain/cli/hybrid_disconnected.md) for more information.
>
> > [tab] Hybrid
> >
> > 1. Export your HiddenLayer information (product license, client ID, and client secret). For Hybrid mode, scan results are sent to the HiddenLayer Console.
> >
> >    * Replace `%username%` with your email used for the registry.
> >    * Replace `%password%` with your registry license ID.
> >    * Replace `%CLI_LICENSE%` with the HiddenLayer product license.
> >    * Replace `%HL_API_KEY%` and `%HL_API_SECRET%` with your client ID and client secret. To get them, [create a client credential](https://docs.hiddenlayer.ai/docs/products/console/apikey_aisec_platform.md#create-a-client-credential) in the Console.
> >
> >    ```
> >    export HIDDENLAYER_USERNAME=%username%
> >    export HIDDENLAYER_PASSWORD=%password%
> >    export HL_LICENSE=%CLI_LICENSE%
> >    export HL_CLIENT_ID=%HL_API_KEY%
> >    export HL_CLIENT_SECRET=%HL_API_SECRET%
> >    ```
>
> > [tab] Disconnected
> >
> > 1. Export your HiddenLayer product license. For Disconnected mode, scan results are not sent to the HiddenLayer Console.
> >
> >    * Replace `%username%` with your email used for the registry.
> >    * Replace `%password%` with your registry license ID.
> >    * Replace `%CLI_LICENSE%` with the HiddenLayer product license.
> >
> >    ```
> >    export HIDDENLAYER_USERNAME=%username%
> >    export HIDDENLAYER_PASSWORD=%password%
> >    export HL_LICENSE=%CLI_LICENSE%
> >    ```
>
> 2. Run the following commands to login to the HiddenLayer images repository.
>
>    ```sh theme={null}
>    docker login --username=$HIDDENLAYER_USERNAME --password=$HIDDENLAYER_PASSWORD images.hiddenlayer.ai
>    ```
>
> 3. Pull the Supply Chain CLI image.
>
>    ```sh theme={null}
>    docker pull --platform linux/amd64 images.hiddenlayer.ai/proxy/supply-chain-security/ghcr.io/hiddenlayer-engineering/supply-chain-scanner:26.9.0
>    ```

> [tab] Windows
>
> > [!TIP]
> >
> > **Select Deployment Type**
> >
> > Select Hybrid or Disconnected mode. See [Hybrid and Disconnected modes](https://docs.hiddenlayer.ai/docs/products/supply-chain/cli/hybrid_disconnected.md) for more information.
>
> > [tab] Hybrid
> >
> > 1. Set your HiddenLayer information (product license, client ID, and client secret). For Hybrid mode, scan results are sent to the HiddenLayer Console.
> >
> >    * Replace `%username%` with your email used for the registry.
> >    * Replace `%password%` with your registry license ID.
> >    * Replace `%CLI_LICENSE%` with the HiddenLayer product license.
> >    * Replace `%HL_API_KEY%` and `%HL_API_SECRET%` with your client ID and client secret. To get them, [create a client credential](https://docs.hiddenlayer.ai/docs/products/console/apikey_aisec_platform.md#create-a-client-credential) in the Console.
> >
> >    ```
> >    set HIDDENLAYER_USERNAME=%username%
> >    set HIDDENLAYER_PASSWORD=%password%
> >    set HL_LICENSE=%CLI_LICENSE%
> >    set HL_CLIENT_ID=%HL_API_KEY%
> >    set HL_CLIENT_SECRET=%HL_API_SECRET%
> >    ```
>
> > [tab] Disconnected
> >
> > 1. Set your HiddenLayer product license. For Hybrid mode, scan results are sent to the HiddenLayer Console.
> >
> >    * Replace `%username%` with your email used for the registry.
> >    * Replace `%password%` with your registry license ID.
> >    * Replace `%CLI_LICENSE%` with the HiddenLayer product license.
> >
> >    ```
> >    set HIDDENLAYER_USERNAME=%username%
> >    set HIDDENLAYER_PASSWORD=%password%
> >    set HL_LICENSE=%CLI_LICENSE%
> >    ```
>
> 2. Run the following commands to login to the HiddenLayer images repository.
>
>    ```sh theme={null}
>    docker login --username=%HIDDENLAYER_USERNAME% --password=%HIDDENLAYER_PASSWORD% images.hiddenlayer.ai
>    ```
>
> 3. Pull the Supply Chain CLI image.
>
>    ```sh theme={null}
>    docker pull --platform linux/amd64 images.hiddenlayer.ai/proxy/supply-chain-security/ghcr.io/hiddenlayer-engineering/supply-chain-scanner:26.9.0
>    ```

> [!NOTE]
>
> **Supply Chain is Ready to Scan Model Files**
>
> The Supply Chain Enterprise CLI is ready. See [Scan Model Files](https://docs.hiddenlayer.ai/docs/products/supply-chain/cli/run_model_scanner_cli.md) for instructions on scanning model files.
