

With this we have node, npm and a bash shell ready to go. You will probably want to go with nvm-windows, these are the main commands: # install node version But it doesn't involve subshells, which makes it better for some others Nvm has to be sourced rather than being run, and thus is a little bit wonky for some use cases. There is also a windows version of nvm called nvm-windows. There are a couple of tools that we could use to do that: nave and nvm. Once we have node, npm and a Bash shell running in our machine, we want to have a way to quickly switch and upgrade between node versions. Switch easily between node versions without admin rights You can still install Gitbash without admin rights, but you will have to make sure that checkbox is unchecked. This is to right click on Windows Explorer and be able to do Git commits. Note that during installation, there is a checkbox for integrating Git Bash with Windows explorer.

If you go that route then everyone on the team would need to have Git bash installed. This is not mandatory but it's a great thing to have when using npm, and a good way of building npm scripts that work both on the server and on a developers PC. For more complex builds we want to look into Webpack or Gulp but for certain things it's great to have Bash around.Ī bash shell that you can install in Windows with no admin rights is Git Bash, available together with the overall installation of Git: This is because like that you don't have to use one shell on the server and another on your PC, so fewer things to install and commands to keep in mind.Īlso if you like to use NPM scripts, it's great to be able to use some shell commands if needed. How to install a bash shell on Windows without admin rightsĪ great thing to have with node command line tools is a Bash shell, even if you are running on Windows. What tends to work best is to use the LTS only if we are running node as a server, and use the latest version for the command line tooling. Command line tools very quickly break with the long term support versions. If this is still the case, or the npm website is blocked, you can still download node and npm as a zip file and install it manually.įor that, head over to the following URL and download the version you need: įor tooling its better to download the latest version, and not the long term support version. This is because the installer tried to make an entry in the registry and this is typically forbidden in most companies. If you are installing node and don't have admin rights, at least a while ago this was not possible using the download link on their site. How to install node and npm on Windows without admin rights
