Bonaventure OgetoBy Bonaventure Ogeto|

Coding on a Laptop You Already Own: Minimum Specs for Kenyan Learners

You can learn to code on any laptop with at least 4GB of RAM (8GB recommended), a dual-core processor made after 2015, and 128GB of storage. You do not need a MacBook, a gaming laptop, or anything expensive. Windows, macOS, and Linux all work. Many Kenyan developers started on second-hand machines that cost under KES 25,000.

What Actually Matters in a Coding Laptop

Let us cut through the marketing noise. When you are learning to code, your laptop needs to do a few specific things well: run a code editor (VS Code is the standard), run a web browser with multiple tabs, run a local development server, and handle Git operations. That is it. You are not rendering 3D graphics, editing video, or training machine learning models. You are writing text files and running relatively lightweight programs.

Here is what matters, in order of importance.

RAM (memory): 4GB minimum, 8GB recommended. This is the single most important spec for a coding laptop. Your code editor, browser (Chrome is a notorious memory hog), terminal, and local server all need RAM. With 4GB, things will work but feel sluggish when you have multiple applications open. With 8GB, you will be comfortable for most web development work. 16GB is nice to have but not necessary for learning.

Processor: Any modern dual-core. If your laptop was made after 2015 and has an Intel Core i3/i5/i7, AMD Ryzen 3/5/7, or Apple M-series chip, it is fine. Coding is not processor-intensive in the way gaming or video editing is. Even budget processors handle it well. The main thing to avoid is very old single-core processors or extremely low-power Celeron/Atom chips from before 2018, which will feel painfully slow.

Storage: 128GB minimum, SSD strongly preferred. You need space for your operating system, code editor, Node.js, project files, and a browser. 128GB covers this comfortably. 256GB gives you more breathing room. The type of storage matters more than the amount. An SSD (solid-state drive) makes everything faster: boot time, opening applications, loading projects. If your laptop has an old spinning hard drive (HDD), upgrading to an SSD is the single best improvement you can make. It often costs under KES 3,000 for a 240GB SSD in Kenya.

Screen: 13 inches or larger. Coding involves reading and writing a lot of text. On a small screen, you are constantly scrolling and cannot see enough of your code at once. A 13-inch screen is workable. A 15-inch screen is ideal for most people. If you end up coding seriously, you will probably want an external monitor eventually, but that is a later purchase.

What Does Not Matter (Despite What the Internet Says)

The internet is full of "best laptop for coding" lists that recommend machines costing KES 150,000 or more. Most of those lists are written by people who get affiliate commissions, not by developers who remember what it is like to start with nothing. Here is what you can safely ignore.

You do not need a dedicated graphics card. GPUs matter for gaming, video editing, and machine learning. For web development, they are irrelevant. Integrated graphics (the graphics built into your processor) are perfectly adequate. Do not pay extra for a "gaming laptop" thinking it will be better for coding. It will not be, and the battery life will be worse.

You do not need a MacBook. MacBooks are good laptops. They are also expensive. The idea that "real developers use Macs" is a Silicon Valley cultural thing, not a technical requirement. Windows works perfectly fine for web development. Linux works even better in many ways. Plenty of professional developers in Kenya and globally work on Windows machines every day. If you already have a Mac, great. If you do not, do not go into debt to buy one.

You do not need a brand-new laptop. A 3-year-old business laptop with 8GB RAM and an SSD will outperform a brand-new budget laptop with 4GB RAM and a hard drive. Age matters less than specs. Focus on the RAM, processor, and storage type, not the manufacturing date.

You do not need a mechanical keyboard, ultrawide monitor, or fancy peripherals. Those are nice-to-have luxuries. You can learn everything you need on a laptop's built-in keyboard and screen. Invest in peripherals later when you are earning from your skills, not while you are still learning.

Budget-Friendly Options Available in Kenya

If you need to buy a laptop specifically for coding, here are realistic options at different price points in the Kenyan market.

Under KES 15,000: Second-hand business laptops. Shops in places like Luthuli Avenue in Nairobi, and similar markets in Mombasa, Kisumu, and Eldoret, sell refurbished business laptops. Look for HP EliteBook, Lenovo ThinkPad, or Dell Latitude models from 2016 to 2020. These were built for corporate use, which means they are durable, have decent specs, and are designed to last. A ThinkPad T460 with 8GB RAM and a 256GB SSD can often be found for KES 12,000 to 18,000. That is more than enough for learning to code.

KES 15,000 to 30,000: Newer refurbished or entry-level new. At this price point, you can find refurbished laptops with better specs (i5 processors, 8GB RAM, SSDs) or new entry-level machines. If buying new, be careful. Some new laptops at this price come with only 4GB RAM and slow eMMC storage, which is worse than a well-specced second-hand machine. Always check the actual specs, not just the price tag.

KES 30,000 to 60,000: Solid new options. Laptops from Lenovo (IdeaPad series), HP (Pavilion or 200-series), Acer (Aspire), and Asus at this range typically come with 8GB RAM, SSD storage, and modern processors. These will serve you well through learning and into your first professional role. This is the sweet spot for most people who can afford it.

