Skip to content

Windows Winget Installation

Kozejin edited this page Dec 2, 2024 · 8 revisions

Requirements

  • Python 3.11+
  • Notepad++ (Optional)
  • Winget

Installation (Windows Winget)

Guide created by pullchocks

  1. Install the necessary packages using powershell.

Use ⊞ Win + R keys to open the Run window, then type Powershell.

winget install -e --id Notepad++.Notepad++
winget install -e --id Python.Python.3.10
winget install --id Git.Git
  1. Make a directory for your bot.
mkdir "C:\palbot"; cd "C:\palbot"
  1. Clone the repository.
git clone https://github.com/dkoz/palworld-bot
cd palworld-bot
  1. Create the virtual environment and activate it.
python -m venv venv
venv\Scripts\activate.bat
  1. Install the Python dependencies and packages.
python -m pip install -r requirements.txt
python -m pip install setuptools
  1. Configure the environment variables.
cp .env.example .env
notepad .env
  1. Run the bot.
python main.py

Updating the Bot

  1. Pull the latest update using git in Powershell.

Use ⊞ Win + R keys to open the Run window, then type Powershell.

cd C:\palbot\palworld-bot
git pull
  1. Run the virtual environment and update the dependencies.
venv\Scripts\activate.bat
python -m pip install -r requirements.txt --upgrade
  1. Update your configurations accordingly.
notepad .env
  1. Run the updated bot.
python main.py

Create Windows Service (Coming Soon)