Loading
Install and configure everything you need to start coding — from terminal to editor to version control.
The first tool every developer needs is a code editor. We recommend Visual Studio Code (VS Code) — it's free, fast, and has a massive ecosystem of extensions.
What to do:
Confirm you've installed VS Code and explored the interface.
Your terminal is where you'll run commands, install packages, and interact with git.
macOS/Linux: You already have Terminal or you can install iTerm2.
Windows: Install Windows Terminal from the Microsoft Store, then enable WSL2:
After restarting, you'll have a full Linux environment inside Windows.
Open your terminal and make sure you can type commands.
Node.js lets you run JavaScript outside the browser. We recommend using nvm (Node Version Manager) so you can switch versions easily.
Install nvm:
Verify installation:
You should see version numbers (e.g., v20.11.0 and 10.2.0).
Verify that Node.js and npm are working.
Git is the version control system used by virtually every software project.
Configure your identity:
Make sure git is installed and your identity is set.
Open VS Code and install these extensions (Ctrl+Shift+X to open the extensions panel):
| Extension | Why | | -------------- | ------------------------------------------------ | | ESLint | Catches JavaScript/TypeScript errors as you type | | Prettier | Auto-formats your code on save | | GitLens | See who changed each line and when | | Error Lens | Shows errors inline, right next to the problem |
Enable format-on-save:
Install at least ESLint and Prettier, then enable format-on-save.
Let's verify everything works by creating a small project:
Open it in VS Code:
Create a file called index.js:
Run it:
You should see your greeting and Node version printed in the terminal.
GitHub is where you'll store your code, collaborate with others, and build your portfolio.
Test the connection:
You should see: "Hi username! You've successfully authenticated."
Create your GitHub account and verify SSH authentication works.
Before moving on, confirm you have all of these working:
All tools installed and verified. You're ready to start building.
What's next? Now that your environment is set up, learn How to Read Error Messages — the single most valuable debugging skill you'll develop.
wsl --install# macOS/Linux
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.7/install.sh | bash
# Then install Node
nvm install --lts
nvm use --ltsnode --version
npm --version# macOS (comes pre-installed, or via Homebrew)
brew install git
# Ubuntu/Debian
sudo apt install git
# Windows (WSL)
sudo apt install gitgit config --global user.name "Your Name"
git config --global user.email "your.email@example.com"mkdir my-first-project
cd my-first-project
npm init -ycode .const greeting = "Hello, developer!";
console.log(greeting);
console.log(`Node.js version: ${process.version}`);node index.jsssh-keygen -t ed25519 -C "your.email@example.com"
cat ~/.ssh/id_ed25519.pubssh -T git@github.com