scoop search hugo
Scoop
is a
Windows
package manager that
is run
at a
command line.
You can
use it to
install, update,
and uninstall
GUI Windows apps
and
ℹ | Scoop is great for installing and updating command-line Windows apps, but I no longer use it to manage GUI Windows apps, because I like to view and optionally change the set-up options of my GUI apps. |
Other Windows package managers include…
Chocolatey Software’s Chocolatey
and Microsoft’s Windows Package Manager CLI (also known as winget).
To install Scoop, follow the instructions at github.com/lukesampson/scoop/wiki/Quick-Start.
💡 | Before your system allows you to install scoop, you may need to disable anti-virus software. For example, on my new computer,[1] I had to uninstall McAfee LiveSafe (which I was planning to do anyway). |
To run scoop
commands, you need to be at a command-line prompt.
Since scoop
is fundamentally a PowerShell script, I recommend running it from
a PowerShell
prompt (rather than a CMD or
Git Bash
prompt).[2]
To find out what, if any, variations of an app
are available through scoop, you can use scoop’s
search
command. For example, you can use the following to
search for the string hugo
.
(Hugo is
the
command-line static site generator
used by Infinite Ink.)
scoop search hugo
This displays something like this:
'main' bucket: hugo-extended hugo
To install hugo-extended, run this:
scoop install hugo-extended
Or, to install hugo (unextended), run this:
scoop install hugo
💡 | Both extended and unextended Hugo are named |
Thanks to scoop’s magic the hugo
command (which is actually a
shim) will now
be on your path and ready to use.
To
find out which directory the hugo
shim
is in, run one of the following commands.
In PowerShell, run:
gcm hugo
(or equivalently Get-Command hugo
)
In a nix-based shell, including Git Bash, run:
which hugo
In cmd.exe or Git Bash, run:
where hugo
To find out which directory the actual hugo.exe
is in, run
this if you installed hugo-extended
:
scoop prefix hugo-extended
Or, this if you installed hugo
:
scoop prefix hugo
‼ | In order for If you run |
Before you use scoop to update an app, make sure scoop knows about the latest version by running this:
scoop search hugo
On 2020-November-27, this was displayed on my system:
'main' bucket: hugo-extended (0.78.2) hugo (0.78.2)
Thanks to discourse.gohugo.io, I knew that v0.79.0 had been released so I did the following.
To update scoop’s app manifests (and scoop itself), run this:
scoop update
On 2020-November-27, my system displayed something like this:
Updating Scoop… ⋮ Updating 'extras' bucket… ⋮ Updating 'main' bucket… ⋮ * e6f097b4c hugo: Update to version 0.79.0 2 hours ago * 11f48741c hugo-extended: Update to version 0.79.0 2 hours ago ⋮
To make sure scoop is ready to install the latest version, search again:
scoop search hugo
After running the above scoop update
command,
my system displayed this:
'main' bucket: hugo-extended (0.79.0) hugo (0.79.0)
To update, run this:
scoop update hugo-extended
This displays something like this:
hugo-extended: 0.78.2 -> 0.79.0 Updating one outdated app: Updating 'hugo-extended' (0.78.2 -> 0.79.0) Downloading new version Downloading https://github.com/gohugoio/hugo/releases/download/v0.79.0/hugo_extended_0.79.0_windows-64bit.zip (38.5 MB)... Checking hash of hugo_extended_0.79.0_windows-64bit.zip ... ok. Uninstalling 'hugo-extended' (0.78.2) Removing shim for 'hugo'. Unlinking ~\scoop\apps\hugo-extended\current Installing 'hugo-extended' (0.79.0) [64bit] Loading hugo_extended_0.79.0_windows-64bit.zip from cache Extracting hugo_extended_0.79.0_windows-64bit.zip ... done. Linking ~\scoop\apps\hugo-extended\current => ~\scoop\apps\hugo-extended\0.79.0 Creating shim for 'hugo'. 'hugo-extended' (0.79.0) was installed successfully!
To make sure you’ve got the latest version installed, run:
hugo version
On 2020-November-27, the following was displayed on my system.
Hugo Static Site Generator v0.79.0/extended windows/amd64 BuildDate: unknown
If you want to uninstall a scoop-installed app, use a command like this:
scoop uninstall hugo-extended
To view a list of scoop comands and brief help on each, run:
scoop help
This will display something like this:
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.
Figlet is a nix-nux command that was created in 1991 (~30 years ago). For details, see FIGstory. To see if it’s been ported to Windows and is available through scoop, run:
scoop search figlet
This displays:
'main' bucket: figlet (1.0-go)
To open the home page of this figlet (1.0-go)
in your default browser, run:
scoop home figlet
Cool, it turns out that this is by Luke Sampson, scoop’s creator. This makes sense since I saw Windows figlet in action in Luke’s “Scoop Demo” video on Scoop’s home page.
To find out more about this app, run:
scoop info figlet
This displays something like this:
Name: figlet Description: Create large letters using ASCII art out of ordinary text. Version: 1.0-go Website: https://github.com/lukesampson/figlet License: BSD-3-Clause (https://spdx.org/licenses/BSD-3-Clause.html) Manifest: C:\Users\username\scoop\buckets\main\bucket\figlet.json Installed: No Binaries: figlet.exe
To see if it has any dependencies, run:
scoop depends figlet
This responds with a blank line, which means it has no dependencies.
To test it, run:
figlet "Scoop Rocks!"
This displays:
____ ____ _ _ / ___| ___ ___ ___ _ __ | _ \ ___ ___| | _____| | \___ \ / __/ _ \ / _ \| '_ \ | |_) / _ \ / __| |/ / __| | ___) | (_| (_) | (_) | |_) | | _ < (_) | (__| <\__ \_| |____/ \___\___/ \___/| .__/ |_| \_\___/ \___|_|\_\___(_) |_|
It worked!🎉
To display a list of the the buckets known to scoop, run:
scoop bucket known
This list is also available at github.com/lukesampson/scoop/tree/master/buckets.json. Below are the known buckets in January 2021.
main: github.com/ScoopInstaller/Main extras: github.com/lukesampson/scoop-extras versions: github.com/ScoopInstaller/Versions nightlies: github.com/ScoopInstaller/Nightlies nirsoft: github.com/kodybrown/scoop-nirsoft php: github.com/ScoopInstaller/PHP nerd-fonts: github.com/matthewjberger/scoop-nerd-fonts nonportable: github.com/TheRandomLabs/scoop-nonportable java: github.com/ScoopInstaller/Java games: github.com/Calinou/scoop-games jetbrains: github.com/Ash258/Scoop-JetBrains
Also see these related
Infinite Ink portals: #
To comment, you must be signed in to GitHub.