Skip to content

Commit

Permalink
Git dependency and alternate install
Browse files Browse the repository at this point in the history
Documented the dependency on Git and an alternate way to install using git and npm locally (solution from issue observing#45
  • Loading branch information
alecz20 authored Mar 14, 2017
1 parent 20c51d6 commit 38133bb
Showing 1 changed file with 16 additions and 4 deletions.
20 changes: 16 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,13 @@ fixes all of this.

### Dependencies

Thor requires Node.js to be installed on your system. If you don't have Node.js
installed you can download it from http://nodejs.org or build it from the github
source repository: http://github.com/joyent/node.
Thor requires Node.js and Git to be installed on your system.
If you don't have Node.js installed you can download it from http://nodejs.org
or build it from the github source repository: http://github.com/joyent/node.
If you don't have Git install you can download and install it from
https://git-scm.com/downloads or using your operating system's package manager.

Once you have Node.js installed, you can use the bundled package manager `npm` to
Once you have Node.js and Git installed, you can use the bundled package manager `npm` to
install this module:

```
Expand All @@ -22,6 +24,16 @@ npm install -g thor

The `-g` command flag tells `npm` to install the module globally on your system.

An alternate way to install is to first clone the git package with git:
```
git clone https://github.com/observing/thor.git
```
then install with npm locally:
```
cd thor/
npm install -g .
```

### Usage

```
Expand Down

0 comments on commit 38133bb

Please sign in to comment.