> ## Documentation Index
> Fetch the complete documentation index at: https://docs.loupp.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Environment Variables

> Manage environment variables and .env files for your shared hosting applications

## Overview

The Environment Variables feature in Loupp allows you to view, edit, and manage `.env` files for your shared hosting applications. The system automatically fetches your environment file from the server and provides a secure editor for making changes.

## How It Works

### Automatic File Fetching

<CardGroup cols={2}>
  <Card title="Automatic Loading" icon="refresh">
    Environment file is automatically fetched when the page loads
  </Card>

  <Card title="Secure Editing" icon="shield">
    Edit environment variables directly in the browser interface
  </Card>
</CardGroup>

### Workflow

<Steps>
  <Step title="Load environment">
    System automatically fetches the .env file from your server
  </Step>

  <Step title="Edit variables">
    Use the built-in code editor to modify your environment variables
  </Step>

  <Step title="Save changes">
    Click "Save" to upload the modified file back to your server
  </Step>
</Steps>

## Environment File Operations

### Fetching Environment Files

<Steps>
  <Step title="Access environment section">
    Navigate to the Environment tab in your shared hosting dashboard
  </Step>

  <Step title="Automatic fetch">
    System automatically fetches the .env file from your server
  </Step>

  <Step title="View content">
    File content displays in the built-in editor
  </Step>
</Steps>

<Info>
  **File Path**: Environment files are fetched from the path specified in your server configuration
</Info>

### Editing Environment Variables

<Steps>
  <Step title="Modify variables">
    Edit environment variable values directly in the editor
  </Step>

  <Step title="Add new variables">
    Add new environment variables as needed
  </Step>

  <Step title="Remove variables">
    Delete environment variables that are no longer needed
  </Step>

  <Step title="Save changes">
    Click "Save" to upload the modified file to your server
  </Step>
</Steps>

<Warning>
  Changes to environment variables may require application restarts to take effect.
</Warning>
