Installing CQL 5

Installing CQL on Windows

  1. Unzip the installation file, named something like cql5-windows.zip. This will create a directory named \cql5 in the directory from which the zip file was unzipped.
  2. You can put cql.exe anywhere you like that is convenient.
  3. You can now run cql.exe.
  4. One way to run the examples that come with cql is this:
    • From a DOS prompt or PowerShell, cd to the \cql5 directory
    • move or copy the Heijden study database heijden.pgn to \cql5
    • To run an example, try say
      	./cql examples/puremate-2.cql
    • This should create a pgn file named puremate-2-out.pgn .
This completes the installation. You can now run CQL.

Installing CQL on Mac

Unzip the installation file, which should be named something like cql5-mac.zip. The Mac executable is named cql and can be run from a Terminal directly, from anywhere. To run the examples easily, cd to the installation directory, copy say heijden.pgn to that directory, and try
	./cql examples/puremate-2.cql
This should create a pgn file named puremate-2-out.pgn.

However, you can also run cql from any directory you want.