Skills
Skill 7 of 38
Create a new Encore.ts or Encore.go app with encore app create without interactive prompts, from a template or empty, on Encore Cloud or local only.
2 minutes · 517 words · 9 sections
Install
npx skills add encoredev/skills --skill encore-create-appnpx skills add encoredev/skills/plugin marketplace add encoredev/skillsThe first command installs just this skill, by the name in its SKILL.md; the second installs the whole repository.
Do the steps in order.
encore version prints a version. If not, see encore-install.encore auth whoami must print logged in as <email>. If not, see encore-login. Skip the login only if the user wants a local-only app. If you can’t tell, ask.logged in as app <app-id>): don’t run encore app create, it fails. Ask the user to create the app in the Cloud Dashboard, then follow Get an existing app.encore.app file, the app exists. Don’t create another one.| The user wants | Encore.ts | Encore.go |
|---|---|---|
| A small working app (default) | ts/hello-world | hello-world |
| An empty app, no services | ts/empty | empty |
| A REST API with a SQL database | ts/url-shortener | url-shortener |
| Several services, SQL databases, Pub/Sub, cron jobs | ts/uptime | uptime |
| A GraphQL API with a SQL database | graphql |
--example also takes any directory in https://github.com/encoredev/examples (opens in a new tab), or a GitHub URL: https://github.com/<owner>/<repo>/tree/<branch>/<path>.
encore app create my-app --example=ts/hello-world # Encore.ts
encore app create my-app --example=ts/empty # Encore.ts, empty
encore app create my-app --example=hello-world # Encore.go
encore app create my-app --example=empty # Encore.go, empty--example. In a terminal, the CLI asks for a language and template when it’s missing. Without a terminal, which is how agents usually run commands, it can’t ask, and creates an empty Go app, even for a TypeScript project.npm install or go get. Wait for it to finish.Optional flags:
--llm-rules=<tool>: adds Encore’s coding instructions for an AI tool and configures the local Encore MCP server for it. One of cursor, claudecode, vscode, agentsmd, or zed.--org=<id-or-slug>: creates the app in an org instead of the user’s personal account.--platform=false: creates a local-only app even when logged in.The output ends with Successfully created app <name>!.
App ID: <app-id> and Web URL: https://app.encore.dev/<app-id>. The app ID can differ from the name. The app has an initial commit and an encore git remote, so it’s ready to deploy.encore.app has an empty "id", and there’s no encore remote. To link it to Encore Cloud later, see encore-link-app.Then cd <name> and run the app (see encore-run).
On Encore Cloud: encore app clone <app-id> [directory]. It adds the encore remote. The app ID is in the Cloud Dashboard URL, app.encore.dev/<app-id>. If the app is linked to GitHub, git clone the GitHub repository instead.
Code with an encore.app file: it’s already an app. Run it (see encore-run).
Encore code without an encore.app file: register it in place, from its root directory. Always pass --lang, or the app is treated as Go.
encore app init my-app --lang ts # --lang go for Encore.godirectory <name> already exists: pick another name, or ask before removing the directory.this directory already contains Encore code but isn't initialized as an app: use encore app init (see above) instead of creating a new app.specify an app name: pass the name as the first argument.name must only contain lowercase letters, digits, or dashes, or another name error: fix the name.--org requires being logged in and --platform: log in, or drop --org.creating app on encore.dev: ...: run encore auth whoami. If it prints logged in as app <app-id>, an auth key can’t create apps: a person must log in (see encore-login).npm install fails: the app is still created, without dependencies. Install Node.js (see encore-install), then run npm install in the app.encore app create to deploy or link an existing app. It creates a new, separate app.encore-run), build it out (encore-service and encore-api, or encore-go-service and encore-go-api), and deploy it (encore-deploy).Create a new Encore.ts or Encore.go app with `encore app create` without interactive prompts, from a template or empty, on Encore Cloud or local only. Also covers getting an app that's already on Encore Cloud with `encore app clone` and registering existing Encore code with `encore app init`.
The verbatim description from this skill’s front matter — the string an agent matches on to decide whether to load it.
main, last pushed 26 October 2026.SKILL.md, not by matching a directory convention. One layout observed: encore/*/SKILL.md.h1 and no skipped levels:.claude-plugin/marketplace.json by Encore, declaring 1 plugin. It is read for editorial metadata only — never as the skill index, which is always the repository tree./encoredev/skills.md, and each skill at its own .md URL.