Coding Now – Best AI & Full Stack Courses in Delhi NCR | 100% Placement
Limited Offer: Get 50% OFF on AI & Full Stack Courses
📞 Call Now: +91 9667708830
Back to Insights
Industry Trends

Setting Up Your Development Environment

Setting Up Your Development Environment — CodingNow Blog

Setting Up Your Development Environment: A Complete Beginner's Guide

Setting up a development environment is one of the first hurdles every new developer faces. It can feel overwhelming when you do not know where to start. The good news is that you only need a few core tools, and once they are set up, you are ready to write code. This guide walks you through installing everything you need, whether you are on Windows, macOS, or Linux.


What You Actually Need

Before we get into installation steps, let us clarify what we are building. A basic development environment consists of three things:

For most beginners, we recommend starting with Visual Studio Code as your editor, Python or Node.js as your first language, and Git for version control.


Step 1: Install Your Code Editor

Visual Studio Code

Visual Studio Code is the most popular code editor for beginners and professionals alike. It is free, runs on Windows, macOS, and Linux, and has a huge library of extensions that make coding easier.

How to install:

Essential Extensions

After installing VS Code, open it and click the Extensions icon on the left sidebar. Search and install these:

Start with just these two. You can always install more as you need them.


Step 2: Install a Programming Language

Option A: Python

Python is one of the most beginner-friendly programming languages. It is great for data science, web development, and automation.

Installation Steps:

  1. Go to python.org/downloads

  2. Download the installer for your operating system

  3. On the first installer screen, check the box that says "Add Python to PATH"

  4. Click "Install Now" and wait

Verify the installation:
Open your terminal (Command Prompt on Windows, Terminal on macOS or Linux) and type:

text
python --version

You should see something like Python 3.12.x. If you see an error, Python is not properly installed.

Option B: Node.js

Node.js lets you run JavaScript outside of a browser. It is essential for modern web development.

Windows Users: Open PowerShell and run:

text
winget install Schniz.fnm
fnm use --install-if-missing 24

macOS and Linux Users: Use NVM (Node Version Manager):

text
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.4/install.sh | bash

Restart your terminal, then:

text
nvm install --lts

Verify the installation:

text
node --version
npm --version

Step 3: Install Git

Git is how you track changes to your code and collaborate with others. Think of it as version history for your entire project.

Windows (using built-in package manager):

Open PowerShell and run:

text
winget install --id Git.Git -e --source winget

Then close and reopen PowerShell, and verify:

text
git --version

macOS (using Homebrew):

First install Homebrew if you do not have it:

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

Then install Git:

text
brew install git

Linux (Ubuntu/Debian) :

text
sudo apt update && sudo apt install git

Configure Git

After installation, tell Git who you are. This links your name to every change you make:

text
git config --global user.name "Your Full Name"
git config --global user.email "your.email@example.com"
git config --global init.defaultBranch main

Verify your settings:

text
git config --list

Step 4: Connect Git to GitHub

An SSH key is like a digital passport that lets you securely connect to GitHub without entering a password every time.

Generate Your SSH Key

In your terminal, run:

text
ssh-keygen -t ed25519 -C "your.email@github.com"

Press Enter when asked for the file location and passphrase. You can skip the passphrase for now.

Copy Your Public Key

On Windows:

text
cat ~/.ssh/id_ed25519.pub

On macOS:

text
pbcopy < ~/.ssh/id_ed25519.pub

Add to GitHub

  1. Go to github.com/settings/keys

  2. Click "New SSH Key"

  3. Paste your public key, give it a title like "My Laptop"

  4. Click "Add SSH Key"

Test the connection:

text
ssh -T git@github.com

You should see a message like: "Hi your-username! You've successfully authenticated."


Step 5: Create Your First Project

Let us make sure everything works together.

1. Create a project folder

text
mkdir my-first-project
cd my-first-project

2. Open VS Code

text
code .

3. Create a new file

Click "New File" and save it as hello.py.

4. Write some code

text
print("My development environment is working!")
name = input("What's your name? ")
print(f"Hello, {name}!")

5. Run the code

Open the terminal in VS Code (Terminal > New Terminal) and type:

text
python hello.py

If you see the message and it asks for your name, congratulations—your development environment is fully set up.


Advanced Setup for Later

Once you are comfortable with the basics, consider these additional tools:

Windows Subsystem for Linux (WSL)

If you are on Windows and want a Linux-like environment, WSL lets you run a full Linux distribution directly inside Windows:

text
wsl --install

This installs Ubuntu and sets up WSL 2. After a system restart, you will have a Linux terminal inside Windows.

Virtual Environments for Python

Virtual environments keep your project's packages isolated. This prevents conflicts between different projects:

text
python -m venv .venv
source .venv/bin/activate  # On Windows: .venv\Scripts\activate

When you see (.venv) in your terminal, you are inside the virtual environment. Now you can install packages without affecting your system.


Quick Setup Checklist


Final Thought

Setting up your development environment might feel tedious the first time, but this is something you do once and then use every single day. Do not worry about perfection. Get the basics installed, write your first "Hello, World!" and you are already a developer. The rest you will learn along the way.

Contact Us

Phone: +91 9667708830
Email: info@codingnow.in
Website: https://codingnowai.in/

Address:
2nd Floor, Kapil Vihar (Opp. Metro Pillar No.354)
Pitampura, New Delhi – 110034


Backlink to main website: Explore Python and AI courses at Coding Now – Gurukul of Ai

Share:

Want to learn Industry Trends?

Join CodingNow – Gurukul of AI. Industry-ready courses with 100% placement support in Delhi.

Enroll Now — Free Demo Available
💬 Talk to Advisor
1
WhatsApp

Latest from Our Blog

Insights on AI, Data Science, Full Stack & Career

View All Articles →