PS C:\Users\yuangezhizao> iex (new-object net.webclient).downloadstring('https://get.scoop.sh') Initializing... Downloading scoop... Extracting... Creating shim... Downloading main bucket... Extracting... Adding ~\scoop\shims to your path. 'lastupdate' has been set to '2020-10-31T11:51:59.1432975+08:00' Scoop was installed successfully! Type'scoop help'for instructions. PS C:\Users\yuangezhizao> scoop help Usage: scoop <command> [<args>]
Some useful commands are:
alias Manage scoop aliases bucket Manage Scoop buckets cache Show or clear the download cache checkup Check for potential problems cleanup Cleanup apps by removing old versions config Get or set configuration values create Create a custom app manifest depends List dependencies for an app export Exports (an importable) list of installed apps help Show help for a command hold Hold an app to disable updates home Opens the app homepage info Display information about an app install Install apps list List installed apps prefix Returns the path to the specified app reset Reset an app to resolve conflicts search Search available apps status Show status and check for new app versions unhold Unhold an app to enable updates uninstall Uninstall an app update Update apps, or Scoop itself virustotal Look for app's hash on virustotal.com which Locate a shim/executable (similar to 'which' on Linux) Type 'scoop help <command>' to get help for a specific command. PS C:\Users\yuangezhizao> scoop install curl Installing '7zip' (19.00) [64bit] 7z1900-x64.msi (1.7 MB) [=====================================================================================] 100% Checking hash of 7z1900-x64.msi ... ok. Extracting 7z1900-x64.msi ... done. Linking ~\scoop\apps\7zip\current => ~\scoop\apps\7zip\19.00 Creating shim for '7z'. Creating shortcut for 7-Zip (7zFM.exe) '7zip' (19.00) was installed successfully! Installing 'curl' (7.73.0_1) [64bit] curl-7.73.0_1-win64-mingw.tar.xz (2.2 MB) [===================================================================] 100% Checking hash of curl-7.73.0_1-win64-mingw.tar.xz ... ok. Extracting curl-7.73.0_1-win64-mingw.tar.xz ... done. Linking ~\scoop\apps\curl\current => ~\scoop\apps\curl\7.73.0_1 Creating shim for 'curl'. 'curl' (7.73.0_1) was installed successfully!
就可以用命令行调用了
1 2 3 4 5
Microsoft Windows [版本 10.0.17763.1518] (c) 2018 Microsoft Corporation。保留所有权利。 C:\Users\yuangezhizao>wherecurl C:\Users\yuangezhizao\scoop\shims\curl.exe