[GH-ISSUE #37] Install it in another drve #241

Closed
opened 2026-03-15 02:38:16 +03:00 by kerem · 4 comments
Owner

Originally created by @ArdiArtani on GitHub (May 9, 2015).
Original GitHub issue: https://github.com/asapach/peerflix-server/issues/37

how to install it in my F drive??

I did in cmd first

  1. F:
  2. created a folder peerflix, in cmd entered cd peerflix
  3. npm install -g peerflix-server
  4. peerflix

and the temp folder to bo in F drive where the downloaded movies store

Originally created by @ArdiArtani on GitHub (May 9, 2015). Original GitHub issue: https://github.com/asapach/peerflix-server/issues/37 how to install it in my F drive?? I did in cmd first 1. F: 2. created a folder peerflix, in cmd entered cd peerflix 3. npm install -g peerflix-server 4. peerflix and the temp folder to bo in F drive where the downloaded movies store
kerem 2026-03-15 02:38:16 +03:00
  • closed this issue
  • added the
    question
    label
Author
Owner

@asapach commented on GitHub (May 9, 2015):

What you really want is to override the default configuration: create a new file C:\Users\<user>\.config\peerflix-server\config.json and paste this:

{
  "tmp": "f:/<your-folder>"
}
<!-- gh-comment-id:100514391 --> @asapach commented on GitHub (May 9, 2015): What you really want is to override the default configuration: create a new file `C:\Users\<user>\.config\peerflix-server\config.json` and paste this: ``` json { "tmp": "f:/<your-folder>" } ```
Author
Owner

@ArdiArtani commented on GitHub (May 10, 2015):

it worked :)

one more question i want the peerflix-server folder to be too on F drive the one that is installed in C:\Users\AppData\Roaming\npm\node_modules

how can i do that ??

<!-- gh-comment-id:100572920 --> @ArdiArtani commented on GitHub (May 10, 2015): it worked :) one more question i want the peerflix-server folder to be too on F drive the one that is installed in C:\Users<user>\AppData\Roaming\npm\node_modules how can i do that ??
Author
Owner

@asapach commented on GitHub (May 10, 2015):

When you run npm -g i, it will install with the rest of the global npm modules.
If you run npm i without -g, it will install into the current folder, but it will no longer be in the PATH, so you'll have to call it by full path, or by running npm start when you cd inside node_modules.

<!-- gh-comment-id:100633354 --> @asapach commented on GitHub (May 10, 2015): When you run `npm -g i`, it will install with the rest of the global npm modules. If you run `npm i` without `-g`, it will install into the current folder, but it will no longer be in the `PATH`, so you'll have to call it by full path, or by running `npm start` when you `cd` inside `node_modules`.
Author
Owner

@ArdiArtani commented on GitHub (May 10, 2015):

thank you :)

<!-- gh-comment-id:100714206 --> @ArdiArtani commented on GitHub (May 10, 2015): thank you :)
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/peerflix-server#241
No description provided.