selfhost.directory

The index of self-hostable projects — ranked, categorized and served with live updates.
Own your data and stop giving it to big tech.

Twenty logo

Self-host Twenty

twenty/v2.56.1

Open-source CRM for technical teams to build custom CRMs

ReleaseOpen CoreAGPL-3.0
Updated2 days ago
LanguageTypescript
Setup difficultyModerate
ThemeDark mode
Stars
60 614
RAM
2GB
Port
3000 (HTTP web server)
Docker
twentycrm/twenty
Install with Docker Compose
Custom data model builder interfaceTable, Kanban, and Calendar view layoutsNo-code workflow automation builderEmail and calendar integration with Google Workspace and Microsoft 365AI agents and chat interfaceCustom dashboard with real-time widgetsDeveloper API with GraphQL and REST endpointsSelf-hosted deployment with Docker Compose

What is Twenty?

Twenty is an open-source CRM platform designed for technical teams who want to build and customize their own CRM solution. It provides a production-ready foundation with custom objects, fields, views (table, kanban, calendar), no-code workflows, AI agents that operate within your permission model, and a developer-first API (GraphQL and REST). The platform supports email and calendar synchronization with Google Workspace and Microsoft 365, role-based access control at object, field, and record levels, and SSO via SAML or OIDC. Twenty can be self-hosted using Docker Compose with PostgreSQL and Redis, giving full control over data and infrastructure. The codebase is primarily AGPL-3.0 licensed with some MIT-licensed packages and commercial enterprise modules. Cloud hosting is also available with tiered pricing starting at $9/user/month.

Twenty alternatives

All self-hosted alternatives to Salesforce →

Should you self-host Twenty?

Twenty scores 83/100 on selfhost.directory (how scoring works) and ranks #1 of 21 in CRM. It has 60 614 GitHub stars, +2 702 in the last 30 days.

It shipped 20 stable releases in the past year. The latest, sdk/v2.56.1, came out on 5 November 2026. New versions land roughly every 1 days.

Setup is moderate: expect some configuration beyond a single command. An official Docker image is available. It is AGPL-3.0-licensed and written mostly in Typescript.

Its closest alternative on selfhost.directory is ERPNext (84/100, 41 070 stars). It scores higher overall, so compare the two before you pick. See Twenty vs ERPNext side by side.

Features

  • AI Agents
  • Apps framework
  • Audit LogsOrganization plan and above per pricing
  • Custom dashboards
  • Custom data model
  • Data Import/Export
  • Developer API
  • Email & Calendar sync
  • MCP ServerCloud workspaces only per source
  • Multiple view types
  • No-code workflows
  • Role-based Access Control
  • Row-level permissionsOrganization plan and above per pricing
  • Self-hosted deployment
  • Webhooks

Twenty README

How to install Twenty

Install Twenty with Docker Compose

Environment variables
TAG, PG_DATABASE_USER, PG_DATABASE_PASSWORD, PG_DATABASE_HOST, PG_DATABASE_PORT, PG_DATABASE_NAME, REDIS_URL, SERVER_URL, ENCRYPTION_KEY, FALLBACK_ENCRYPTION_KEY, APP_SECRET, STORAGE_TYPE, STORAGE_S3_* variables

Requires Docker and Docker Compose installed

How to configure Twenty

  • ENCRYPTION_KEYPrimary key for encrypting secrets at rest (OAuth tokens, TOTP secrets, etc.)

    values: Base64 string from openssl rand -base64 32

  • FALLBACK_ENCRYPTION_KEYPrevious ENCRYPTION_KEY for rotation

    values: Previous ENCRYPTION_KEY value

  • PG_DATABASE_PASSWORDPostgreSQL password (no special characters)

    values: Strong password without @, /, #, %

  • SERVER_URLhttp://localhost:3000Public URL for the application (used for OAuth callbacks, emails, secure cookies)

    values: http(s)://domain-or-ip[:port]

  • IS_CONFIG_VARIABLES_IN_DB_ENABLEDtrueEnable admin panel configuration (true) or environment-only config (false)

    values: true, false

Twenty releases & version history

@ Every self-hosted release, weekly

One Monday email with the week's stable releases across the directory.

FAQ

Does Twenty work with Claude, ChatGPT, and Cursor?

Yes, every Cloud workspace ships with a native MCP server. Connect your AI assistant via OAuth to read and write CRM data in natural language.

Can developers extend Twenty with code?

Yes, with the Apps framework. Scaffold an extension with npx create-twenty-app and ship custom objects, server-side logic functions, React components, AI skills and agents, views, and navigation in TypeScript.

Do I need a developer to customize Twenty?

No, build custom objects, fields, views, and no-code workflows straight from Settings. Unlimited, no extra charge.

Can I migrate from Salesforce or HubSpot?

Yes, import data via CSV or use the API for 50,000+ records. Partners can handle full migrations.

How long does it take to get started?

Sign up for Cloud in under a minute and start a 30-day trial. For larger rollouts, 4-hour Onboarding Packs or certified partners get you live in 1–2 weeks.

Is Twenty really open-source?

Yes, Twenty is the #1 Open Source CRM on GitHub. You can self-host to fully own your infrastructure, or run it on their managed cloud for a zero-ops setup.

More in CRM

Rate this project

Click to rate — no account needed.

0 comments

Posting as guest
Loading comments…