logo
Livestreams

Managing Dev Environments | S02 E20 | Build On Weekly

Brian and Darko show how you can manage, and make portable your wonderful Dev Environments.

Published Jun 1, 2023
Jacquie & Darko Streaming

What if we told you with just three Open Source tools, you can make and take your development environment wherever you want. Imagine a world, where just changing into a different directory gives you a different, predefined version of Python! One can only dream ... Until now 🚀 🔥Check out the video of today's stream were Brian and Darko go into explaining how you can manage and make portable your development environments, with Nix Package Manager, Devbox, and direnv.

The code in the 4 scripts that was used by Brian:

1-nix.sh

1
2
3
#!/bin/bash

curl --proto '=https' --tlsv1.2 -sSf -L https://install.determinate.systems/nix | sh -s -- install

2-devbox.sh

1
2
3
#!/bin/bash

curl -fsSL https://get.jetpack.io/devbox | bash

3-direnv.sh

1
2
3
#!/bin/bash

sudo apt update && sudo apt install -y direnv

4-bashrc.sh

1
2
3
#!/bin/bash

echo 'eval "$(direnv hook bash)"' >> .bashrc

Check out the recording here:

🐦 Reach out to the hosts and guests:

Brian: https://twitter.com/bketelsen Darko: https://twitter.com/darkosubotica