+> NVM for Windows used Go's [os.Rename](https://pkg.go.dev/os#Rename) to move files from temporary directories to the final installation directory. Thanks to explorations with [@thadguidry](https://github.com/thadguidry) in [#1198](https://github.com/coreybutler/nvm-windows/issues/1198) and [#1206](https://github.com/coreybutler/nvm-windows/issues/1206), we realized this function fails silently when attempting to move files across different hard drive volumes (like `C:\` and `E:\`). NVM for Windows uses Go's wonderful support for temporary directories to process installations, which use the primary volume (usually `C:\`). If you are using a different volume for your NVM for Windows installation, it would be subject to this nuance of the `os.Rename` method.
0 commit comments