-
-
Notifications
You must be signed in to change notification settings - Fork 9
Windows Winget Installation
Kozejin edited this page Dec 2, 2024
·
8 revisions
- Python 3.11+
- Notepad++ (Optional)
- Winget
Guide created by pullchocks
- Install the necessary packages using powershell.
Use
⊞ Win + R
keys to open theRun
window, then typePowershell
.
winget install -e --id Notepad++.Notepad++
winget install -e --id Python.Python.3.10
winget install --id Git.Git
- Make a directory for your bot.
mkdir "C:\palbot"; cd "C:\palbot"
- Clone the repository.
git clone https://github.com/dkoz/palworld-bot
cd palworld-bot
- Create the virtual environment and activate it.
python -m venv venv
venv\Scripts\activate.bat
- Install the Python dependencies and packages.
python -m pip install -r requirements.txt
python -m pip install setuptools
- Configure the environment variables.
cp .env.example .env
notepad .env
- Run the bot.
python main.py
- Pull the latest update using git in Powershell.
Use
⊞ Win + R
keys to open theRun
window, then typePowershell
.
cd C:\palbot\palworld-bot
git pull
- Run the virtual environment and update the dependencies.
venv\Scripts\activate.bat
python -m pip install -r requirements.txt --upgrade
- Update your configurations accordingly.
notepad .env
- Run the updated bot.
python main.py