docs/installation/source.md
Installation from source is the preferred way to set up SWE-agent on your machine.
git clone https://github.com/SWE-agent/SWE-agent.git
python -m pip install --upgrade pip && pip install --editable .
Let's run a quick check:
sweagent --help
should show an overview over the available top-level commands.
<details> <summary>Command not found?</summary>You might also try <code>python -m sweagent</code>. If this also doesn't work, please check with <code>which python</code> that you're using the same python as when you installed SWE-agent.
</details>Optional installation steps:
Node.js.!!! tip "Installation tips"
* If you run into docker issues, see the installation tips section for more help.
* SWE-agent is still in active development. Features and enhancement are added often.
To make sure you are on the latest version, periodically run git pull
(there is no need to redo the pip install).
* SWE-agent EnIGMA is currently only compatible with v0.7 of SWE-agent. Please run git switch v0.7 after step 1 to switch to the correct version.
* Want to modify SWE-agent? Great! There are a few extra steps and tips:
Please check our contribution guide.
{% include-markdown "../_footer.md" %}