# env

> **Tool `scripts/env.sh`** (script, Scripts). Source this file to use GameFrame from a shell or an agent session.

Run it as `scripts/env.sh`. [Source on GitHub](https://github.com/tanepiper/game-frame/blob/main/scripts/env.sh).

## Its own help

This is the help text in the tool itself, as `./gameframe tool env` prints it.

```text
Source this file to use GameFrame from a shell or an agent session:

  source scripts/env.sh        (bash or zsh, from any folder)

It sets GAMEFRAME_ROOT, loads the ignored .env (GHIDRA_INSTALL_DIR, JAVA_HOME and other
paths that scripts/setup.sh wrote), exports the Ghidra and Java folders it finds, puts
GameFrame's `gameframe` command and the .venv's Python first on PATH, and prints one line
saying what it found. It changes nothing on disk. The scripts load .env on their own; this
file is for commands typed by hand and for agents that start a fresh shell for each command.
```

## Named by

Skills: [re-setup](/skills/re-setup).
