devbox
                                
                                 devbox copied to clipboard
                                
                                    devbox copied to clipboard
                            
                            
                            
                        Feature Request: devbox install
Make it possible to install packages without starting a shell.
I'm interested in taking a shot at a PR for this but I want to make sure I'm on the right path first.
From my understanding, when running devbox shell the packages aren't added until nix-shell is run here which "will build the dependencies of the specified derivation" using the .devbox/gen/shell.nix file generated here. So the new devbox install sub-command would implement similar logic but call nix-build instead.
Is there anything else that should be taken into consideration?
@morey-tech That'd be great.
I think that's right, although instead of shell.nix you should use default.nix (same file used by the Dockerfile). If you send the PR, keep the install command as a "hidden" command (see the generate command for an example of a hidden command), as we'll want to do some additional testing before turning it on for everyone.
linking this to the ticket and discussion at #246. Also addresses installing packages without running the shell