KES 60,000+: More than you need to start. At this range, you are getting premium build quality, better screens, and more powerful processors. These are good investments if you can afford them, but they are not necessary for learning. Do not wait until you can afford a KES 100,000 laptop to start coding. Start with what you can get now.

Buying Second-Hand: What to Check Before You Pay

Buying a second-hand laptop in Kenya is the most practical option for many learners. But you need to know what to look for. Here is a quick checklist.

Check the battery. Many second-hand laptops have worn-out batteries that last 30 minutes or less. This matters in Kenya where power cuts are a reality. A laptop with a dead battery is essentially a desktop. Ask the seller how long it lasts on battery, and test it yourself if possible. Replacement batteries for popular business models are available in Kenya, usually for KES 2,000 to 5,000, but factor that cost into your budget.

Check the keyboard and trackpad. Press every key. Make sure none are sticky, missing, or unresponsive. You will be typing thousands of lines of code. A bad keyboard makes the experience miserable. Similarly, test the trackpad to make sure it clicks and scrolls properly.

Check the screen. Look for dead pixels (tiny dots that stay one color), excessive dimness, or flickering. Open a white image and a black image to check. Coding on a screen with issues strains your eyes over long sessions.

Check the storage type. Open the system settings and check whether the drive is an SSD or HDD. If the laptop has an HDD, budget an additional KES 2,500 to 4,000 for an SSD upgrade. This single change will make the laptop feel dramatically faster. Any computer technician on Luthuli Avenue or in your town can do this swap in under an hour.

Check the RAM and make sure it is upgradeable. Some laptops have RAM soldered to the motherboard, which means you cannot upgrade it later. Business laptops (ThinkPads, EliteBooks) almost always have upgradeable RAM slots. If you are buying a machine with 4GB, confirm that you can add more later. A 4GB RAM stick costs around KES 1,500 to 2,500 in Kenya.

Test it under load. Open 10 browser tabs, a word processor, and a video. If the laptop slows to a crawl, the specs might be lower than advertised, or there could be underlying hardware issues. Do not just turn it on and say "it works." Push it a little.

Windows, Mac, or Linux: Which Operating System for Coding?

This question gets people worked up online, but the honest answer is: all three work fine, and you should use whatever your laptop already has.

Windows. Most affordable laptops in Kenya come with Windows. It works perfectly for web development. VS Code runs natively. Node.js, Python, Git, and all the standard tools install easily. The one addition worth making is Windows Subsystem for Linux (WSL), which gives you a Linux terminal inside Windows. This is helpful because many development tools and tutorials assume a Linux-like environment. Setting up WSL takes about 20 minutes and is free.

macOS. If you have a MacBook, you are set. macOS is Unix-based, which means the terminal works similarly to Linux out of the box. Most development tools install smoothly. The only downside is the price of the hardware, which you have already paid if you own one.

Linux. If your laptop is older or has low specs, installing a lightweight Linux distribution (Ubuntu, Linux Mint, or Pop!_OS) can give it new life. Linux uses less RAM and CPU than Windows, which means a machine that struggles with Windows 11 might run smoothly with Linux Mint. Linux is also the operating system that most servers run, so learning it early has professional benefits. The downside is that you need to be comfortable with occasional troubleshooting, as hardware compatibility can be hit-or-miss with some laptops.

ChromeOS. If you have a Chromebook, you can enable Linux (Crostini) and install VS Code and development tools. It works, but the experience is more limited than a full Windows or Linux setup. If a Chromebook is all you have, use it. But if you are buying specifically for coding, a proper laptop with Windows or Linux will serve you better.

The bottom line: do not spend money changing your operating system. Use what you have. If what you have is slow, consider switching to a lightweight Linux distribution before buying a new machine.

Upgrade Before You Replace: Getting More From Your Current Laptop

Before spending money on a new laptop, consider whether your current one can be upgraded. Two simple, inexpensive upgrades can transform a slow laptop into a perfectly capable coding machine.

Upgrade 1: Add an SSD. If your laptop has a traditional spinning hard drive (HDD), replacing it with an SSD is the single most impactful upgrade you can make. Boot times drop from 2 minutes to 20 seconds. Applications open instantly instead of after a 10-second wait. Everything feels faster because the storage bottleneck is removed. A 240GB SSD costs around KES 2,500 to 4,000 in Kenya. A 480GB SSD is around KES 4,000 to 6,000. Computer repair shops across the country can do the swap and clone your data for a small service fee.

Upgrade 2: Add more RAM. If your laptop has 4GB of RAM and supports upgrades (most do), adding another 4GB stick to reach 8GB total makes a noticeable difference. You can run VS Code, Chrome with several tabs, and a local server without the system slowing down. A 4GB DDR4 RAM stick costs roughly KES 1,500 to 2,500. DDR3 (for older laptops) is often even cheaper. Again, any repair shop can install this in minutes.

Combined cost: KES 4,000 to 8,000. For less than the price of a single month's rent in most Kenyan cities, you can bring an older laptop up to a level that handles coding comfortably. Compare that to KES 30,000 or more for a new machine. The math is clear. Try upgrading first.

