2025-05-11 00:46:39 +02:00
2025-05-11 00:46:39 +02:00
2025-05-11 00:15:04 +02:00
2025-05-11 00:19:02 +02:00

Installation scripts to use Wokwi and Arduino in VSCode/VSCodium

Installation steps

Install linux Dependencies

Install the xdotool package:

Debian based distros: sudo apt install xdotool

Arch based distros: sudo pacman -S xdotool

VSCode/VSCodium configuration

Install the Wokwi extension and request the license key here:

Extension for VSCode here

Extension for VSCodium here

To activate the license key open the IDE press F1 and select Wokwi: Manually Enter License Key and paste the license key

Installation Script

For linux execute the install-linux.sh script with:

bash install-linux.sh

For windows just execute the install-windows.bat script

After the installation process

After the installation is completed you will have the following project structure:

Project Structure

.vscode/ --> VSCode config files
    run
    tasks.json
bin/ --> Binnaries and executables
    arduino-cli
code/ --> Main project code directory
    code.ino
libs/ --> Arduino library's
.gitignore
diagram.json --> Wokwi diagram/circuit
wokwi.toml --> wokwi config file

How to use

You can compile and execute the arduino project/sketch just by pressing Ctrl + Shift + B.

Description
Install script to use wokwi and arduino with vscode/vscodium
Readme 38 KiB
Languages
Batchfile 60.8%
Shell 39.2%