Live data from Hacker News

Ask HN: How do you install developer tools on a fresh system?

news.ycombinator.com

71–80 of 129 posts

Re: Ask HN: How do you install developer tools on a fresh system?

#71
post #52

I use Ansible with Brew and Brew Cask. I've found using Brew for everything makes it easier to upgrade all applications for security reasons and it also gives a high level view of my system. Here's the relevant config file of the things I install: https://github.com/arianitu/setup-my-environment/blob/master... The ansible script also links to my dotfiles, which can be found at: https://github.com/arianitu/dotfiles

This is great, just enough moving parts to get it done, doesn't try to be a meta framework for solving more than it's intended use, really exemplary, thanks for sharing.

Re: Ask HN: How do you install developer tools on a fresh system?

#75
Setting up a new system is where NixOS really shines. Once you have one system working it is trivial to duplicate it on new metal.

1. Install NixOS

2. Copy configuration.nix*

3. Copy dotfiles

4. # nixos-rebuild switch

5. Enjoy your old setup on new hardware--no secret sauce needed!

*A hardware-configuration.nix should have been generated by the installer. By default this is sourced by configuration.nix, in which case configuration.nix shouldn't need editing.

Re: Ask HN: How do you install developer tools on a fresh system?

#76
I started to use Vagrant together with https://puphpet.com/ to create a dev machine. I have a MacBook Air and won't pollute it anymore with a dev environment. With a virtual machine, everything stays separated in a nice and tidy way.

Installing dev tools on OS X are a matter of minutes then, because everything else comes with the Vagrant box.

Edit: I'm a web dev guy.

Re: Ask HN: How do you install developer tools on a fresh system?

#77

Setting up a new system is where NixOS really shines. Once you have one system working it is trivial to duplicate it on new metal. 1. Install NixOS 2. Copy configuration.nix* 3. Copy dotfiles 4. # nixos-rebuild switch 5. Enjoy your old setup on new hardware--no secret sauce needed! *A hardware-configuration.nix should have been generated by the installer. By default this is sourced by configuration.nix, in which case…

I've been interested in Nix and Guix for some time; would you be able to comment on the two?

Re: Ask HN: How do you install developer tools on a fresh system?

#78
Not as Bash script but some time ago I documented complete environment setup for Windows / Mac OS X / Linux

https://github.com/Corsaair/redtamarin/wiki/DeveloperEnviron...

The Windows part have a Batch script setup to automate the install of cygwin, apt-cyg, wpkg, etc.

It is very specific to the Redtamarin project, compiling C++, compiling Java, compiling AS3 to bytecode, etc.

there are also other doc for hardware setup, SSH to/from Windows, running "remote" build from the LAN, etc.

but the setup should work for about anything, comments to improve it welcome :)

Post reply on HN