These are the steps that I follow whenever I setup a new dev machine from scratch. This is intended to be for personal use, whenever I stumble upon memory-loss, but I figured I'd share it.
At the time of writing, I've just finished a fresh install of Debian Stretch (9.2.1) on my machine.
This will setup the following on your machine:
Linux/Nginx/MySQL/PHP (LEMP), Composer, Redis, NodeJS, Laravel