Installing the MD.ai Command-line Interface (CLI)
The MD.ai CLI is a convenience tool for accessing a small subset of the MD.ai API, such as loading data into project datasets.
Download and install the latest version : v0.14.3
Download appropriate zip file containing the binary package for your platform. Note that only 64-bit platforms are supported.
After downloading, unzip the package. To run the
mdai binary from any directory, make sure that the binary is available on the
PATH. See this page for instructions on setting the
PATH on Linux and Mac. This page contains instructions for setting the
PATH on Windows.
Verifying the Installation
After installing, verify the installation by starting a new terminal session and running
mdai. By executing
mdai you should see help output similar to this:
$ mdai Usage: mdai [options] [command] MDAI CLI is a command line interface to the MD.ai API. See below for commands. Options: -h, --help output usage information Commands: version Get package version config View or set configuration variables project Project operations dataset Dataset operations help [cmd] display help for [cmd]
If you get an error that
mdai could not be found, your
PATH environment variable was not set up properly. Please go back and ensure that your
PATH variable contains the directory where
mdai was installed.