Skip to content

AutoGPT is the vision of accessible AI for everyone, to use and to build on. Our mission is to provide the tools, so that you can focus on what matters.

Update setup.md (#3690)

John Colea6d4deaf2055
diff --git a/.gitignore b/.gitignore
index 816cdb0c8f..971c336891 100644
--- a/.gitignore
+++ b/.gitignore
@@ -21,6 +21,7 @@ logs
*.log
*.mp3
mem.sqlite3
+venvAutoGPT
# Byte-compiled / optimized / DLL files
__pycache__/
diff --git a/docs/setup.md b/docs/setup.md
index 97c5bac8e6..70b3ac3959 100644
--- a/docs/setup.md
+++ b/docs/setup.md
@@ -211,6 +211,16 @@ docker run -it --env-file=.env -v $PWD:/app --rm auto-gpt --gpt3only --continuou
### Run without Docker
+#### Create a Virtual Environment
+
+Create a virtual environment to run in.
+
+``` shell
+python -m venv venvAutoGPT
+source venvAutoGPT/bin/activate
+pip3 install --upgrade pip
+```
+
!!! warning
Due to security reasons, certain features (like Python execution) will by default be disabled when running without docker. So, even if you want to run the program outside a docker container, you currently still need docker to actually run scripts.