> ## Documentation Index
> Fetch the complete documentation index at: https://arka-agent-mintlify-f21cea86.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# .env setup

> Generate safe project environment templates with Arka.

```bash theme={null}
arka env_setup
arka "create a .env for this project"
```

Arka scans local source files for referenced environment variable names and
creates missing entries as blank or `your-secret-here` placeholders. It never
invents, fetches, or overwrites credential values. Existing `.env` values are
preserved; use `--force` only when replacing an empty file.


## Related topics

- [Configuration, env vars, and API key setup](/reference/configuration.md)
- [Quickstart: install Arka and run your first command](/quickstart.md)
- [Local environment bridge](/guides/env-bridge.md)
- [Easy AI model hosting setup](/guides/model-hosting.md)
- [Arka CLI command and flag reference](/guides/cli.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.