---
title: "Env"
url: https://una-lang.org/en/docs/std/prelude/Env/
release: v0.4.0
edition: "0.1 and later"
source: https://github.com/una-lang/una/blob/v0.4.0/docs/std/listing.json
---

# Env

A capability of the prelude, in scope in every module. Edition 0.1 and later.

```una
pub capability Env
  op get(name: Text) -> Option[internal Text]
    accepts public
```

Reads a process environment variable, as `internal` text. It accepts `public` data (`spec/14 §3`).

## Specification

- [`spec/14 §3`](https://una-lang.org/en/docs/spec/14-standard-library/#s3)

Generated from the standard modules of una v0.4.0 ([`docs/std/listing.json`](https://github.com/una-lang/una/blob/5fec93d88932b333feec25e589355a2cb34c37b5/docs/std/listing.json), which is not part of the specification). The specification governs: [`spec/14 §1`](https://una-lang.org/en/docs/spec/14-standard-library/#s1).
