# Terminal

ClawCloud Run's **Terminal** feature provides secure, browser-based access to your application containers. Designed for developers and operators, it allows direct interaction with running environments without requiring local CLI tools or SSH configurations.

***

### **Key Features**

1. **Browser-Based Access**
   * Launch terminals directly from the ClawCloud Run dashboard – no VPN or SSH keys needed.
2. **Multi-Container Support**
   * Access any container within your deployment (pods, sidecars, init containers).

***

### **Use Cases**

* 🔧 **Troubleshooting**: Diagnose runtime issues by inspecting logs, processes, or network stats.
* 🧪 **Testing**: Run ad-hoc commands to validate configurations before deployment.
* 🛠️ **File Operations**: Modify temporary files or pull debug data without rebuilding images.

***

### **How to Use Terminal**

#### **Step 1: Access Terminal**

1. Navigate to **APP Launchpad** > Select your application.

<figure><img src="https://2509840198-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FrViHKCGxzpwUEsRBfwlN%2Fuploads%2FHpqxT1LmbXJHJjU6R1Wu%2Fimage.png?alt=media&#x26;token=44366269-e531-4604-996b-f9be6081a8c0" alt=""><figcaption></figcaption></figure>

2. Click the **Terminal** icon on the target container.

<figure><img src="https://2509840198-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FrViHKCGxzpwUEsRBfwlN%2Fuploads%2FOtmRLhRn3kPEQNm776Cw%2Fimage.png?alt=media&#x26;token=d4b548bf-7102-41bd-b7b0-a93b35839c7f" alt=""><figcaption></figcaption></figure>

#### **Step 2: Execute Commands**

A browser-based terminal window will open. Example workflows:

1. **Check Running Processes**:

   ```
   ps aux | grep nginx  
   ```
2. **Inspect Logs**:

   ```
   tail -f /var/log/app/error.log  
   ```
3. **Network Diagnostics**:

   ```
   curl -I http://localhost:8080/health  
   ```

#### **Step 3: Manage Sessions**

* **Multiple Tabs**: Open parallel terminals for different containers.
* **Session History**: Use ↑/↓ arrows to repeat previous commands.
