Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

To build your first Gatsby site, install the supported Node.js version and Git, run npm init gatsby, then start the local site with npm run develop. Gatsby is a React-based static site generator with a GraphQL data layer; once your page works locally, you can push the project to GitHub and deploy it through Netlify.

What you need before you start

Gatsby’s current setup guide lists Node.js 18, 20, 22, or 24, Git, Gatsby CLI v5 or newer, and a code editor such as Visual Studio Code. These version requirements can change; check the official environment setup guide if your installed tools differ.

For the deployment workflow described in the tutorial, you will also need accounts with GitHub and Netlify. You can create and run the site locally before setting those up.

Create and run your first Gatsby site

The current quick start uses npm init gatsby, which launches a prompt to help create the project. The tutorial also shows the Gatsby CLI command gatsby new; use the quick-start guide as the reference if the commands or prompts change.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
#1 Best Overall
Sale
Logitech MK120 Full Size Wired Keyboard and Mouse Combo - Black
  • Durable and Reliable: This USB keyboard features a curved space bar, spill-resistant design (2), durable keys that can withstand 10 million keystrokes, and sturdy, adjustable tilt legs
  • Comfortable, Familiar Typing: You’ll enjoy a comfortable and familiar typing experience thanks to the deep-profile keys and standard layout with full-size F-keys and number pad
  • Full-size Sculpted Mouse: The high-definition optical USB mouse puts comfort and control in your hands with smooth, accurate tracking and an ambidextrous shape that feels good hour after hour
  • Simple Set-Up: Simply plug the keyboard and mouse into the USB ports on your desktop, laptop, or netbook and you're ready to work; compatible with Windows 7, 8, 10 or later
  • Clear and Convenient: The bold, bright white and long-lasting characters make the keys on this PC or laptop keyboard easy to read and extra durable
  1. Open a terminal and run npm init gatsby.

  2. Answer the prompts to configure the site. The generated directory is named my-gatsby-site in the quick-start example; use the actual directory name you chose.

  3. Enter the project directory with cd my-gatsby-site, replacing the example name if needed.

  4. Start the development server with npm run develop.

  5. Open http://localhost:8000 in your browser. Gatsby serves a hot-reloading development environment there by default, so changes appear as you work.

If you have the global Gatsby CLI installed, you can use gatsby new to generate a starter project interactively. The CLI reference documents global installation as npm install -g gatsby-cli. The tutorial also notes that npm init gatsby is an alternative when the global CLI is not installed. See the tutorial’s first part and the Gatsby CLI reference.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
Rank #2
Wireless Keyboard and Mouse Combo, 2.4G Ergonomic Wave Keys(Black)
  • 【Wave Ergonomic Wireless Keyboard and Mouse Combo】The wireless keyboard features a wave key and wrist rest design that naturally fits your fingers and relieves wrist strain. The adjustable stand allows you to set the keyboard to the most comfortable height, making it ideal for long-term use. Note: The USB receiver is located on the back of the mouse.
  • 【Wireless Optical Mouse】The wireless mouse is designed with comfort in mind, featuring a contoured shape that fits snugly in the palm and complements the natural curve of your right hand. All controls are easily within reach. This mouse is equipped with forward and back functions, allowing you to navigate the web faster and more efficiently than ever before.
  • 【Plug-and-Play 2.4G Wireless Connection】One 2.4 GHz USB receiver can connect both the keyboard and mouse, or they can be used separately. Plug and play—no software download is required. The 2.4 GHz wireless connection offers a strong and reliable signal up to 33 feet (10 meters), without delays.
  • 【Automatic Power Saving Function】The ULSOU wireless keyboard and mouse combo features an automatic power-saving function. After 30 seconds of inactivity on the keyboard and 15 minutes of inactivity on the mouse, both devices enter sleep mode to conserve battery life. This greatly extends battery life, and any button press will activate the devices again. The keyboard requires 1 AA battery, and the mouse requires 1 AA battery. (batteries not included).
  • 【Wide Compatibility and Dual System Layout】This wireless keyboard and mouse combo is compatible with Windows XP/Vista/7/8/10/11, Mac, and other operating systems. It’s suitable for desktops, Chromebooks, PCs, laptops, and more. You can switch between Windows and macOS by pressing FN+Q or FN+W.

Choose a starter or begin with the prompt

The prompt-driven route is a straightforward way to create a project without first choosing a separate boilerplate. A starter is useful if you want a working structure to customize rather than assembling every file yourself.

  • Use npm init gatsby to answer setup prompts and generate a new site.

  • Use gatsby new when you want to create a project from a starter. The Gatsby CLI can clone the boilerplate, install dependencies, and clear its Git history so the new project can have its own history.

Gatsby maintains a catalog of starters that you can customize. Choose a starter when its existing structure suits your site; otherwise, begin with the prompt-based setup and add features as you learn.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
Rank #3
Sale
iPazzPort 2.4G Mini Wireless Keyboard with Touchpad Mouse Combo
  • Compatible with Android TV Box, Raspberry Pi, HTPC, XBMC, PC, laptop without requiring a full-sized keyboard and mouse to remain connected. Note: This device does not support Bluetooth connection and cannot be paired with Bluetooth-enabled phones.
  • Advanced RF 2.4G wireless technology that delivers anti-interference and reliable connection.with USB receiver plug and play. enjoy up to 30Ft operating distance.
  • Use it to easily input text, browse the internet and play games with a unified keyboard and remote. You never have to leave the couch.
  • Support AAA battery and without backlight, easy to install and change (battery not provided in package).
  • Perfect for Multiple Scenarios: Remote Work, Gaming, Education & Learning, Smart Home, Outdoor Travel, Geeks & Developers. Tip: upgraded touchpad delivers enhanced sensitivity and smooth response. Convenient Keys: 1. Dedicated Return Key. 2. Extra left mouse key. 3. Side Scroll Up and Down Keys

