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

Better documenting of environment variables #2270

Closed
spadino opened this issue May 18, 2018 · 3 comments · Fixed by #4594
Closed

Better documenting of environment variables #2270

spadino opened this issue May 18, 2018 · 3 comments · Fixed by #4594

Comments

@spadino
Copy link
Contributor

spadino commented May 18, 2018

Just clean reinstalled my windows to the last build, and I took the chance to rethink the whole layout.
I permanently and globally moved my Users folder to another partition (D:) and, as soon as my OS is ready, I proceeded to install scoop.

Part of my layout rethinking also was how and where programs installed. At first, I took a look at how scoop use its environment variables, and I saw that I could change many of them. So, I decided that I want users installed programs available for all users, but in the same partition of my users, and globally available tools - development, etc... - in the root of the first partition. As I already used c:\Tools for some other addons and programs, I opted for it. So, that's becomes my setup routine:

After opened Power Shell:

[environment]::setEnvironmentVariable('SCOOP','D:\Tools','User')
$env:SCOOP='D:\Tools'

That's put user installed apps in a folder available for all users to read from.
Than:

[environment]::setEnvironmentVariable('SCOOP_GLOBAL','C:\Tools','User')
$env:SCOOP_GLOBAL='C:\Tools'

That tell to scoop to install in C:\Tool all global programs, for a convenient and clean approach.

Finally:

iex (new-object net.webclient).downloadstring('https://get.scoop.sh')

and all is ready to go!

I think that it is not a real issue, but if environment variables could be better documented, many other users can benefit from them!

@r15ch13
Copy link
Member

r15ch13 commented May 18, 2018

Thanks, you are absolutely right! 👍
It's mentioned briefly on the Quick-Start Wiki Page but I think it should also be added to the README.md and also to the main website. May I ask you for a pull-request? 😄

@spadino
Copy link
Contributor Author

spadino commented May 19, 2018

@r15ch13, thanks for your feedback. I certainly can prepare a pull request, however I'm not sure I have much more information to include. I'll give it a look, ok? ;)

@nicksettoon
Copy link

nicksettoon commented Nov 29, 2023

just FYI this is still not clearly documented in either the README or the Quick Start. you have to go to a powershell script to get the full list and defaults as far as i can tell.

#4579

https://github.com/ScoopInstaller/Scoop/blob/5e3dd663f8cac03fd573404350673e8a81e9309a/libexec/scoop-config.ps1

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

Successfully merging a pull request may close this issue.

4 participants