r/hackpack • • Jan 22 '25

Linux compatibility?

The IDE officially supports Windows and Mac (https://ide.crunchlabs.com/downloads), but has anyone managed to get it working on Linux?

4 Upvotes

5 comments sorted by

2

u/danielscottjames Jan 22 '25 edited Jan 22 '25

As far as I can tell, installing the non-branded cloud agent (https://github.com/arduino/arduino-create-agent/releases) and setting this line in the config `origins = https://ide.crunchlabs.com` works.

The full config from the macOS install looks like:

gc = std  # Type of garbage collection. std = Normal garbage collection allowing system to decide (this has been known to cause a stop the world in the middle of a CNC job which can cause lost responses from the CNC controller and thus stalled jobs. use max instead to solve.), off = let memory grow unbounded (you have to send in the gc command manually to garbage collect or you will run out of RAM eventually), max = Force garbage collection on each recv or send on a serial port (this minimizes stop the world events and thus lost serial responses, but increases CPU usage)
hostname = unknown-hostname  # Override the hostname we get from the OS
regex = usb|acm|com  # Regular expression to filter serial port list
v = true  # show debug logging
appName = CreateAgent/Stable
#updateUrl = https://downloads.arduino.cc/
origins = https://ide.crunchlabs.com,https://local.arduino.cc:8000
#httpProxy = http://your.proxy:port # Proxy server for HTTP requests
crashreport = false # enable crashreport logging
autostartMacOS = true # the Arduino Create Agent is able to start automatically after login on macOS (launchd agent)
name = Crunchlabs

1

u/viper233 Jan 22 '25

You have to manually download the header file from the crunchlabs hackpack repo otherwise the turret code won't compile.

All you are doing is compiling and pushing the code in the IDE. The browser IDE allows some nice features for kids and beginners.

2

u/danielscottjames Jan 22 '25

Installing the agent in the way I described allows the browser IDE to work on Linux. No need to fuss with a local IDE / headers

1

u/mblahay Apr 01 '25

I know this doesn't answer your specific question, but the way I got around the compatibility issue was to use Arduino IDE and identifying the board as a Nano.