Skip to content

Latest commit

 

History

History
33 lines (20 loc) · 568 Bytes

install.md

File metadata and controls

33 lines (20 loc) · 568 Bytes
layout title
default
Installation

Prerequisites

node.js (npm included) required, please follow the installation guide:

Then verify the result:

$ node -v
$ npm -v

Installation

Choose one of the following ways to install leetcode-cli:

From npm repo

$ sudo npm install -g leetcode-cli

From source code

$ git clone http://github.com/skygragon/leetcode-cli
$ cd leetcode-cli && ./bin/install

Then verify the result:

$ leetcode version