Skip to content

Development Environment Setup

Welcome to the team. This guide will get your Mac or Windows machine ready for development.


Homebrew is the package manager for macOS. Run this in Terminal:

Terminal window
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
Terminal window
brew install git

NVM lets you switch between Node.js versions.

Terminal window
brew install nvm

Close and reopen your terminal, then install the latest LTS version of Node.js:

Terminal window
nvm install --lts

Laravel Herd is a macOS app that gives you a full PHP development environment.

  1. Go to herd.laravel.com
  2. Download and open the .dmg file
  3. Drag Laravel Herd to your Applications folder
  4. Launch it
Terminal window
brew install --cask visual-studio-code

Or download it from code.visualstudio.com.


Download from: https://git-scm.com/downloads

After installation, use Git in Git Bash, Command Prompt, or PowerShell.

Download the latest nvm-setup.exe from: https://github.com/coreybutler/nvm-windows/releases

Run the installer, then open a new Command Prompt and run:

Terminal window
nvm install lts
nvm use lts

Download from: https://herd.laravel.com/

  1. Run the .exe installer
  2. Follow the setup steps
  3. Launch Laravel Herd and set your local development folder

Laravel Herd includes PHP, Composer, and Laravel out of the box.

Download from: https://code.visualstudio.com/


Add these to your VS Code settings.json:

{
"editor.formatOnSave": true,
"[javascript]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"emmet.includeLanguages": {
"javascript": "javascriptreact"
},
"editor.codeActionsOnSave": {
"source.fixAll.eslint": true
}
}

Run these in your terminal:

Terminal window
git config --global user.name "Your Name"
git config --global user.email "your.email@example.com"

Git uses these for every commit you make.

This lets you authenticate with GitHub without typing your password every time.

Terminal window
ssh-keygen -t ed25519 -C "your.email@example.com"

When prompted, press Enter to accept the default file path. Set a passphrase if you want.

macOS/Linux:

Terminal window
eval "$(ssh-agent -s)"
ssh-add ~/.ssh/id_ed25519

Windows (Git Bash):

Terminal window
eval $(ssh-agent -s)
ssh-add ~/.ssh/id_ed25519

Copy your public key:

Terminal window
cat ~/.ssh/id_ed25519.pub

Then:

  1. Go to GitHub SSH settings
  2. Click New SSH key
  3. Paste the key and give it a name (e.g., My Laptop)
  4. Click Add SSH key
Terminal window
ssh -T git@github.com

You should see:

Hi your-username! You've successfully authenticated...

We use Discord for team communication. Download it here.

Ask the Lucky Media PM for an invite to our server.



  1. Clone the repos you’ll be working on
  2. Install any project-specific dependencies
  3. Read through our coding standards and workflows

If anything breaks during setup, ask your team lead or a colleague.