Skip to content

Runtime environments

Codoo supports a project-local Python virtual environment and Docker Compose. The selection is stored in the environment section of codoo.json.

Select and inspect

codoo env show
codoo env use venv
codoo env use docker --no-auto-update

Set up and install

codoo env setup --target venv --addons "*" --yes
codoo env install --addons "sale_tools,crm_tools"

For Docker, replace venv with docker. env setup prepares the runtime and installs requirements found in selected addons.

Lock and update

codoo env lock --addons "*"
codoo env install --addons "*" --frozen
codoo env update --addons "*"

--frozen requires lock files and avoids resolving a different dependency set.

Shared Odoo source

codoo core --version 19 --edition community
codoo core show

Sources live under ~/.codoo/sources/ce/VERSION by default. Set CODOO_HOME to move the Codoo cache. Enterprise downloads require --edition enterprise and a valid subscription code; omit the code interactively to avoid recording it in shell history.