Skip to content

Instantly share code, notes, and snippets.

@bitoiu
Forked from hollenberry/electron-prerequisites.md
Created September 7, 2017 12:23
Show Gist options
  • Save bitoiu/fb8498870615d8a52aef03eaf71e0b8b to your computer and use it in GitHub Desktop.
Save bitoiu/fb8498870615d8a52aef03eaf71e0b8b to your computer and use it in GitHub Desktop.
Electron Workshop Prerequisites

Prerequisites

  • Install Git
  • Get familiar with Git commands
  • Install a text editor
  • Install Node.js

Install Git

macOS

  • Mac users, while you probably already have a version of Git on your system, it may be out-of-date.
  • Consider installing the latest stable version of Git with Homebrew
    brew install git
  • If you prefer a GUI, try GitHub Desktop

Windows

  • Git for Windows is an easy way to install the Git command line tools on Windows.

Linux

  • While some Linux distributions come with a version of Git installed, it's often out-of-date. This guide has recommended commands to install Git with your distribution's preferred package manager.

Get familiar with Git commands

You'll want to know how to fork and clone a Git repository, and how to check out a branch.

If you need a refresher, consider exploring our free on-demand training.

Install a text editor

Install Node.js

Q: Why do we need to install Node.js if Electron includes Node.js?

A: While Electron does include its own version of Node.js, what we'll install first includes npm, the Node Package Manager. NPM is what powers our dependency installation and build processes.

macOS

Windows

Linux

  • Let's leave this up to users, making the assumption that as Linux users they can figure it out 😁
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment