To set up your coding environment as a beginner in Kenya, install VS Code (use the offline installer if your internet is slow), set up Git and create a GitHub account, install Node.js through nvm, and learn 5 to 10 basic terminal commands. The entire setup takes 1 to 2 hours on a decent connection, or half a day if you need to download offline installers from a cyber cafe.
Before installing anything, make sure your hardware can handle the basics. You do not need a powerful machine. But you do need one that will not freeze every time you open a code editor.
Minimum laptop specs:
If you are unsure whether your laptop meets these specs, check our guide to the best laptops for coding in Kenya. It covers budget options starting at KES 25,000.
Operating system: Windows 10 or 11, macOS, or Ubuntu Linux all work fine. This guide covers all three where the steps differ. Most Kenyan beginners start on Windows, so that is what we lead with.
Internet: You need a connection to download the tools. If your home internet is slow or capped, here are your options:
Total download size for everything in this guide: roughly 500 MB to 800 MB. Plan accordingly if you are on metered data.
Visual Studio Code (VS Code) is the code editor you will live in. It is free, lightweight, and used by the majority of professional developers worldwide. There are other editors out there, but VS Code is the standard for good reason: it works on every operating system, has thousands of extensions, and runs well even on modest hardware.
How to install (Windows):
.exe fileHow to install (macOS):
How to install (Ubuntu/Linux):
.deb file from the VS Code download pagesudo dpkg -i filename.deb (replace "filename" with the actual file name)sudo apt-get install -fKenya internet tip: If your connection keeps dropping during the download, use the "Offline" or "System Installer" version from the VS Code download page. The system installer is a standalone .exe (Windows) or .dmg (macOS) that does not need an internet connection once downloaded. You can also download it at a cyber cafe with fast Wi-Fi, copy it to a flash drive, and install at home. The file is under 100 MB, so even a flash drive your friend has lying around will work.
Once VS Code opens, you should see a Welcome tab. Close it. You are ready.
Get weekly developer tips
Join 25,000+ developers. Practical guides, job tips, and new content — straight to your inbox.
No spam. Unsubscribe anytime.
Git tracks changes in your code. Think of it as an unlimited "undo" button that also lets you collaborate with other developers. GitHub is a website where you store your Git projects online. Every developer has a GitHub account. Your future employer will look at it.
Install Git (Windows):
Install Git (macOS):
Open the Terminal app (search for "Terminal" in Spotlight). Type git --version and press Enter. If Git is not installed, macOS will prompt you to install the Command Line Developer Tools. Click Install and wait. That is all you need.
Install Git (Ubuntu/Linux):
Open a terminal and run: sudo apt update && sudo apt install git
Verify Git is installed:
Open a terminal (or Git Bash on Windows) and type:
git --version
You should see something like git version 2.44.0. The exact version number does not matter.
Configure Git with your name and email:
git config --global user.name "Your Name"
git config --global user.email "your.email@example.com"
Use the same email address you will use for GitHub.
Create a GitHub account:
That is it. You now have version control set up. You will learn how to actually use Git commands when you build your first project later in this guide.
Node.js lets you run JavaScript outside the browser. If you are learning JavaScript (which we recommend as a first language), you need Node.js. Even if your main interest is frontend development, tools like React and Vite require Node.js to run.
We recommend installing Node.js through nvm (Node Version Manager) rather than downloading it directly from the Node.js website. Why? Because nvm lets you switch between different Node.js versions easily, which matters when you start working on multiple projects. It also avoids permission issues that trip up beginners who install Node.js globally.
Install nvm and Node.js (macOS and Linux):
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.1/install.sh | bash
nvm --versionnvm install --lts
node --versionInstall nvm and Node.js (Windows):
The original nvm does not support Windows. Use nvm-windows instead:
nvm-setup.exe (about 5 MB)nvm install ltsnvm use ltsnode --versionYou should see a version number like v22.x.x. Node.js also installs npm (Node Package Manager) automatically, which you will use to install libraries and tools. Verify with npm --version.
Kenya internet tip: The nvm install script is tiny (under 1 KB), but downloading Node.js itself is about 30 MB. If your connection drops midway, just run nvm install --lts again. It will resume where it left off. If you are completely offline, you can download the Node.js binary directly from nodejs.org (choose the LTS version, not Current) and install it manually. You lose the version-switching benefit of nvm, but it works.
If your plan is to learn Python instead of (or alongside) JavaScript, you need to install it. If you are starting with JavaScript only, skip this section. You can always come back to it later.
Check if Python is already installed:
Open a terminal and type: python3 --version (macOS/Linux) or python --version (Windows). Many systems come with Python pre-installed. If you see version 3.10 or higher, you are good to go.
Install Python (Windows):
python --versionInstall Python (macOS):
macOS comes with an old version of Python. Install the latest through the official installer at python.org, or use Homebrew if you have it: brew install python. Verify with python3 --version.
Install Python (Ubuntu/Linux):
Ubuntu usually has Python 3 pre-installed. Check with python3 --version. If you need to install or update it: sudo apt update && sudo apt install python3 python3-pip
Python also comes with pip, its package manager (similar to npm for Node.js). You will use pip to install libraries like Flask, Django, or pandas later. Verify with pip --version or pip3 --version.
The terminal (also called command line, console, or shell) is where you run your code, install tools, and manage files. It looks like a black screen with a blinking cursor. It seems intimidating at first, but you will use the same handful of commands 95% of the time.
Which terminal to use:
You can also open a terminal directly inside VS Code by pressing Ctrl + ` (backtick key, usually above Tab). This is convenient because it opens right in your project folder.
The 10 commands you need:
pwd # Print Working Directory. Shows where you are right now
ls # List files and folders in the current directory
cd folder-name # Change Directory. Move into a folder
cd .. # Go up one folder (back)
cd ~ # Go to your home directory
mkdir new-folder # Make a new folder
touch filename.js # Create a new empty file (Git Bash/macOS/Linux)
rm filename.js # Delete a file (be careful, no recycle bin)
clear # Clear the terminal screen
code . # Open the current folder in VS Code
Windows note: If you are using PowerShell instead of Git Bash, touch does not work. Use New-Item filename.js instead. Or just switch to Git Bash, which is simpler.
That is genuinely all you need for now. You will learn more commands naturally as you build projects. Do not try to memorize a list of 50 terminal commands before you start coding. That is a waste of time. Learn by doing.
Quick practice (try this now):
cd ~
mkdir coding-projects
cd coding-projects
mkdir hello-world
cd hello-world
pwd
You just created a folder structure for your first project. The terminal should show something like /Users/yourname/coding-projects/hello-world or C:/Users/yourname/coding-projects/hello-world.
Time to write actual code. This section walks you through creating a simple project that displays "Hello World" in a browser. The point is not to build something impressive. The point is to confirm that everything you just installed works, and to feel what it is like to go from an empty folder to something running on screen.
Create the project:
hello-world folder you created in the terminal practice aboveCtrl + `Create an HTML file:
index.html<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Hello World</title>
</head>
<body>
<h1>Hello World!</h1>
<p>My coding environment works.</p>
</body>
</html>
Save the file (Ctrl + S). Now right-click on index.html in the file explorer and choose "Open with Live Server" if you have the Live Server extension (we will install it in the next section). Or simply find the file in your file manager and double-click it. It will open in your browser.
You should see "Hello World!" in big text and "My coding environment works." below it. Congratulations. You just built a web page.
Now add JavaScript:
script.js in the same folderscript.js:console.log("Hello from JavaScript!");
alert("My JavaScript is working!");
index.html and add this line right before the closing </body> tag:<script src="script.js"></script>
Save both files and refresh your browser. You should see a popup alert saying "My JavaScript is working!" and if you open the browser's developer tools (press F12, then click the Console tab), you will see "Hello from JavaScript!" logged there.
Everything works. Your environment is set up. That whole process, from empty folder to working code, is the loop you will repeat thousands of times as a developer.
VS Code is powerful out of the box, but a few settings changes and extensions will make your life noticeably easier. Do not go overboard. Five extensions are plenty to start with. You can add more as you discover specific needs.
Settings to change now:
Open VS Code Settings with Ctrl + , (or Cmd + , on macOS). Use the search bar at the top to find each setting:
Ctrl + SFive extensions to install:
Click the Extensions icon in the left sidebar (it looks like four squares) and search for each one:
.js file gets a yellow icon, .html gets orange, .css gets blueKenya internet tip: VS Code extensions are small (usually under 5 MB each), but if your connection is patchy, install them one at a time rather than all at once. If the extension marketplace is slow to load, wait and try again during off-peak hours. Extensions are downloaded once and cached locally, so you only need internet for the initial install.
When you start reading developer blogs and watching YouTube tutorials, you will see people recommending all sorts of tools. Docker, PostgreSQL, MongoDB, Redis, Kubernetes, Postman, multiple terminal emulators, custom shell themes. Their setups look impressive. They are also completely unnecessary for a beginner.
Here is what to skip for now, and when each tool actually becomes useful:
The pattern here is straightforward: install tools when you need them for a specific project, not because a YouTuber's "ultimate dev setup" video told you to. Every extra tool is another thing that can break, another thing consuming your system resources, and another thing you feel pressured to learn before you are ready.
A clean, minimal setup is faster, less confusing, and perfectly capable of taking you through your first six months of learning.
You have a code editor, version control, a language runtime, and a working Hello World project. That is a fully functional coding environment. Professional developers at major companies use the exact same core tools.
The next step is to start actually learning a language and building projects. Here is where we recommend going from here:
The biggest risk at this stage is spending another week "getting ready" instead of writing code. Your environment is set up. It works. Open VS Code, create a new file, and start building something. You will learn the rest by doing.
KES 120,000
The complete Full-Stack Software & AI Engineering course. From zero code to AI-powered products in 16 weeks. 16 modules, 208 lessons, with career support until placement.
Enrol in Full-Stack AI