# LICENSE-ADD

Adds a new license through MemSQL Ops. A license can either be given as a license key or license file.

MemSQL Ops automatically finds the best license key and attempts to apply it to each SingleStore node in the cluster.

## Usage

```
usage: memsql-ops license-add [--settings-file SETTINGS_FILE] [--async]
                              (--license-key LICENSE_KEY | --license-file LICENSE_FILE)

Add a license for SingleStore. This license will be deployed to
all SingleStore nodes.

optional arguments:
  --settings-file SETTINGS_FILE
                        A path to a MemSQL Ops settings.conf file. If not set,
                        we will use the file in the same directory as the
                        MemSQL Ops binary.
  --async               If this option is true, we will exit without waiting
                        for the license to be fully added.
  --license-key LICENSE_KEY
                        The license key to add.
  --license-file LICENSE_FILE
                        A license file to add.

```

***

Modified at: April 25, 2023

Source: [/db/v7.3/reference/memsql-ops-cli-reference/license-management/license-add/](https://docs.singlestore.com/db/v7.3/reference/memsql-ops-cli-reference/license-management/license-add/)

(An index of the documentation is available at /llms.txt)
