Skip to content
Frank Stüber edited this page Jun 17, 2026 · 3 revisions

What is OpenCodeList CLI?

The OpenCodeList Command Line Interface (in short: OpenCodeList Enbrea CLI) is a cross-platform command-line application for importing and exporting OpenCodeList data between the native OpenCodeList format and various supported external formats.

OpenCodeList CLI is intended for administrative tasks and provides the following capabilities:

  • Importing data from supported file formats into code list documents (in OpenCodeList).
  • Exporting code list documents (in OpenCodeList) to supported external formats.
  • Integration into automated workflows, scripts, and build pipelines.
  • Batch processing of code list conversions from the command line.

OpenCodeList CLI on Windows

Installation

OpenCodeList CLI can be installed on any Windows computer:

  1. Open the GitHub Releases page for OpenCodeList CLI in your web browser.

  2. Download the installation package for the latest version. In most cases, this will be the Windows 64-bit MSI package.

  3. Run the MSI package and follow the installation instructions.

A Quick Test

OpenCodeList CLI is operated from the command line. You can use either the classic Windows Command Prompt or PowerShell.

To verify that the installation was successful:

  1. Type Command Prompt into the Windows taskbar search box and open the Command Prompt application.

    Open Windows Command Prompt

  2. Enter the following command and press Enter:

    ocl -?
    

A help screen should appear, providing a brief overview of the commands supported by OpenCodeList CLI.

Output of the OpenCodeList CLI help command in the Windows Command Prompt

OpenCodeList CLI Commands

OpenCodeList CLI provides the following commands:

  • export

    Exports data from an OpenCodeList file to a supported destination format (CSV or Excel).

  • import

    Imports code list data from a supported source (CSV) format into an OpenCodeList file.

Clone this wiki locally