VARED(1) fish-shell VARED(1)

# [NAME](#NAME)

vared - interactively edit the value of an environment variable

# [SYNOPSIS](#SYNOPSIS)

```
vared VARIABLE_NAME
```

# [DESCRIPTION](#DESCRIPTION)

**vared** is used to interactively edit the value of an environment variable. Array variables as a whole can not be edited using **vared**, but individual list elements can.

The **-h** or **--help** option displays help about using this command.

# [EXAMPLE](#EXAMPLE)

**vared PATH\[3]** edits the third element of the PATH list

# [Copyright](#Copyright)

fish-shell developers

October 10, 2026 4.9

---

Document: vared(1) from fish 4.9.3-r1 (Chainguard OS)
Source: https://github.com/fish-shell/fish-shell
