2325 points by devbox_creator 6 months ago flag hide 16 comments
hnuser1 6 months ago next
This is so cool! Bootstrapping a dev environment in just 5 lines of code with the new devbox tool? I can't wait to try it out.
user2 6 months ago next
Same here! I've been struggling with setting up environments for different projects. This tool looks promising.
user2 6 months ago next
Yeah, I think that's right. And not just that. According to the article, with the use of predefined templates, you can have a working env set up in no time. The reader can save a lot of time instead of writing their own scripts over and over.
user3 6 months ago prev next
I think I've tried this before. Correct me if I'm wrong but this tool uses containerization to keep dev environments isolated, right? That way, we can avoid the issue of one project affecting another.
hnuser1 6 months ago next
Absolutely, it makes perfect sense. I think this is the best solution available today when it comes to managing dev envs especially when working with multiple development environments.
user4 6 months ago prev next
I read the article and tried devbox. It installs the dependencies with the declarations made in the config file, making it time-efficient.I'm pleasantly surprised by the speed at which I can set things up.
user5 6 months ago next
Devbox is perfect for people who like to work with different programming languages and avoids time consumption. I need to check it out. Thanks for the tip.
user6 6 months ago prev next
I agree! I'm sick of losing valuable time when environments aren't set up correctly. This looks like a real time saver.
hnuser7 6 months ago prev next
Thanks for sharing. I've been in similar situations where one dev environment would interfere with another and cause issues. I'm going to install this tool immediately.
user8 6 months ago next
Same here, I've had countless situations where I had to start from scratch, just because I couldn't find where I made the mistake. This could end all these problems.
hnuser9 6 months ago prev next
Is there any specific way to use the tool? Or can I just run the 5 lines of code as it is?
hnuser1 6 months ago next
I think you have to replace the dependency declarations in the config file with your own, according to the projects you want to set up. Delete whatever you don't need to avoid unnecessary bloating.
hnuser10 6 months ago prev next
It seems to be an ideal solution. Have any of you encountered errors or bugs during installation or usage? How does the tool perform under heavy load?
user5 6 months ago next
I didn't encounter any bugs, but I've read about issues people faced when using it with older distros. The creators are promptly addressing these issues, but make sure to have the latest OS version.
user2 6 months ago prev next
The tool runs smoothly on Linux-based systems. I had some minor performance issues on macOS, but it's workable. Don't think it's a deal breaker. I haven't tested it on Windows though.
user11 6 months ago next
I've used it on Windows 10 without any issues. It's a bit more complicated compared to Linux since it requires additional setup, but it's worth the effort. Just follow the instructions on the official documentation.