๐Ÿ› ๏ธ

My Dev Environment

๐Ÿง‘โ€๐ŸŽ“ Apprenticeโฑ๏ธ 20 minutes

๐Ÿ“‹ Suggested prerequisites

  • โ€ขBasic terminal

What you'll build

You'll configure a complete and professional development environment. You'll install VS Code with essential extensions, customize your terminal, and set up the tools that will make you more productive. You'll learn to organize your workspace like professional developers do. By the end, you'll have everything ready and organized to start coding right away.


Essential tools

ToolWhat for
VS Code or CursorCode editor
Node.jsJavaScript/TypeScript
GitVersion control
TerminalCommands

Step 1: Install VS Code (or Cursor)


Step 2: Install Node.js

SystemCommand
macOSbrew install node
WindowsDownload from nodejs.org
Linuxsudo apt install nodejs npm

Verify:

node --version
npm --version

Step 3: VS Code Extensions

Open VS Code and install these extensions (Cmd/Ctrl + Shift + X):

ExtensionWhat for
ESLintDetects code errors
PrettierFormats your code
GitLensBetter Git integration
GitHub CopilotAI that helps you code

Step 4: Configure integrated terminal

In VS Code, open terminal: `Ctrl + `` (backtick)

Configure your favorite shell:

  1. Open Settings (Cmd/Ctrl + ,)
  2. Search "terminal default"
  3. Select zsh, bash, or PowerShell

Useful shortcuts

ShortcutAction
Cmd/Ctrl + PFind files
Cmd/Ctrl + Shift + PCommand palette
Cmd/Ctrl + BToggle sidebar
`Cmd/Ctrl + ``Toggle terminal
Cmd/Ctrl + /Comment line

Typical project structure

my-project/
โ”œโ”€โ”€ src/           # Source code
โ”œโ”€โ”€ tests/         # Tests
โ”œโ”€โ”€ node_modules/  # Dependencies (ignore)
โ”œโ”€โ”€ package.json   # npm config
โ”œโ”€โ”€ .gitignore     # Files to ignore
โ””โ”€โ”€ README.md      # Documentation

Basic .gitignore

Create a .gitignore file:

node_modules/
.env
.DS_Store
*.log

Next step

โ†’ My First Bash Script โ€” Automate tasks