One more tip: if your laptop is running Windows 10 or 11 and feels slow even after hardware upgrades, installing Linux Mint or Ubuntu can recover a significant amount of performance. Linux is lighter on resources, and the development tools (VS Code, Node.js, Git, Python) all work natively. The switch is free and reversible.

Start With What You Have. Upgrade Later.

The single biggest mistake people make is waiting until they have the "right" laptop before they start learning. If your current machine can open a web browser and a text editor, you can start learning to code today. Not tomorrow. Not when you save up for a MacBook. Today.

The first few weeks of learning involve HTML and CSS, which are so lightweight that they run on literally any computer made in the last decade. Even a phone browser can render HTML. By the time you need more power (running Node.js, building React apps, working with databases), you will have a clearer idea of what you need and can make a more informed purchase decision.

Here is a practical starting path.

Step 1: Check your current specs. On Windows, open Settings, then System, then About to see your RAM and processor. On Mac, click the Apple menu and then About This Mac. If you have 4GB RAM or more and a processor from 2015 or later, you are good to start.

Step 2: Install VS Code. It is free, runs on Windows, Mac, and Linux, and is what the majority of developers use. Download it from code.visualstudio.com.

Step 3: Start learning. Create a free McTaba Academy account and work through the introductory material. Or start with freeCodeCamp's HTML/CSS section, which runs entirely in your browser. You do not need to install anything else for the first few weeks.

Do not let hardware be the reason you do not start. The laptop you are reading this article on is almost certainly good enough for the first steps. And if it turns out you love coding and want to pursue it seriously, then invest in better hardware when you know the investment is worth it. That is a much smarter sequence than buying an expensive machine for a career you are not sure about yet.

Key Takeaways

  • The minimum specs for learning to code are 4GB RAM, any dual-core processor from 2015 or later, and 128GB storage. With 8GB RAM, you will have a much smoother experience running a code editor, browser, and local server simultaneously.
  • You do not need a MacBook. Windows laptops and Chromebooks running Linux work perfectly well for web development, which is the most common starting point for Kenyan developers.
  • Second-hand business laptops (ThinkPad, HP EliteBook, Dell Latitude) are the best value option in Kenya. They are built to last, often have better specs than consumer laptops at the same price, and are widely available.
  • The screen size matters more than people think. Coding on a tiny screen is painful. Aim for at least 13 inches, and 15 inches is ideal if portability is not your top priority.
  • If your current laptop is too slow, upgrading the RAM and switching to an SSD are the two cheapest upgrades that make the biggest difference. Both can be done at computer repair shops across Kenya for a few thousand shillings.

Frequently Asked Questions

Can I learn to code on a laptop with 4GB RAM?
Yes, 4GB is the functional minimum. You can run VS Code, a browser, and a terminal simultaneously. It will feel slower than 8GB, especially with many browser tabs open. Close unnecessary applications while coding to free up memory. If your laptop supports it, upgrading to 8GB is inexpensive and highly recommended.
Do I need a MacBook to learn programming?
No. Windows and Linux are perfectly capable development platforms. Most professional developers in Kenya work on Windows machines. If you want a Unix-like terminal experience on Windows, install Windows Subsystem for Linux (WSL). A KES 15,000 second-hand ThinkPad with 8GB RAM is more practical for learning than going into debt for a MacBook.
Where can I buy a cheap laptop for coding in Kenya?
Luthuli Avenue in Nairobi is the most well-known market for refurbished laptops. Similar markets exist in Mombasa, Kisumu, Eldoret, and other major towns. Online platforms like Jiji and Facebook Marketplace also have options. Look for business-grade models like Lenovo ThinkPad, HP EliteBook, or Dell Latitude. Always check the specs and test the machine before paying.
SSD vs HDD: Does it really matter for coding?
Yes, significantly. An SSD makes your laptop boot faster, open applications faster, and load projects faster. The difference is not subtle. A laptop with an HDD feels sluggish even with good RAM and processor. Upgrading from HDD to SSD costs KES 2,500 to 4,000 in Kenya and is the single most impactful upgrade for an older laptop.
Can I learn to code on a phone or tablet?
You can learn basic HTML and CSS concepts on a phone using apps and browser-based coding platforms. But for any serious development work (JavaScript, React, backend development), you need a proper laptop or desktop. A phone screen is too small, you cannot run a local development server, and the typing experience makes real coding impractical. A budget laptop is a necessary investment.
Is a Chromebook good enough for learning to code?
It can work if you enable Linux (Crostini) on the Chromebook. This lets you install VS Code, Node.js, and other development tools. However, many Chromebooks have limited RAM (4GB) and slow processors, which makes the experience less smooth than a proper Windows or Linux laptop. If a Chromebook is all you have, start with it. If you are buying specifically for coding, choose a regular laptop instead.

Ready to build real-world apps?

Join the McTaba Labs full-stack marathon (4 months full-time · 6 months part-time). Learn M-Pesa, USSD, and WhatsApp engineering while shipping 8 production apps.

Apply to the McTaba Marathon