# Setting Up Your Development Environment

Hi everyone!

In this article, you will learn to install Git and Node on your computer. I will advise you to follow along so as to achieve the same output as mine at the end of this article, I’m pretty sure it's going to be cool.

![Setup](https://images.unsplash.com/photo-1518117823675-9a4bb23df61c?ixid=MXwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHw%3D&ixlib=rb-1.2.1&auto=format&fit=crop&w=1500&q=80)
[*Image credit*](https://images.unsplash.com/photo-1518117823675-9a4bb23df61c?ixid=MXwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHw%3D&ixlib=rb-1.2.1&auto=format&fit=crop&w=1500&q=80)

## Steps are as follows:

---

- Install Git on your computer
- Set up some of the basic global configurations for Git
- Installing Node
- Complete the set up of Node.js and NPM on your machine
- Verify that the installation was successful and your machine is ready for using Node.js and NPM.

## Install Git on your computer

---

![git](https://cdn-media-1.freecodecamp.org/images/VQhi-KgyeBh6jegrDc2zaLOGxsBWq0Bw5dNq)
[*Image credit*](https://cdn-media-1.freecodecamp.org/images/VQhi-KgyeBh6jegrDc2zaLOGxsBWq0Bw5dNq)

- To install Git on your computer, go to [Git](https://git-scm.com/downloads 'Git Homepage') to download the Git installer for your specific computing platform.
- Then, follow the installation steps as you install Git using the installer.
- You can find more details about installing Git at [Git Details](https://git-scm.com/book/en/v2/Getting-Started-Installing-Git 'Git Details'). This document lists several ways of installing Git on various platforms.
- Installing some of the GUI tools like GitHub Desktop will also install Git on your computer.
  On a Mac, setting up XCode command-line tools also will set up Git on your computer.
- You can choose any of the methods that are most convenient for you.
  Some Global Configuration for Git

- Open a cmd window or terminal on your computer.
  Check to make sure that Git is installed and available on the command line, by typing the following at the command prompt:

`git --version`

- To configure your user name to be used by Git, type the following at the prompt:

`git config --global user.name "Your Name"`

- To configure your email to be used by Git, type the following at the prompt:

`git config --global user.email <your email address>`

- You can check your default Git global configuration, you can type the following at the prompt:

`git config --list`

- At the end of this process, you should have Git available on the command-line of your computer.

## Installing Node

---

![Node](https://upload.wikimedia.org/wikipedia/commons/thumb/d/d9/Node.js_logo.svg/1200px-Node.js_logo.svg.png)
[*Image credit*](https://upload.wikimedia.org/wikipedia/commons/thumb/d/d9/Node.js_logo.svg/1200px-Node.js_logo.svg.png)

- To install Node on your machine, go to [Nodejs Org](https://nodejs.org 'Node Homepage') and click on the Download button. Depending on your computer’s platform (Windows, macOS, or Linux), the appropriate installation package is downloaded.
- As an example, on a Mac, you will see the following web page. Click on the Download button. Follow along the instructions to install Node on your machine.
  -- Note: Now Node gives you the option of installing a mature and dependable LTS version and a newer stable version.

#### Complete the set up of Node.js and NPM on your machine

---

- Open a terminal window on your machine. If you are using a Windows machine, open a cmd window or PowerShell window with admin privileges.

#### Verify that the installation was successful and your machine is ready for using Node.js and NPM.

---

- To ensure that your NodeJS setup is working correctly, type the following at the command prompt to check for the version of Node and NPM

`node -v`

`npm -v`

At the end of this article, your machine is now ready with Git and Node installed for further development.

hope you find this article useful :) Don't forget to give a thumbs up.

you can also reach out to me on [Twitter](https://twitter.com/olanetsoft).


