Hi Scoop community!
I've run through the issue section and wiki on GitHub in search for this, but have come up empty. I really enjoy how Scoop isolates installs to a single directory and isn't relying or requiring admin privileges, but I was wondering whether it's possible to change the installation path?
$ scoop install python # ends up in %userprofile%\scoop $ scoop install python --prefix c:\my\custom\dir # ends up in c:\my\custom\dir
Some approaches I've considered are:
%userprofile%\scoopto "trick" scoop into installing elsewhere.
But was hoping for something simpler. Alternative one doesn't work, for example, if the user already has apps installed there, unless I delete those first.
SCOOP_HOMEenvironment variables used by AppVeyor, and they seem to do the trick, somewhat. They don't appear editable post-install, as Scoop complains about directories missing, and about Scoop itself not being available in
apps/which is understandable. For now, since I'm calling this from within a script/wrapper, I'm working around it by recreating the SCOOP_HOME directory structure, including
apps/scoopprior to installing any apps. Not ideal, and am still interested to hear of alternatives!
SCOOP_HOMEis only used by the bucket scripts in
auto-pr.ps1, See: https://github.com/ScoopInstaller/Main/tree/master/bin)
Program 'node.exe' failed to run: The specified executable is not a valid application for this OS platform.
$Env:PATHcontents so I can restore my scoop installation? Windows has just reset my user
PATHenvironment variable completely after an update, and I can neither run scoop as it's not on PATH anymore, nor reinstall it from
get.scoop.shas the script says scoop is already installed. :/
scoop install foo bar baz?
du.exeshim that exists is the
gowobviously works, but this breaks as soon as
sysinternalsupdates and snags the
du.exefile again. I'm hoping there's a more robust solution.
getting new error today any ideas. Updating Scoop...
fatal: this operation must be run in a work tree
I am seeing this effect as well but only if the SCOOP environment variable is set. If I leave it in my %HOME% all works well. Any ideas?