scoop outdated command

Created on 30 Aug 2014  Â·  11Comments  Â·  Source: lukesampson/scoop

One feature about I love about Mac's Homebrew that I'd love to see in scoop is an outdated command that I can run to quickly see which of my packages have updates to install. I don't necessarily want to install them all so scoop update * doesn't really fit the bill. Is there anything like this already? Nothing stood out to me when I ran scoop help.

If it's not too complex, I think it'd be a useful command to have available.

Most helpful comment

This should do the trick: scoop alias add outdated 'scoop status'

All 11 comments

scoop status will show you if there are new versions to install. I just updated the help summary to mention that—thanks for pointing that out!

Sounds good to me. I'll close the request.

Would it be worth aliasing scoop outdated to scoop status for consistency with brew?

... and with npm and yarn. "outdated" is in my muscle memory now :)

This should do the trick: scoop alias add outdated 'scoop status'

That didn't work for me:

$ scoop alias add outdated 'scoop status'

$ scoop outdated
Usage: scoop <command> [<args>]

Some useful commands are:
...

Hm. Can you check if ~\scoop\shims contains a scoop-outdated.ps1 with this content:

# Summary: 
scoop status

The file exists but contains this:

# Summary: status
scoop

Maybe the ' where misinterpreted. Try scoop alias add outdated "scoop status"

That didn't help either. I usually live in Git Bash so I tried to switch to PowerShell for adding the alias and that worked, so it's shell-related.

I don't have much experience yet with running PowerShell scripts from Git Bash as not many binaries I run are written in this language / technology, so I'll need to explore it more.

scoop needs to be run via winpty to work in Git Bash, all works fine after I've set up this alias in .bashrc:

alias scoop='winpty scoop.cmd'
Was this page helpful?
0 / 5 - 0 ratings

Related issues

roysubs picture roysubs  Â·  3Comments

SinisterBlade picture SinisterBlade  Â·  3Comments

vpratfr picture vpratfr  Â·  3Comments

Arnavion picture Arnavion  Â·  3Comments

notlmn picture notlmn  Â·  3Comments