Jelajahi Sumber

suggest installing globally when using npm

Gildas 5 tahun lalu
induk
melakukan
3aa2d04194
1 mengubah file dengan 2 tambahan dan 8 penghapusan
  1. 2 8
      cli/README.MD

+ 2 - 8
cli/README.MD

@@ -22,15 +22,9 @@ SingleFile can be launched from the command line by running it into a (headless)
   
   
     `cd cli`    
     `cd cli`    
     
     
-  - Download with `npm`
+  - Download and install globally with `npm`
     
     
-    `npm install 'gildas-lormeau/SingleFile#master'`
-       
-    `cd node-modules`
-       
-    `cd single-file`
-       
-    `cd cli`  
+    `npm install -g 'gildas-lormeau/SingleFile#master'`           
   
   
   - Download with `git`
   - Download with `git`