How to customize the Home path #1657
Unanswered
xiaoxustudio
asked this question in
Q&A
Replies: 1 comment
|
On Windows I would do it in this order: # set it for future shells
[Environment]::SetEnvironmentVariable("VP_HOME", "D:\\Tools\\vite-plus", "User")
# also set it for the current shell
$env:VP_HOME = "D:\\Tools\\vite-plus"
# recreate/update shims for the new home
vp env setupThen open a new terminal and check that If you do not care about the old cached runtimes/packages, you can leave the old The main rule is: make sure |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
My operating system is Windows. I want to customize the storage path for vite-plus (currently it defaults to the
C:\\\xxx\.vite-plusfolder). I found the environment variable "VP_HOME" in the repository and have set it. However, I'm not sure what to do next. Just to be safe, I haven't carried out any actions yet.I'm not quite sure whether to simply move the old
.vite-plusfolder directly.How should I proceed with the next step?
All reactions