GithubHelp home page GithubHelp logo

Comments (3)

chawyehsu avatar chawyehsu commented on July 29, 2024 1

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.

goyalyashpal avatar goyalyashpal commented on July 29, 2024

image

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.

goyalyashpal avatar goyalyashpal commented on July 29, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.