Install the Verglas CLI, log in, develop locally, and deploy.
Prerequisites
Install a current Node.js release. The Verglas CLI is published to npm as
verglas; npx can run it without a global installation.
1. Log in
npx verglas login
The CLI opens the Verglas sign-in flow in your browser and completes the
short-lived handoff on localhost:3080. The resulting credential is stored in
~/.verglas/credentials.json with owner-only permissions.For CI, set VERGLAS_API_TOKEN and VERGLAS_ACCOUNT_ID instead of using the
browser flow.
2. Create a project
npx verglas init hello-verglas -ycd hello-verglas
The generated wrangler.jsonc points to the Worker entry module:
Use npx verglas whoami to inspect the active account and npx verglas logout
to remove the local credential.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Verglas","description":"Build serverless Workers, Durable Objects, and data pipelines on Verglas.","colors":{"primary":"#1464F4","light":"#5EEAD4","dark":"#3B82F6"},"logo":{"light":"https://mintcdn.com/verglas/6YCIAIW9YSuEC_9v/docs/assets/verglas-mark.png?fit=max\u0026auto=format\u0026n=6YCIAIW9YSuEC_9v\u0026q=85\u0026s=6ba90cc61e0603181157427cecedb793","dark":"https://mintcdn.com/verglas/6YCIAIW9YSuEC_9v/docs/assets/verglas-mark.png?fit=max\u0026auto=format\u0026n=6YCIAIW9YSuEC_9v\u0026q=85\u0026s=6ba90cc61e0603181157427cecedb793","href":"https://verglas.dev"},"favicon":"https://mintcdn.com/verglas/6YCIAIW9YSuEC_9v/docs/assets/verglas-favicon.png?fit=max\u0026auto=format\u0026n=6YCIAIW9YSuEC_9v\u0026q=85\u0026s=15f8a06f89399a1118b8310a201b8a72","appearance":{"default":"system"},"background":{"color":{"light":"#F6F9FF","dark":"#0B0F14"}},"navbar":{"links":[{"href":"https://github.com/verglas-org/verglas-sdk","label":"GitHub","type":"github"}],"primary":{"type":"button","label":"Get started","href":"/docs/get-started/quickstart"}},"footer":{"socials":{"github":"https://github.com/verglas-org/verglas-sdk"}},"fonts":{"family":"IBM Plex Sans"},"icons":{"library":"lucide"},"styling":{"eyebrows":"breadcrumbs","latex":false},"thumbnails":{"appearance":"dark","background":"https://mintcdn.com/verglas/6YCIAIW9YSuEC_9v/docs/assets/verglas-banner.png?fit=max\u0026auto=format\u0026n=6YCIAIW9YSuEC_9v\u0026q=85\u0026s=b580d58a8f4fe051f9638b45eefa021d"},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"verglas","hasAudioNarration":false,"actualSubdomain":"verglas","customDomains":["docs.verglas.dev"],"gitSource":{"type":"github","owner":"verglas-org","repo":"verglas-sdk","deployBranch":"main","contentDirectory":"","isPrivate":false,"mountPath":"","label":""},"entitlements":{"AI_CHAT":{"status":"DISABLED"}},"buildId":"6a988c349492625efc9207e4","clientVersion":"0.0.4352","searchFilterCounts":[{"language":"default","tag":"Built-ins","count":6},{"language":"default","tag":"Recipes","count":5},{"language":"default","tag":"Get started","count":3},{"language":"default","tag":"Concepts","count":2}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"control","enabled":true,"payload":{"type":"string","value":"control"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"starterQuestions":[],"googleFontsInlined":false},"customCss":[]}
{"page":{"pagePath":"docs/get-started/quickstart","slug":"/docs/get-started/quickstart","pageMetadata":{"title":"Build your first Worker","description":"Install the Verglas CLI, log in, develop locally, and deploy.","icon":"rocket","href":"/docs/get-started/quickstart"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Install the Verglas CLI, log in, develop locally, and deploy.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,p:`p`,pre:`pre`,span:`span`,..._provideComponents(),...props.components},{CodeBlock,Heading,Tip}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Tip)_missingMdxReference(`Tip`,true);return _jsxs(_Fragment,{children:[_jsx(Heading,{level:`2`,id:`prerequisites`,children:`Prerequisites`}),`\n`,_jsxs(_components.p,{children:[`Install a current Node.js release. The Verglas CLI is published to npm as\n`,_jsx(_components.code,{children:`verglas`}),`; `,_jsx(_components.code,{children:`npx`}),` can run it without a global installation.`]}),`\n`,_jsx(Heading,{level:`2`,id:`1-log-in`,children:`1. Log in`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`npx`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` verglas`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` login`})]}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[`The CLI opens the Verglas sign-in flow in your browser and completes the\nshort-lived handoff on `,_jsx(_components.code,{children:`localhost:3080`}),`. The resulting credential is stored in\n`,_jsx(_components.code,{children:`~/.verglas/credentials.json`}),` with owner-only permissions.`]}),`\n`,_jsxs(_components.p,{children:[`For CI, set `,_jsx(_components.code,{children:`VERGLAS_API_TOKEN`}),` and `,_jsx(_components.code,{children:`VERGLAS_ACCOUNT_ID`}),` instead of using the\nbrowser flow.`]}),`\n`,_jsx(Heading,{level:`2`,id:`2-create-a-project`,children:`2. Create a project`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`2`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`2`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`npx`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` verglas`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` init`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` hello-verglas`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -y`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`cd`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` hello-verglas`})]}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[`The generated `,_jsx(_components.code,{children:`wrangler.jsonc`}),` points to the Worker entry module:`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`6`,language:`jsonc`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`jsonc`,children:_jsxs(_components.code,{language:`jsonc`,numberOfLines:`6`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"$schema\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"node_modules/verglas/config-schema.json\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"name\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"hello-verglas\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"main\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"./src/index.ts\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"compatibility_date\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2026-08-27\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[`Replace `,_jsx(_components.code,{children:`src/index.ts`}),` with:`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`10`,language:`typescript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`typescript`,children:_jsxs(_components.code,{language:`typescript`,numberOfLines:`10`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`export`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` default`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#D4D4D4`},children:` {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` async`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` fetch`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:`request`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`:`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#4EC9B0`},children:` Request`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#D4D4D4`},children:`)`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`:`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#4EC9B0`},children:` Promise`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#D4D4D4`},children:`\u003c`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#4EC9B0`},children:`Response`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#D4D4D4`},children:`> `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` const`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:` url`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` new`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` URL`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`request`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`url`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`);`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` return`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` Response`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`json`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`({`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` message:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Hello from Verglas\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` path:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` url`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`pathname`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` });`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#D4D4D4`},children:`}`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`;`})]}),`\n`]})})}),`\n`,_jsx(Heading,{level:`2`,id:`3-run-locally`,children:`3. Run locally`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`npx`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` verglas`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` dev`})]}),`\n`]})})}),`\n`,_jsx(_components.p,{children:`Open the local URL printed by the CLI. Source changes reload the Worker.`}),`\n`,_jsx(Heading,{level:`2`,id:`4-deploy`,children:`4. Deploy`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`npx`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` verglas`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` deploy`})]}),`\n`]})})}),`\n`,_jsx(_components.p,{children:`The CLI builds the Worker, uploads its component, and prints the deployed URL.\nVerglas handles placement and scaling from that point forward.`}),`\n`,_jsx(Heading,{level:`2`,id:`next-step`,children:`Next step`}),`\n`,_jsxs(_components.p,{children:[`Add durable state with a `,_jsx(_components.a,{href:`/docs/built-ins/durable-objects`,children:`Durable Object`}),`, or\nsend events into a `,_jsx(_components.a,{href:`/docs/built-ins/streams-pipelines`,children:`Stream and Pipeline`}),`.`]}),`\n`,_jsx(Tip,{children:_jsxs(_components.p,{children:[`Use `,_jsx(_components.code,{children:`npx verglas whoami`}),` to inspect the active account and `,_jsx(_components.code,{children:`npx verglas logout`}),`\nto remove the local credential.`]})})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Build your first Worker","description":"Install the Verglas CLI, log in, develop locally, and deploy.","icon":"rocket","href":"/docs/get-started/quickstart"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Prerequisites","slug":"prerequisites","depth":2,"children":[]},{"title":"1. Log in","slug":"1-log-in","depth":2,"children":[]},{"title":"2. Create a project","slug":"2-create-a-project","depth":2,"children":[]},{"title":"3. Run locally","slug":"3-run-locally","depth":2,"children":[]},{"title":"4. Deploy","slug":"4-deploy","depth":2,"children":[]},{"title":"Next step","slug":"next-step","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"subdomain":"verglas","siteName":"Verglas","title":"Build your first Worker - Verglas","contextualStarterQuestions":[],"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-08-28T03:58:07.364Z","originalFileLocation":"docs/get-started/quickstart.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Install the Verglas CLI, log in, develop locally, and deploy.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Verglas\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/verglas/2mHT-afsJWnLA85S/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/verglas/2mHT-afsJWnLA85S/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/verglas/2mHT-afsJWnLA85S/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/verglas/2mHT-afsJWnLA85S/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/verglas/2mHT-afsJWnLA85S/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/verglas/2mHT-afsJWnLA85S/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/verglas/2mHT-afsJWnLA85S/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/verglas/2mHT-afsJWnLA85S/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/verglas/2mHT-afsJWnLA85S/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Build your first Worker - Verglas\">\u003cmeta data-mint-head property=\"og:description\" content=\"Install the Verglas CLI, log in, develop locally, and deploy.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Verglas\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.verglas.dev/docs/get-started/quickstart\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://verglas.mintlify.site/_mintlify/api/og/v2?division=Get+started\u0026amp;title=Build+your+first+Worker\u0026amp;description=Install+the+Verglas+CLI%2C+log+in%2C+develop+locally%2C+and+deploy.\u0026amp;theme=497b5e7e25ae936ff7b9aa43\u0026amp;signature=7e48d609d5d0f6deacd30cf7041800b4f9d39bae63be32967af47e6db91b4fe4\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Build your first Worker - Verglas\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Install the Verglas CLI, log in, develop locally, and deploy.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://verglas.mintlify.site/_mintlify/api/og/v2?division=Get+started\u0026amp;title=Build+your+first+Worker\u0026amp;description=Install+the+Verglas+CLI%2C+log+in%2C+develop+locally%2C+and+deploy.\u0026amp;theme=497b5e7e25ae936ff7b9aa43\u0026amp;signature=7e48d609d5d0f6deacd30cf7041800b4f9d39bae63be32967af47e6db91b4fe4\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/verglas/2mHT-afsJWnLA85S/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Verglas\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#1464F4\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.verglas.dev/docs/get-started/quickstart\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/docs/get-started/quickstart.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.verglas.dev/#organization\",\"name\":\"Verglas\",\"url\":\"https://docs.verglas.dev\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/verglas/6YCIAIW9YSuEC_9v/docs/assets/verglas-mark.png?fit=max\u0026auto=format\u0026n=6YCIAIW9YSuEC_9v\u0026q=85\u0026s=6ba90cc61e0603181157427cecedb793\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.verglas.dev#website\",\"name\":\"Verglas\",\"url\":\"https://docs.verglas.dev\",\"publisher\":{\"@id\":\"https://docs.verglas.dev/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.verglas.dev/docs/get-started/quickstart#webpage\",\"url\":\"https://docs.verglas.dev/docs/get-started/quickstart\",\"name\":\"Build your first Worker\",\"description\":\"Install the Verglas CLI, log in, develop locally, and deploy.\",\"dateModified\":\"2026-08-28T03:58:07.364Z\",\"isPartOf\":{\"@id\":\"https://docs.verglas.dev#website\"},\"breadcrumb\":{\"@id\":\"https://docs.verglas.dev/docs/get-started/quickstart#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.verglas.dev/docs/get-started/quickstart#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Get started\",\"item\":\"https://docs.verglas.dev/docs\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Build your first Worker\",\"item\":\"https://docs.verglas.dev/docs/get-started/quickstart\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.verglas.dev/docs/get-started/quickstart#article\",\"headline\":\"Build your first Worker\",\"name\":\"Build your first Worker\",\"description\":\"Install the Verglas CLI, log in, develop locally, and deploy.\",\"url\":\"https://docs.verglas.dev/docs/get-started/quickstart\",\"mainEntityOfPage\":{\"@id\":\"https://docs.verglas.dev/docs/get-started/quickstart#webpage\"},\"dateModified\":\"2026-08-28T03:58:07.364Z\",\"publisher\":{\"@id\":\"https://docs.verglas.dev/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.verglas.dev#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Verglas\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Verglas\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/docs/get-started/quickstart.md","siteName":"Verglas","nav":{"global":null,"groups":[{"group":"Get started","icon":"rocket","pages":[{"title":"Verglas","description":"Build serverless Workers with stateful Durable Objects and data pipelines.","icon":"snowflake","href":"/docs/index"},{"title":"Build your first Worker","icon":"rocket","href":"/docs/get-started/quickstart"},{"title":"Run a Python notebook","description":"Deploy Jupyter cells as independently triggerable Python Workers over Verglas Streams.","icon":"book-open","href":"/docs/get-started/notebooks"}]},{"group":"Concepts","icon":"blocks","pages":[{"title":"Platform model","icon":"blocks","href":"/docs/concepts/platform"},{"title":"Scheduled Workers and backfills","icon":"calendar-sync","href":"/docs/concepts/scheduled-workers"}]},{"group":"Built-ins","icon":"database","pages":[{"title":"Built-in components","icon":"database","href":"/docs/built-ins/overview"},{"title":"Durable Objects","icon":"box","href":"/docs/built-ins/durable-objects"},{"title":"Streams and Pipelines","icon":"workflow","href":"/docs/built-ins/streams-pipelines"},{"title":"Iceberg and Query","icon":"table","href":"/docs/built-ins/catalog-query"},{"title":"Vectorize","icon":"scan-search","href":"/docs/built-ins/vectorize"},{"title":"Graph","icon":"share-2","href":"/docs/built-ins/graph"}]},{"group":"Recipes","icon":"book-open","pages":[{"title":"Recipes","icon":"book-open","href":"/docs/recipes/overview"},{"title":"Webhook to Iceberg","icon":"webhook","href":"/docs/recipes/webhook-to-lakehouse"},{"title":"Deduplicate events","icon":"copy-check","href":"/docs/recipes/deduplicate-events"},{"title":"Bronze, silver, and gold","icon":"layers-3","href":"/docs/recipes/medallion-pipeline"},{"title":"Semantic search","icon":"scan-search","href":"/docs/recipes/semantic-search"}]}]},"basePath":"","title":"Build your first Worker - Verglas","deploymentId":"dpl_5nNsUVHqbVdUHouroPPzwztSbjmH","buildId":"dpl_5nNsUVHqbVdUHouroPPzwztSbjmH","dynamics":[],"chunks":[]}