Add one or more environment variables to an Alpic environment
Adds environment variables to an Alpic environment. Runs interactively by default. Variables are marked as secret by default, meaning their values are masked when listed.
The ID of the environment (optional — read from local config if omitted)
--key
The environment variable key
--value
The environment variable value
--secret
Mark as secret (default: true). Use --no-secret to store in plain text
--env-file
Path to a .env file to import (mutually exclusive with --key/--value)
--non-interactive
Disable interactive prompts. Requires --key and --value (or --env-file)
When running from a directory linked to an Alpic project (via alpic deploy), --environment-id is optional — the
CLI reads it from the local .alpic config file.
Was this page helpful?
{"docsConfig":{"theme":"aspen","$schema":"https://mintlify.com/docs.json","name":"Alpic Documentation","colors":{"primary":"#E90060","light":"#FF3B76","dark":"#051413"},"logo":{"light":"https://mintcdn.com/alpic/c-nSy0yeX5-gWWfK/logo/light.svg?fit=max\u0026auto=format\u0026n=c-nSy0yeX5-gWWfK\u0026q=85\u0026s=4694f7e2acb84f153fc64dbaf64e4e75","dark":"https://mintcdn.com/alpic/c-nSy0yeX5-gWWfK/logo/dark.svg?fit=max\u0026auto=format\u0026n=c-nSy0yeX5-gWWfK\u0026q=85\u0026s=e7262563a4f7093de42c50399f49bb05"},"favicon":"https://mintcdn.com/alpic/c-nSy0yeX5-gWWfK/favicon.svg?fit=max\u0026auto=format\u0026n=c-nSy0yeX5-gWWfK\u0026q=85\u0026s=11bbceca9882b20fbb7a54f02b83fc75","background":{"color":{"light":"#FFFFFF","dark":"#051413"}},"navbar":{"links":[{"href":"mailto:support@alpic.ai","label":"Support"},{"icon":"shield-check","href":"https://trust.alpic.ai","label":"Trust Center"},{"icon":"discord","href":"https://discord.gg/2jc92tZQdn","label":"Discord"}],"primary":{"type":"button","label":"Dashboard","href":"https://app.alpic.ai"}},"footer":{"socials":{"x":"https://x.com/alpic_ai","github":"https://github.com/alpic-ai","linkedin":"https://linkedin.com/company/alpic-ai","discord":"https://discord.gg/2jc92tZQdn"}},"seo":{"metatags":{"description":"Get started with Alpic, your all-in-one MCP cloud platform for hosting, securing, and analysing your plugins. We make it easy to push plugins to users and LLMs wherever they may be.","og:title":"Alpic Docs","og:description":"Get started with Alpic, your all-in-one MCP cloud platform for hosting, securing, and analysing your plugins. We make it easy to push plugins to users and LLMs wherever they may be.","og:image":"/images/alpic-social-preview.png","twitter:card":"summary","twitter:image":"/images/alpic-social-preview.png"}},"fonts":{"heading":{"family":"Mozilla Text","weight":400}},"integrations":{"posthog":{"apiKey":"phc_QZ6t4CIqqMhcpGj2l5qMKCKQ2quc7W5jsAcuV0mmDS2"}},"contextual":{"options":["copy","view","chatgpt","claude","perplexity","mcp","cursor","vscode"],"display":"header"},"styling":{"latex":false},"navigation":{"global":{"anchors":[]},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"alpic","hasAudioNarration":false,"actualSubdomain":"alpic","customDomains":["docs.alpic.ai"],"gitSource":{"type":"github","owner":"alpic-ai","repo":"alpic","deployBranch":"mintlify","contentDirectory":"docs","isPrivate":true,"mountPath":"","label":""},"chroma":{"liveDeploymentHistoryId":"6adf7350d7cf896c8ad8c243","collectionId":"0473995f-65df-4b50-a5c8-ba5cdae4c3b9","schemaVersion":"v3","latestBuiltDeploymentHistoryId":"6adf7350d7cf896c8ad8c243"},"feedback":{"thumbs":true},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6adf7350d7cf896c8ad8c243","clientVersion":"0.0.3990","searchFilterCounts":[{"language":"default","tag":"Documentation","count":80},{"language":"default","tag":"Alpic CLI","count":55},{"language":"default","tag":"Alpic API","count":45},{"language":"default","tag":"environments","count":12},{"language":"default","tag":"Distribution","count":10},{"language":"default","tag":"Playground","count":10},{"language":"default","tag":"Telemetry","count":10},{"language":"default","tag":"User insights","count":8},{"language":"default","tag":"insights","count":8},{"language":"default","tag":"Analytics","count":7}]},"assistantConfig":{"deflection":{"enabled":true,"email":"support@alpic.ai","showHelpButton":true}},"basePath":"","hasChatPermissions":true,"hasWebMcpPermissions":true,"toggles":[],"isAtlas":false,"googleFontsInlined":true},"customCss":[],"page":{"pagePath":"cli/environment-variable-add","slug":"/cli/environment-variable-add","pageMetadata":{"title":"environment-variable add","description":"Add one or more environment variables to an Alpic environment","href":"/cli/environment-variable-add"},"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: \"Add one or more environment variables to an Alpic environment\"\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={code:`code`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,..._provideComponents(),...props.components},{CodeBlock,Heading,Table,Tip}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Table)_missingMdxReference(`Table`,true);if(!Tip)_missingMdxReference(`Tip`,true);return _jsxs(_Fragment,{children:[_jsx(_components.p,{children:`Adds environment variables to an Alpic environment. Runs interactively by default. Variables are marked as secret by default, meaning their values are masked when listed.`}),`\n`,_jsx(Heading,{level:`2`,id:`usage`,children:`Usage`}),`\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:`alpic`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` environment-variable`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` add`})]}),`\n`]})})}),`\n`,_jsx(_components.p,{children:`Prompts for a key, value, and secret preference interactively.`}),`\n`,_jsx(Heading,{level:`2`,id:`extended-usage`,children:`Extended Usage`}),`\n`,_jsx(_components.p,{children:_jsx(_components.strong,{children:`Add a single variable non-interactively:`})}),`\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:`alpic`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` environment-variable`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` add`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --key`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` DATABASE_URL`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --value`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` postgres://localhost/db`})]}),`\n`]})})}),`\n`,_jsx(_components.p,{children:_jsx(_components.strong,{children:`Add a non-secret (visible) variable:`})}),`\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:`alpic`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` environment-variable`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` add`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --key`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` PORT`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --value`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:` 3000`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --no-secret`})]}),`\n`]})})}),`\n`,_jsx(_components.p,{children:_jsxs(_components.strong,{children:[`Import all variables from a `,_jsx(_components.code,{children:`.env`}),` file:`]})}),`\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:`alpic`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` environment-variable`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` add`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --env-file`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` .env`})]}),`\n`]})})}),`\n`,_jsx(_components.p,{children:_jsxs(_components.strong,{children:[`Import from a `,_jsx(_components.code,{children:`.env`}),` file into a specific environment:`]})}),`\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:`alpic`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` environment-variable`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` add`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --env-file`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` .env`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --environment-id`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` \u003c`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`environmentI`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`d`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`>`})]}),`\n`]})})}),`\n`,_jsx(Heading,{level:`2`,id:`options`,children:`Options`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Flag`}),_jsx(_components.th,{children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`--environment-id`})}),_jsx(_components.td,{children:`The ID of the environment (optional — read from local config if omitted)`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`--key`})}),_jsx(_components.td,{children:`The environment variable key`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`--value`})}),_jsx(_components.td,{children:`The environment variable value`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`--secret`})}),_jsxs(_components.td,{children:[`Mark as secret (default: true). Use `,_jsx(_components.code,{children:`--no-secret`}),` to store in plain text`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`--env-file`})}),_jsxs(_components.td,{children:[`Path to a `,_jsx(_components.code,{children:`.env`}),` file to import (mutually exclusive with `,_jsx(_components.code,{children:`--key`}),`/`,_jsx(_components.code,{children:`--value`}),`)`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`--non-interactive`})}),_jsxs(_components.td,{children:[`Disable interactive prompts. Requires `,_jsx(_components.code,{children:`--key`}),` and `,_jsx(_components.code,{children:`--value`}),` (or `,_jsx(_components.code,{children:`--env-file`}),`)`]})]})]})]}),`\n`,_jsx(Tip,{children:_jsxs(_components.p,{children:[`When running from a directory linked to an Alpic project (via `,_jsx(_components.code,{children:`alpic deploy`}),`), `,_jsx(_components.code,{children:`--environment-id`}),` is optional — the\nCLI reads it from the local `,_jsx(_components.code,{children:`.alpic`}),` config file.`]})})]})}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":"environment-variable add","description":"Add one or more environment variables to an Alpic environment","href":"/cli/environment-variable-add"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Usage","slug":"usage","depth":2,"children":[]},{"title":"Extended Usage","slug":"extended-usage","depth":2,"children":[]},{"title":"Options","slug":"options","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"subdomain":"alpic","siteName":"Alpic Documentation","title":"Alpic Docs","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-04-27T15:04:28.654Z","originalFileLocation":"cli/environment-variable-add.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=\"Add one or more environment variables to an Alpic environment\">\u003cmeta data-mint-head name=\"application-name\" content=\"Alpic Documentation\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/alpic/d42xsBm_SwZEqXUE/_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/alpic/d42xsBm_SwZEqXUE/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/alpic/d42xsBm_SwZEqXUE/_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/alpic/d42xsBm_SwZEqXUE/_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/alpic/d42xsBm_SwZEqXUE/_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/alpic/d42xsBm_SwZEqXUE/_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/alpic/d42xsBm_SwZEqXUE/_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/alpic/d42xsBm_SwZEqXUE/_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/alpic/d42xsBm_SwZEqXUE/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Alpic Docs\">\u003cmeta data-mint-head property=\"og:description\" content=\"Get started with Alpic, your all-in-one MCP cloud platform for hosting, securing, and analysing your plugins. We make it easy to push plugins to users and LLMs wherever they may be.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Alpic Documentation\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.alpic.ai/cli/environment-variable-add\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://alpic.mintlify.app/images/alpic-social-preview.png\">\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=\"Alpic Docs\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Get started with Alpic, your all-in-one MCP cloud platform for hosting, securing, and analysing your plugins. We make it easy to push plugins to users and LLMs wherever they may be.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://alpic.mintlify.app/images/alpic-social-preview.png\">\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/alpic/d42xsBm_SwZEqXUE/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Alpic Documentation\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#E90060\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.alpic.ai/cli/environment-variable-add\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/cli/environment-variable-add.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.alpic.ai/#organization\",\"name\":\"Alpic Documentation\",\"url\":\"https://docs.alpic.ai\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/alpic/c-nSy0yeX5-gWWfK/logo/light.svg?fit=max\u0026auto=format\u0026n=c-nSy0yeX5-gWWfK\u0026q=85\u0026s=4694f7e2acb84f153fc64dbaf64e4e75\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.alpic.ai#website\",\"name\":\"Alpic Documentation\",\"url\":\"https://docs.alpic.ai\",\"publisher\":{\"@id\":\"https://docs.alpic.ai/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.alpic.ai/cli/environment-variable-add#webpage\",\"url\":\"https://docs.alpic.ai/cli/environment-variable-add\",\"name\":\"environment-variable add\",\"description\":\"Add one or more environment variables to an Alpic environment\",\"dateModified\":\"2026-04-27T15:04:28.654Z\",\"isPartOf\":{\"@id\":\"https://docs.alpic.ai#website\"},\"breadcrumb\":{\"@id\":\"https://docs.alpic.ai/cli/environment-variable-add#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.alpic.ai/cli/environment-variable-add#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Alpic Documentation\",\"item\":\"https://docs.alpic.ai\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"environment-variable add\",\"item\":\"https://docs.alpic.ai/cli/environment-variable-add\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.alpic.ai/cli/environment-variable-add#article\",\"headline\":\"environment-variable add\",\"name\":\"environment-variable add\",\"description\":\"Add one or more environment variables to an Alpic environment\",\"url\":\"https://docs.alpic.ai/cli/environment-variable-add\",\"mainEntityOfPage\":{\"@id\":\"https://docs.alpic.ai/cli/environment-variable-add#webpage\"},\"image\":\"https://docs.alpic.ai/images/alpic-social-preview.png\",\"dateModified\":\"2026-04-27T15:04:28.654Z\",\"publisher\":{\"@id\":\"https://docs.alpic.ai/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.alpic.ai#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Alpic Documentation\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Alpic Documentation","nav":{"global":{"anchors":[]},"tabs":[{"tab":"Documentation","pages":[{"title":"Documentation","href":""}]},{"tab":"Alpic API","pages":[{"title":"Alpic API","href":"/api-reference"}]},{"tab":"Alpic CLI","groups":[{"group":"Getting started","pages":[{"title":"Alpic CLI","href":"/cli/overview"}]},{"group":"Authentication","pages":[{"title":"login","href":"/cli/login"},{"title":"logout","href":"/cli/logout"},{"title":"whoami","href":"/cli/whoami"}]},{"group":"Deployment","pages":[{"title":"link","href":"/cli/link"},{"title":"deploy","href":"/cli/deploy"},{"title":"deployment list","href":"/cli/deployment-list"},{"title":"deployment inspect","href":"/cli/deployment-inspect"},{"title":"deployment logs","href":"/cli/deployment-logs"}]},{"group":"Devtools","pages":[{"title":"tunnel","href":"/cli/tunnel"}]},{"group":"Logs","pages":[{"title":"logs","href":"/cli/logs"}]},{"group":"User insights","pages":[{"title":"insights intent list","href":"/cli/insights-intent-list"},{"title":"insights feedback list","href":"/cli/insights-feedback-list"},{"title":"insights category list","href":"/cli/insights-category-list"},{"title":"insights category create","href":"/cli/insights-category-create"},{"title":"insights category update","href":"/cli/insights-category-update"},{"title":"insights category delete","href":"/cli/insights-category-delete"},{"title":"insights category link","href":"/cli/insights-category-link"},{"title":"insights category unlink","href":"/cli/insights-category-unlink"}]},{"group":"Distribution","pages":[{"title":"publish","href":"/cli/publish"},{"title":"audit","href":"/cli/audit"},{"title":"submission create","href":"/cli/submission-create"},{"title":"submission list","href":"/cli/submission-list"},{"title":"submission inspect","href":"/cli/submission-inspect"},{"title":"submission update","href":"/cli/submission-update"}]},{"group":"Git","pages":[{"title":"git connect","href":"/cli/git-connect"},{"title":"git disconnect","href":"/cli/git-disconnect"}]},{"group":"Playground","pages":[{"title":"playground enable","href":"/cli/playground-enable"},{"title":"playground disable","href":"/cli/playground-disable"},{"title":"playground status","href":"/cli/playground-status"},{"title":"playground configure","href":"/cli/playground-configure"},{"title":"playground example-prompt add","href":"/cli/playground-example-prompt-add"},{"title":"playground example-prompt list","href":"/cli/playground-example-prompt-list"},{"title":"playground example-prompt remove","href":"/cli/playground-example-prompt-remove"},{"title":"playground headers add","href":"/cli/playground-headers-add"},{"title":"playground headers list","href":"/cli/playground-headers-list"},{"title":"playground headers remove","href":"/cli/playground-headers-remove"}]},{"group":"Teams","pages":[{"title":"team list","href":"/cli/team-list"},{"title":"team inspect","href":"/cli/team-inspect"}]},{"group":"Projects","pages":[{"title":"project list","href":"/cli/project-list"},{"title":"project inspect","href":"/cli/project-inspect"}]},{"group":"Environments","pages":[{"title":"environment list","href":"/cli/environment-list"},{"title":"environment inspect","href":"/cli/environment-inspect"},{"title":"environment delete","description":"Delete an environment","href":"/cli/environment-delete"}]},{"group":"Environment variables","pages":[{"title":"environment-variable add","href":"/cli/environment-variable-add"},{"title":"environment-variable list","description":"List all environment variables for an Alpic environment","href":"/cli/environment-variable-list"},{"title":"environment-variable remove","href":"/cli/environment-variable-remove"},{"title":"environment-variable update","href":"/cli/environment-variable-update"}]},{"group":"Telemetry","pages":[{"title":"telemetry enable","href":"/cli/telemetry-enable"},{"title":"telemetry disable","href":"/cli/telemetry-disable"},{"title":"telemetry status","href":"/cli/telemetry-status"},{"title":"telemetry destinations list","href":"/cli/telemetry-destinations-list"},{"title":"telemetry destinations create","href":"/cli/telemetry-destinations-create"},{"title":"telemetry destinations update","href":"/cli/telemetry-destinations-update"},{"title":"telemetry destinations delete","href":"/cli/telemetry-destinations-delete"}]}]}]},"title":"Alpic Docs","buildId":"dpl_2oYXwqkEXirXBPk8wV1FtM5USFWi","deploymentId":"dpl_2oYXwqkEXirXBPk8wV1FtM5USFWi","dynamics":[],"chunks":[]}