Twenty

twentyhq/twenty

Modern open-source CRM

EnterpriseSelf-hosted appsWebDocker / self-hostOther / custom

At a glance

stars on GitHub
61k
contributors
800+
last commit
latest release, yesterday
twenty/v2.62.0
license
Custom (read before use)

About

Twenty is a CRM for tracking companies, people and deals, with custom objects, fields and views, workflows, dashboards and AI agents. It can sync Google and Microsoft email and calendars, and it offers REST and GraphQL APIs plus a CLI and SDK to build apps on top. You can use the hosted cloud or self-host it with Docker.

From the repository: “The open alternative to Salesforce, designed for AI.”

What is Twenty used for?

Twenty is a customer relationship management (CRM) system: it keeps track of companies, people, deals and the emails and meetings around them. Sales and customer teams use it to manage a pipeline, and developers use it as a base for a CRM that fits their own process, with custom objects and fields, workflows and AI agents. It connects to Gmail, Google Calendar and Microsoft email and calendars, and all data is reachable through REST and GraphQL APIs. Teams can also define their data model as code with the twenty CLI, so CRM changes can be reviewed and versioned like other code.

How does Twenty compare with SuiteCRM, Odoo and ERPNext?

SuiteCRM, in our catalog, is a PHP CRM that has been developed since 2013, under the AGPL-3.0 license. Krayin, also in our catalog, is a smaller CRM built on Laravel under the MIT license. Odoo and ERPNext, both in our catalog, are full business suites: CRM plus accounting, inventory, sales and manufacturing. Pick one of them if you want one system for the whole company and can spend more time on setup. Twenty is newer, with a modern interface and a developer platform (SDK, CLI and APIs), but it is a CRM only and keeps some advanced features in commercially licensed code.

What do I need to self-host Twenty?

The official way is Docker Compose. The docs ask for at least 2 GB of RAM and an up-to-date Docker and Docker Compose. The compose file starts four containers: the Twenty server, a background worker, PostgreSQL 16 and Redis. A one-line script sets everything up, or you download the .env and docker-compose.yml files yourself, set an ENCRYPTION_KEY and a database password, and run docker compose up -d. Keep the encryption key safe: losing it means losing every secret stored in the database. Email and calendar sync on your own server needs your own Google Cloud or Microsoft app. Back up the database before each upgrade.

Is Twenty free for commercial use?

Mostly, yes. Self-hosting the open-source core is free, and most of the code is under the AGPL-3.0 license: you may use it at work, but if you change Twenty and let people use it over a network, you must publish your changes. An extra permission says that apps you build on Twenty's APIs and SDK are not covered by the AGPL. Some files are marked Enterprise and are under a commercial license that needs a paid subscription in production; they include single sign-on (SSO) and row-level permissions. The hosted cloud has paid plans per user.

What are Twenty's limits?

Twenty is a CRM, not an ERP: it has no accounting, invoicing or inventory, so you connect other tools through its API or workflows. Open issues with many votes show some rough edges: users with view-only permissions cannot use workflows, the one-line installer failed on some fresh installs, the rich-text field is hard to use on mobile, and with local storage, deleted attachments stay on disk. Releases come often, and some upgrades have hard requirements, for example PostgreSQL 15 or newer from version 2.34. SSO and row-level permissions need a paid license.

Why it's in the catalog

A strong choice for a technical team that wants a modern CRM it can shape in code and host itself. It is a CRM only: if you also need invoicing, stock or accounting, Odoo or ERPNext cover more. Single sign-on and row-level permissions are in commercially licensed files, so read the license before you plan a free self-hosted setup for a large company.

Get it

bash <(curl -sL https://raw.githubusercontent.com/twentyhq/twenty/main/packages/twenty-docker/scripts/install.sh)
curl -o .env https://raw.githubusercontent.com/twentyhq/twenty/refs/heads/main/packages/twenty-docker/.env.example
curl -o docker-compose.yml https://raw.githubusercontent.com/twentyhq/twenty/refs/heads/main/packages/twenty-docker/docker-compose.yml
# set ENCRYPTION_KEY and PG_DATABASE_PASSWORD in .env, then:
docker compose up -d

Latest release: twenty/v2.62.0,

Source code only: this release has no files to download.

Twenty and its alternatives: GitHub stars, last commit, license and worth score
ProjectStarsLast commitLicenseWorth
TwentyThis project
61k (best)Custom (read before use)87 (best)
DolibarrERP and CRM for small businesses
7.9kGPL-3.079
IDURAROpen-source ERP and CRM
9kAGPL-3.061
AureusERPOpen-source ERP on Laravel
12kMIT75
chartbrewCreate and share live dashboards from APIs and databases
4.1kCustom (read before use)68

▲ marks the most stars and the best worth score.

twenty.com
Preview of Twenty
Preview of Twenty at twenty.com

Featured in

Topics