Why can't just use apt?
Think with me...
I'm a fullstack dev, that uses Flutter to client-side and Node.js to the server-side.
That's why I downloaded at my personal linux computer, the following CLIs: node, npm and flutter.
But, when I started to try to use idx, I found an obstacle!
The terminal doesn't allow me to use neither apt nor snap, to download flutter SDK to my workspace(that was created by a GitHub repo).
So, I created another workspace, selecting "Flutter" this time.
And now, I can't use node, because APT is not allowed!
Neither sudo exists!
(My terminal is bash)
user@monospace-getz-1702146325587:~/myapp$ npm
bash: npm: command not found
user@monospace-getz-1702146325587:~/myapp$ node
bash: node: command not found
user@monospace-getz-1702146325587:~/myapp$ sudo
bash: sudo: command not found
user@monospace-getz-1702146325587:~/myapp$ unzip
bash: unzip: command not found
user@monospace-getz-1702146325587:~/myapp$ apt
bash: apt: command not found
user@monospace-getz-1702146325587:~/myapp$ snap
bash: snap: command not found
user@monospace-getz-1702146325587:~/myapp$
-
Zac0511 commented
IDX uses Nix, not APT.
If you want to have packages, you can use the dev.nix file under the folder .idx -
Debanjan Basu commented
This is interesting to me as well. I'm working on some complex projects, which do require watching, and code-generation. All are done from global packages installed via cargo. Can you please post some config, as to how I can get nixOS to play with them nicely? I'm happy to test, and contribute to the documentation. Certainly, this would be impacting a few users.
-
Hi Leonardo - this is great feedback! Let me talk to the team about what options we have here.
Cheers,
Kirupa