# Run a script (defined as `"moo": "cowsay moo"`) in your devbox.json:
devbox run moo
```

## Options[​](#options "Direct link to Options")

| Option                     | Description                                                                      |
| -------------------------- | -------------------------------------------------------------------------------- |
| `-c, --config string`      | path to directory containing a devbox.json config file                           |
| `-e, --env stringToString` | environment variables to set in the devbox environment (default \[])             |
| `--env-file string`        | path to a file containing environment variables to set in the devbox environment |
| `-h, --help`               | help for run                                                                     |
| `-q, --quiet`              | Quiet mode: Suppresses logs.                                                     |

## SEE ALSO[​](#see-also "Direct link to SEE ALSO")

* [devbox](/docs/devbox/cli-reference/devbox/) - Instant, easy, predictable shells and containers

[Edit this page](https://github.com/jetify-com/devbox/tree/main/docs/app/docs/cli-reference/devbox-run.md)