Installing oTree

Important note

If you publish research done with oTree, you are required to cite this paper. (Citation: Chen, D.L., Schonger, M., Wickens, C., 2016. oTree - An open-source platform for laboratory, online and field experiments. Journal of Behavioral and Experimental Finance, vol 9: 88-97)

Alternative: locally installed oTree

Although we recommend the oTree.org platform for all new users, a locally installed oTree is useful for some use cases such as replicating old experiments.

Enter this command at the prompt:

pip3 install otree --upgrade

Use otree startproject <name> to create a new project. Use otree startapp <name> to create a new app. Use otree devserver to start the development server.

Upgrading oTree

To upgrade oTree, use the same command:

pip3 install otree --upgrade