Comments (3)
No directory will be created when performing the installation of Scoop, the value of the -ScoopGlobalDir
option you specified will be written to the config file of Scoop (located in <YOUR HOME DIR>\.config\scoop\config.json
by default) and it will be used when you install apps globally, the directory will be created at that time.
i don't know how to give those permissions at CLI.
Either start up a powershell session with Run as Administrator
or install the gsudo
app from the main bucket and type sudo scoop ...
from install.
using double quotes also makes the variables to be correctly parsed/highlighted :)
successful logs
> .\scoop_install.ps1 -ScoopDir "$env:DUF\scoop" -ScoopGlobalDir "$env:DPF\scoop_global"
VERBOSE: -------- PSBoundParameters --------
VERBOSE: [ScoopDir, D:\UserFiles\scoop]
VERBOSE: [ScoopGlobalDir, D:\ProgramFiles\scoop_global]
VERBOSE: -------- Environment Variables --------
VERBOSE: $env:USERPROFILE: C:\Users\...
VERBOSE: $env:ProgramData: C:\ProgramData
VERBOSE: $env:SCOOP:
VERBOSE: $env:SCOOP_CACHE:
VERBOSE: $env:SCOOP_GLOBAL:
VERBOSE: -------- Selected Variables --------
VERBOSE: SCOOP_DIR: D:\UserFiles\scoop
VERBOSE: SCOOP_CACHE_DIR: D:\UserFiles\scoop\cache
VERBOSE: SCOOP_GLOBAL_DIR: D:\ProgramFiles\scoop_global
VERBOSE: SCOOP_CONFIG_HOME: C:\Users\...\.config
Initializing...
Downloading...
VERBOSE: Cloning https://github.com/ScoopInstaller/Scoop.git to D:\UserFiles\scoop\apps\scoop\current
VERBOSE: Cloning https://github.com/ScoopInstaller/Main.git to D:\UserFiles\scoop\buckets\main
Creating shim...
Adding D:\UserFiles\scoop\shims to your path.
VERBOSE: Adding config root_path: D:\UserFiles\scoop
VERBOSE: Adding config global_path: D:\ProgramFiles\scoop_global
Scoop was installed successfully!
Type 'scoop help' for instructions.
from install.
also, i just noticed that it doesn't create any directory at the -ScoopGlobalDir
option. is that expected?
the reason that's special is 'cz that directory required admin permissions, and i don't know how to give those permissions at CLI.
from install.
Related Issues (20)
- [Bug] Installer should Respect transport protocol (git settings) HOT 6
- Invoke-Expression: Error HOT 9
- Check target path before installation HOT 5
- sei358
- [Bug] Cannot install Scoop HOT 2
- Check $env:PATH before installation
- Error installing git HOT 2
- Help
- Option for no side effects like updating the system path HOT 1
- Don't abort if already installed
- Abort when failing installation on CI
- Create `.gitignore` file in `scoop` directory
- Add support for other sources of Scoop app and main bucket HOT 2
- https://get.scoop.sh/ is down HOT 1
- [Bug] Installation Failure HOT 2
- [Bug] install.ps1 fails via ssh/headless, windows server 2022, ansible HOT 3
- installation *seems* to be ok, but many things don't work
- Install fail: Operation did not complete successfully because the file contains a virus or potentially unwanted software. HOT 2
- Failed on installing Scoop HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from install.