Skip to content

Instantly share code, notes, and snippets.

@idleberg
Last active November 29, 2023 05:43
  • Star 16 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save idleberg/e0872d37f792d3d969f4f3d24698773f to your computer and use it in GitHub Desktop.
Scoop Aliases

Common aliases for the scoop package manager

# Install app
scoop alias add i 'scoop install $args[0]' 'Install app'
scoop alias add add 'scoop install $args[0]' 'Install app'

# Uninstall app
scoop alias add rm 'scoop uninstall $args[0]' 'Uninstall an app'
scoop alias add remove 'scoop uninstall $args[0]' 'Uninstall an app'

# List apps
scoop alias add ls 'scoop list' 'List installed apps'

# Update
scoop alias add u 'scoop update $args[0]' 'Update apps, or Scoop itself'
scoop alias add upgrade 'scoop update $args[0]' 'Update apps, or Scoop itself'
@Luckz
Copy link

Luckz commented Jun 19, 2019

scoop alias add ua 'scoop update *' 'Update all installed apps'
scoop alias add ca 'scoop cleanup *' 'Delete all old installed versions; better exit running programs first'
scoop alias add cc 'scoop cache rm *' 'Empty download cache'
scoop alias add s 'scoop status' 'Show status and check for new app versions'

the description block does not seem to be retained or used, so don't bother with that.

Typo above:
scoop alias add i 'scoop install $args[0]' 'Install app'

@kid1412621
Copy link

how can I pass multiple args?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment