Error when installing packages

I am trying to install packages in a new installation of julia. I always get this error.
ERROR: ArgumentError: “H:\Temp\Admin” is not a directory. The problem is that I don’t even have a hard disk H drive. I understand that the problem is that this path does not exist but I have not found how to modify the path where the package will be installed.

I conjecture that your TMP or TEMP or similar environment variable points to H:.

It looks like Pkg is trying to create a temporary file using tempdir(). Cf

Thanks a lot. I modify the TMP environment variable to define the correct path.