-
-
Notifications
You must be signed in to change notification settings - Fork 938
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
uninstall pnpm? #1033
Comments
We can add such command to Here's the destination where it is unpacked: |
Yes I need it too. How do we uninstall Will Edit:I tried So how do we clear entire store? Maybe a command like Edit 2:As Zoltan earlier told me few months back in some issue that So in my case, it got installed in another drive than my root drive & it was Anyways an option like this would be nice like Also, after uninstalling pnpm it should remove all the packages from |
I'm having the issue right now, any fixes? Operating System: Win 7 (64-bit) Steps that I made so far to uninstall:
Actual result: when running pnpm from command prompt, it still returns the configuration of pnpm. Expected result: when running pnpm from command prompt, it should return pnpm is not recognized as an internal etc... (YOU GET THE IDEA SINCE IT IS COMPLETELY UNINSTALLED/REMOVED) Note: I run |
|
Had an issue today, was terrible experience looking for the solution, when However, this is my approach (note: this only applies to Linux, haven't tested on Mac/Windows &
Note:
Note: |
@zkochan Feature request: could we have a After all, pnpm knows where al of its files and stores are, and is in the best position to uninstall itself. I think it would also help those who are new or hesitant to try it out - it's reassuring when you know that you can always try things out and then clean it all off your system with one command, if you don't like it. |
I have followed the various instructions above, and I'm getting
when I'm trying to run a globally-installed mocha. I've removed all of node and reinstalled it, and I can't find any environment variable or dot-file that still points to pnpm. |
Try to run |
After removing
any ideas? |
@Yaojian I am not sure how would that happen. Do you use the offline setting? |
This is the whole story:
``` Is there a way to fully uninstall pnpm or reset the store? |
You did fully remove the store. The seems unrelated to removing pnpm. Does it also happen with pnpm v5? |
Its pnpm 6.0.1 |
same issue here |
I documented how pnpm may be removed from the system: https://pnpm.io/uninstall There is not a single command currently. There are some manual steps. Please create new issues for unrelated things like issues with the global store. |
Just realised that pnpm also saves node modules in another folder... |
You may reduce the number of parallel network requests using the network-concurrency setting.
The files inside |
The global folder was in kbs, whereas .pnpm folder inside node modules was 300mb, please explain why is it the opposite? |
You probably looked into the wrong directory, to find that global content-addressable store, run |
That's the downside of using hard links. There isn't an "actual location" of the package files, they're all just pointers to the same disk storage, and you need to remove all of them in every place they're used before their storage gets released. |
I installed pnpm using |
The uninstall process is not fully automatic. But it is well described on this page: https://pnpm.io/uninstall |
I'm also having issues removing pnpm when using fnm. Seems I followed all the steps to remove pnpm but it seems like everytime I update my system pnpm (if I run |
I had to uninstall |
Ran into this problem today here are the steps I took:
This got to back to no pnpm on my system, I still have not figured out a great way to manage multiple version of pnpm and package I work on wants a very specific version of pnpm. |
Hard to Google 'uninstall pnpm' when
pnpm uninstall
is a command ;)I
curl -L https://unpkg.com/@pnpm/self-installer | node
, & am unsure how to undo that & remove the cache.The text was updated successfully, but these errors were encountered: