Files
ansible/context/dev-environment.md
1378412a9e Deconstruct AGENTS.md to context dir (#87162)
* Deconstruct AGENTS.md to context dir

* Split guidelines applicable to both humans and agents to top-level `context` dir.
* Instruct agents to read all context files for now- piecemeal/just-in-time context ingestion has been spotty and problematic to date.

Co-authored-by: Matt Clay <matt@mystile.com>
Assisted-by: Claude

* update package-data sanity to ignore context

* markdown line length sanity

* Ignore context dir in change detection

* Remove core plugin deprecation instructions

* Inconsistent with published docs and docsite behavior- resolve those first.

---------

Co-authored-by: Matt Clay <matt@mystile.com>
2026-06-24 18:11:13 -07:00

29 lines
658 B
Markdown

# Development environment setup
ansible-core and all CLIs (including ansible-test) require a POSIX OS.
On Windows, use WSL (Windows Subsystem for Linux).
## Editable install
Ansible development typically uses an editable installation after forking and cloning:
```bash
pip install -e .
```
## Hacking script
An alternative to an editable installation is to source the `hacking/env-setup` script:
```bash
source hacking/env-setup
```
## Running tests without installation
If you only need to run tests, you can invoke `ansible-test` directly without installing or sourcing the hacking script:
```bash
bin/ansible-test sanity -v --docker default
```