Comment on Web based IDE suggestion
ck_@discuss.tchncs.de 1 year ago
If all you want is to experiment without cluttering you local system, then the nix package manager is probably a better idea that self-hosting a web based IDE. It can be installed on any Linux (or Mac) and once installed works without extra privileges. As nix
isolates all dependencies by design, it can be used to create pristine, project specific dev environments without impacting or relying on the rest of the system.
There are plenty of blog posts out there explaining the concepts and how to get started, eg. monospacedmonologues.com/…/throwaway-development-…
knF@lemmy.world 1 year ago
Fantastic suggestion and thanks for the post, very clear! I played with NixOS some time ago but I totally missed this capability. Fits quite well my use case, thanks! And I found this extension that could make things easier: https://marketplace.visualstudio.com/items?itemName=arrterian.nix-env-selector
stardreamer@lemmy.blahaj.zone 1 year ago
Another thing you can look into is apptainer/singularity. Basically portable container binaries. Executing the binary automatically runs a program/drops you into a shell inside the container with your $HOME mounted inside. Stuff like cuda also work as long as your host system has appropriate drivers.