OMERO

Downloads
Feature List
Licensing

Previous topic

Command Line Interface as an OMERO client

Next topic

Overview

This Page

Note

This documentation is for OMERO 5.2. This version is now in maintenance mode and will only be updated in the event of critical bugs or security concerns. OMERO 5.3 is expected in the first quarter of 2017.

InstallationΒΆ

Check you have Python installed by typing:

$ python --version
Python 2.7.9

Additionally, Ice must be installed on your machine:

$ python -c "import Ice"

Check the server requirements for the minimum and maximum supported versions.

The CLI is currently bundled:

  • with the OMERO.server including all functionalities of the CLI
  • with the OMERO.python including all functionalities of the CLI except for the import functionality

Download the version corresponding to your system from the OMERO downloads page.

Note

The CLI is bundled with the OMERO.server but that does not imply you must use that directory as a server. You can download the server zip to a number of machines and use the CLI commands from each machine to access an existing OMERO instance.

Once the correct bundle is downloaded, the Python libraries of the CLI are located under the lib/python directory and the executable is under the bin directory. To start the CLI in shell mode:

$ bin/omero
OMERO Python Shell. Version 5.2.8-ice35
Type "help" for more information, "quit" or Ctrl-D to exit
omero>