@@ -7,10 +7,10 @@ title: Installation
77
88` node.js ` (` npm ` included) required, please follow the installation guide:
99
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/ )
1212
13- You might wanna choose the latest stable release on the list.
13+ Please install the latest LTS version on the list above .
1414
1515Then verify the result:
1616
@@ -23,10 +23,18 @@ Choose one of the following ways to install leetcode-cli:
2323
2424### From npm
2525
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.
2727
2828 $ npm install -g leetcode-cli
2929
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+
3038### From GitHub
3139
3240This will install the latest development version on GitHub.
@@ -35,7 +43,7 @@ This will install the latest development version on GitHub.
3543
3644### From local source
3745
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 .
3947
4048 $ git clone http://github.com/skygragon/leetcode-cli
4149 $ cd leetcode-cli && ./bin/install
0 commit comments