Skip to content
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

How to use scoop after reinstalling the system #2894

Closed
jiayaoO3O opened this issue Dec 14, 2018 · 11 comments
Closed

How to use scoop after reinstalling the system #2894

jiayaoO3O opened this issue Dec 14, 2018 · 11 comments

Comments

@jiayaoO3O
Copy link

If I want to reinstall the system, I should copy the scoop directory to a safe place, put it in the user directory after reinstalling, and then execute the following command?
iex (new-object net.webclient).downloadstring('https://get.scoop.sh')
thanks : )

@Ash258
Copy link
Contributor

Ash258 commented Dec 14, 2018

You need to add system environment paths as you have right now manually, because installier will fail with Scoop is already installed

  1. You need to Copy scoop's folder when you want it to have.
  2. Add location from first step as $env:SCOOP
  3. Append $env:SCOOP\shims to path
  4. run scoop reset *

@jiayaoO3O
Copy link
Author

thanks 👍

@xiehao
Copy link

xiehao commented Sep 14, 2019

Thanks for your help, but when I run scoop reset *, I got this:

Linking Y:\Scoop\apps\7zip\current => Y:\Scoop\apps\7zip\current
Error: Version 'current' is not allowed!

@jiayaoO3O
Copy link
Author

@xiehao Try to used admin powershell

@xiehao
Copy link

xiehao commented Sep 14, 2019

@xiehao Try to used admin powershell

Actually it is run as admin.

@xiehao
Copy link

xiehao commented Sep 14, 2019

@jiayaoO3O
Copy link
Author

那可能是scoop的app中所有软件的current文件夹变成了一个真正的文件夹,而不是一个软链接,你试试双击打开current文件夹看看里面有什么东西,如果没东西,试试把current删了,让scoop自动生成一个新的

@xiehao
Copy link

xiehao commented Sep 14, 2019

@jiayaoO3O 好使了,多谢多谢!

@lszxyz
Copy link

lszxyz commented Jan 5, 2022

before i reinstall the system,the scoop path user/A,and if i copy the file to other pc , user/B and scoop reset *,Is it feasible

@jiayaoO3O
Copy link
Author

@lszxyz Yes, but even if you change your computer, the installation directory of scoop should be C:\Users\ {your name}\scoop

@hoyien
Copy link

hoyien commented Aug 19, 2022

It can`t solve,because some soft install need regedit.Example Web page calls app telegram。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants