@@ -7,10 +7,10 @@ title: Installation
7
7
8
8
` node.js ` (` npm ` included) required, please follow the installation guide:
9
9
10
- * https://nodejs.org/en/download/package-manager/
11
- * https://nodejs.org/en/download/
10
+ * [ Install from package manager ] ( https://nodejs.org/en/download/package-manager/ )
11
+ * [ Install from directly download ] ( https://nodejs.org/en/download/ )
12
12
13
- You might wanna choose the latest stable release on the list.
13
+ Please install the latest LTS version on the list above .
14
14
15
15
Then verify the result:
16
16
@@ -23,10 +23,18 @@ Choose one of the following ways to install leetcode-cli:
23
23
24
24
### From npm
25
25
26
- This will install the latest stable release , but not include the latest development version.
26
+ This will install the latest stable version , but not include the latest development version.
27
27
28
28
$ npm install -g leetcode-cli
29
29
30
+ In case Ubuntu failed due to ` permission denied ` , run following and try again:
31
+
32
+ $ curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.8/install.sh | bash
33
+ $ source ~/.bashrc
34
+ $ nvm install --lts
35
+
36
+ See more details [ here] ( https://docs.npmjs.com/getting-started/fixing-npm-permissions ) .
37
+
30
38
### From GitHub
31
39
32
40
This will install the latest development version on GitHub.
@@ -35,7 +43,7 @@ This will install the latest development version on GitHub.
35
43
36
44
### From local source
37
45
38
- Similar with above, while you can introduce your changes as you like .
46
+ Similar with above, while you can introduce your own changes as you wish .
39
47
40
48
$ git clone http://github.com/skygragon/leetcode-cli
41
49
$ cd leetcode-cli && ./bin/install
0 commit comments