Dart Frog on Raspberry Pi
Get started to use VScode with Remote-SSH extension to develop a Dart backend on your local computer.
Prerequisites
You need a 64 bit arm Debian version installed. 32 Bit will not run. Of course you then need a Raspberry Pi which is capable to run a 64 bit OS. I have a Raspi4 with 4 GB and this works fast enough.
Choose a recent version here: https://www.raspberrypi.com/software/operating-systems/#raspberry-pi-os-64-bit
If you run the Raspi without screen just as a backend server the Raspberry Pi OS Lite is enough and saves space on the SD card. I recommend to use the Raspberry Pi Imager to copy the downloaded file onto a SD card.
I’m using an OctoPi distribution because my Raspi is also used to control a 3D-Printer. https://unofficialpi.org/Distros/OctoPi/nightly-arm64/2022-08-28_2022-04-04-octopi-bullseye-arm64-lite-1.0.0.zip And I followed this instructions to configure ssh and WiFi: https://octoprint.org/download/
Download the Dart-SDK on the Raspi
My Raspi’s name is octopi. So whenever you see this name in my article use the name of your Raspi. I’m using a MacBook for development. Since VScode runs also on Linux and Windows what I write here should also work in these environments. In your local terminal open a…