Understand what Gatsby adds to a React site

Gatsby is an open-source, React-based static site generator. Its GraphQL data layer lets a site query data from files, plugins, or connected sources and use that data to build pages. The result is a site generated for hosting rather than a page that must assemble all of its content through a live server request. Netlify’s overview also describes Gatsby as a React-based static site generator that uses a GraphQL API layer to pull data: Netlify’s Gatsby overview.

For a first page, concentrate on editing a React component and seeing it render locally. The broader official tutorial then introduces the concepts that make Gatsby useful for larger content sites:

  • Styling: React components and CSS Modules for styling page elements.

  • Plugins and data: plugins to bring data into Gatsby, then GraphQL queries to access it.

    Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
    Rank #4
    Sale
    Wireless Keyboard and Mouse Combo - Full-Sized, Ergonomic Wrist Rest
    • DAILY COMFORT - Designed for home, office, and study use, this ergonomic wireless keyboard and mouse combo features a built-in palm rest, adjustable tilt legs, and a comfortable mouse shape. It helps support a more natural typing and clicking position during long workdays.
    • FULL-SIZE WITH HOLDER - The full-size keyboard includes a number pad for spreadsheets, emails, and daily work. The built-in holder keeps your phone or small tablet within view, helping you check messages, join calls, or follow content while keeping your desk organized.
    • QUICK SHORTCUTS - Common hotkeys give quick access to volume, media, calculator, and other daily functions. The 6-button mouse supports forward and backward browsing, making multitasking, web browsing, office work, and study sessions more efficient.
    • ONE USB RECEIVER - Connect both the keyboard and mouse with one 2.4GHz USB receiver, with no complicated setup or extra drivers needed. This wireless keyboard and mouse combo works well with laptops, desktops, Windows, and Mac for everyday computer use.
    • SMART SLEEP - The keyboard and mouse enter sleep mode when idle to help extend battery life, then wake quickly with a key press or mouse click. Backed by reliable customer support and a 2-year warranty for extra peace of mind.
  • Content: MDX transformation to use Markdown content alongside React components.

  • Page generation: programmatic page creation for content-driven sites.

  • Images: dynamic images as part of the site’s content workflow.

The official Gatsby tutorial walks through these topics by building a blog. You do not need to learn all of them before making a first page; they become relevant as you add content, data sources, and page templates.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
Best Value
GEODMAER 65% Gaming Keyboard and Mouse Combo, RGB Backlit Keyboard + 7200 DPI Gaming Mouse, Ultra-Compact Anti-Ghosting Wired Keyboard and Mouse for PC Laptop Gamer
  • 【65% Compact Design Gaming Keybaord】GEODMAER Wired Gaming keyboard and mouse combo compact mini design, save space on the desktop, novel black & silver gray keycap color matching, separate arrow keys, No numpad, both gaming and office, easy to carry size can be easily put into the backpack.
  • 【68 Keys RGB Backlit Keyboard】16.8 Million Colors RGB Backlit Gaming Keyboard using the new two-color injection molding key caps, characters transparent luminous, in the dark can also clearly see each key.
  • 【7200 DPI Gaming Mouse】Gaming Mice Supports up to 7200 DPI, with preset DPI settings of 400/800/1200/1600/2400/3200, which can be changed via the driver software. And can also customize the key functions through the driver.
  • 【Desktop Space Save Keyboard and Mouse Set】65% compact keyboard saves desktop space while retaining many key functions through function keys. Both the keyboard and mouse use extended 1.8 m braided cables, eliminating the hassle of insufficient length.
  • 【Ergonomics & Mechanical Feel Keyboard and Mouse】The ergonomically designed streamlined mouse, and gaming keyboard keycap height maintains the comfort for long time use, protects the wrist, and the mechanical feeling brought by the imitation mechanical technology when using it, an excellent mechanical feeling that can be enjoyed without the high price, and also a quiet membrane gaming keyboard. Perfect as a beginner's first set of esports gear.
Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

Deploy the site with GitHub and Netlify

The tutorial’s deployment path is local development, a GitHub repository, and a Netlify build. In that workflow, pushing changes to the repository’s main branch triggers a rebuild and redeployment.

  1. Save your site locally and push the project to a GitHub repository.

  2. Connect that repository to Netlify and let Netlify build the Gatsby project.

  3. After the build completes, open the hosted site at the URL Netlify provides.

    Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Gatsby’s tutorial describes Netlify detecting repository changes, building the project, and serving the finished site at a unique URL. For platform-specific setup and options, consult Gatsby’s hosting and deployment documentation, which covers adapters, zero-configuration deployments, headers, path prefixes, asset prefixes, and Netlify.

What to learn after your first page

Once you can edit a page and see the change locally, continue through the official tutorial in sequence: styling, plugins, GraphQL, MDX, programmatic pages, and dynamic images. This progression takes you from a simple React page toward a content-driven Gatsby site without requiring you to configure every feature at the outset.

Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.