This guide provides step-by-step instructions for setting up AutoGPT on Windows using the Windows Subsystem for Linux (WSL2) and Ubuntu.
- Open the Microsoft Store on your Windows PC.
- Search for and install Windows Subsystem for Linux.
- Then, search for "Ubuntu" and select the standard version to install.
- Launch Ubuntu from the Start menu.
- The first launch will finalize the setup. You'll be prompted to create a user account and password.
-Upgrade version from WSL 1 to WSL 2 To change versions, use the command: wsl --set-version 2 replacing with the name of the Linux distribution that you want to update. For example, wsl --set-version Ubuntu-20.04 2 will set your Ubuntu 20.04 distribution to use WSL 2.
- Navigate to AGPT_WIZARD repository and download the raw
wizard.sh
file. - Right-click and copy the file.
- In the Ubuntu terminal, type
explorer.exe .
(The second . is very important) - This command opens Windows File Explorer in the Ubuntu home directory.
- In the Ubuntu home directory (using Windows File Explorer), paste the
wizard.sh
script file.
- Return to the Ubuntu terminal and execute the following commands:
chmod +x wizard.sh
./wizard.sh
- This will make the script executable and then run it.
- When prompted, answer the questions.
- During the script execution, you'll be prompted to enter your OpenAI API key. Please enter it when prompted.
- Instructions for getting a paid API Key
- After the installation process completes, AutoGPT will automatically start running.
By following these steps, you'll have AutoGPT up and running on your Windows machine using WSL2 and Ubuntu.
This project is licensed under the MIT License - see the LICENSE file for details.