Overview
Once your app is built and tested locally, you have two paths for distributing it:- Deploy a tarball — upload your app directly to a specific Twenty server for internal or private use.
- Publish to npm — list your app in the Twenty marketplace for any workspace to discover and install.
Building your app
Run the build command to compile your app and generate a distribution-readymanifest.json:
.twenty/output/. Add --tarball to also produce a .tgz package for manual distribution or the deploy command.
Deploying to a server (tarball)
For apps you don’t want publicly available — proprietary tools, enterprise-only integrations, or experimental builds — you can deploy a tarball directly to a Twenty server.Prerequisites
Before deploying, you need a configured remote pointing to the target server. Remotes store the server URL and authentication credentials locally in~/.twenty/config.json.
Add a remote:
Deploying
Build and upload your app to the server in one step:Sharing a deployed app
Tarball apps are not listed in the public marketplace, so other workspaces on the same server won’t discover them by browsing. To share a deployed app:- Go to Settings > Applications > Registrations and open your app
- In the Distribution tab, click Copy share link
- Share this link with users on other workspaces — it takes them directly to the app’s install page
Version management
To release an update:- Bump the
versionfield in yourpackage.json - Run
yarn twenty deploy(oryarn twenty deploy --remote production) - Workspaces that have the app installed will see the upgrade available in their settings
Publishing to npm
Publishing to npm makes your app discoverable in the Twenty marketplace. Any Twenty workspace can browse, install, and upgrade marketplace apps directly from the UI.Requirements
- An npm account
- The
twenty-appkeyword in yourpackage.jsonkeywordsarray (already included when you scaffold withcreate-twenty-app)
Marketplace metadata
ThedefineApplication() config supports optional fields that control how your app appears in the marketplace. Use logoUrl and screenshots to reference images from the public/ folder:
src/application-config.ts
author, category, aboutDescription, websiteUrl, termsUrl, etc.).
Publish
beta or next):
How marketplace discovery works
The Twenty server syncs its marketplace catalog from the npm registry every hour. You can trigger the sync immediately instead of waiting:defineApplication() config — fields like displayName, description, author, category, logoUrl, screenshots, aboutDescription, websiteUrl, and termsUrl.
If your app does not define an
aboutDescription in defineApplication(), the marketplace will automatically use your package’s README.md from npm as the about page content. This means you can maintain a single README for both npm and the Twenty marketplace. If you want a different description in the marketplace, explicitly set aboutDescription.CI publishing
Use this GitHub Actions workflow to publish automatically on every release (uses OIDC):yarn install, yarn twenty build, then npm publish from .twenty/output.
npm provenance is optional but recommended. Publishing with
--provenance adds a trust badge to your npm listing, letting users verify the package was built from a specific commit in a public CI pipeline. See the npm provenance docs for setup instructions.