From 533eb87c6ae22032eaf274771a06568d91dcd60e Mon Sep 17 00:00:00 2001 From: Mahir92 Date: Thu, 29 Sep 2022 18:36:51 -0400 Subject: [PATCH] Add environment setup steps for Windows --- env-setup/Windows.txt | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 env-setup/Windows.txt diff --git a/env-setup/Windows.txt b/env-setup/Windows.txt new file mode 100644 index 0000000..865dc37 --- /dev/null +++ b/env-setup/Windows.txt @@ -0,0 +1,10 @@ +Installing node, and npm in Windows using nvm: + +1. Install nvm using https://github.com/coreybutler/nvm-windows/releases (nvm-setup.exe) + => Helpful when it comes to switching between different versions of node easily +2. By default, nvm will be installed in C:\Users\\AppData\Roaming\nvm +3. If installed properly, the command `nvm list available` will show the list of all available node versions for the nvm +4. Use `nvm install ` to install the desired node version +5. The installed version will be located in C:\Users\\AppData\Roaming\nvm\v +6. Open powershell in admin mode, and run command `nvm use ` to switch to the desired installed node version +7. If done properly, the commands `node -v`, and `npm -v` or `npx -v` will print the node, and npm/npx versions respectively \ No newline at end of file