Node install on Windows Production Best Practices? #578
Replies: 2 comments
-
Now that I've read some more, I personally think this feels more like it's for DEV vs PROD. I think in PROD, I'm not going to be switching node versions that often. Still would love to see opinions on install directories, though! :) |
Beta Was this translation helpful? Give feedback.
-
For production, I tend to use containers. In dev, it's fine to put things under
|
Beta Was this translation helpful? Give feedback.
-
I'm willing to bet money that
NVM_HOME
is the path at which you installed nvm-windows. But what is the intended purpose forNVM_SYMLINK
?Is there anything wrong with putting everything under
C:\nodejs
?So, like, I want everything under the C:\nodejs. Does this make sense for a Production Node.js deployment to Windows?
C:\nodejs
C:\nodejs\nvm
C:\nodejs\node.exe
C:\nodejs\node_modules
C:\nodejs\node_modules\npm\
C:\nodejs\node_modules\some-global-install\
(think PM2)C:\nodejs\npm-cache
Beta Was this translation helpful? Give feedback.
All reactions