Odoo: How To Install Module From Terminal

November 25th 2021 | #odoo

I've encountered several instances during development where Odoo's front-end interface becomes unusable - preventing you from performing actions such as installating a module. In order to circumvent these situations, you need to be able to do certain tasks directly from the terminal.

To install a module from the terminal, you need to run odoo-bin manually. Refer to the following format:

./odoo-bin -c <config file> -d <database name> -i <comma separated list of module names>

Assuming my config file is at /etc/odoo/odoo.conf, my database name is awesome_database, and the module I want to install is awesome_module, I would need to run odoo-bin as follows:

./odoo-bin -c /etc/odoo/odoo.conf -d awesome_database -i awesome_module

| Odoo: How To Uninstall Module From Terminal >