Bonsai CLI

Use the Bonsai CLI to:

  • test and integrate local simulators.
  • manage and configure simulator packages.
  • manage and train brains.
  • assess trained brains.

Before you start

The Bonsai CLI is published as a PyPi package and supports the following versions of Python:

  • Python 3 version 3.6 and later

You can run the following from a command prompt to confirm your Python version:

python ––version


Install from PyPi

Install the CLI with pip:

pip install bonsai-cli

If you already have the CLI installed, you can update it with the --upgrade flag:

pip install bonsai-cli --upgrade

Install from GitHub

Clone the CLI from GitHub:

git clone

And build the tool locally with pip:

cd bonsai-cli
pip install .