Test system: Windows 11, i5-1135G7, 16GB RAM. Average of 3 runs.
cat > /media/usb/arduino-portable/run.sh << 'EOF' #!/bin/bash export ARDUINO_DATA_DIR="$(dirname "$0")/data" export ARDUINO_SKETCHBOOK_DIR="$(dirname "$0")/sketches" export ARDUINO_CACHE_DIR="$(dirname "$0")/cache" "$(dirname "$0")/arduino-ide_2.x.x/arduino-ide" "$@" EOF
Your portable configuration is now complete! Follow these steps to use it: Double-click your newly created Launch_Portable.bat file.