83

Apparently my puny hard drive can't handle the awesomeness of Payday 2, XCOM: Enemy Unknown, and Fallout: New Vegas all being installed on my hard disk at the same time.

I spent all my money buying Payday, XCOM and New Vegas so now I can't afford a bigger hard drive. I need to uninstall some of my old games to make room.

Is there a way to sort my Steam games by size on disk? I would prefer to only remove one game rather than several.

5
  • Before you ask, it's 120 GB.
    – Steve V.
    Aug 16, 2013 at 1:31
  • 1
    The 120gb is an ssd right? Don't you have another drive where you can install games on?
    – Lyrion
    Aug 16, 2013 at 6:39
  • @Lyrion - Nope. It's not an SSD, it's just a standard 120GB hard drive. I have a very cheap gaming computer so that I can have a very nice work computer.
    – Steve V.
    Aug 16, 2013 at 14:55
  • 2
    Wouldn't it be nicer to spend a little less money on your working computer and some more on your gaming computer? Well depending on your work ofcourse...
    – Lyrion
    Aug 19, 2013 at 6:29
  • Can we change the accepted answer to this question? The UI has been updated, and a new answer explains how to do this with the new UI. Sep 7, 2020 at 16:52

4 Answers 4

52

In the newer version of Steam, go to LIBRARY

and in the second block ("shelf") under "WHAT'S NEW", set dropdown to "ALL" and "SORT BY" "Size on Disk".

enter image description here

3
  • 10
    This should now be the accepted answer as this layout is now being used by the Steam Client Apr 15, 2020 at 15:02
  • 1
    I agree with the above comment. But also, is there no way to show this in a list? Going through this view takes longer since the images are so large. I just got an SSD and want to move everything from C to it. Since I probably won't get a response soon, I'll just look in C:\Program Files (x86)\Steam\steamapps\common Jun 15, 2020 at 1:15
  • 1
    @RubelliteFae see my new answer
    – khaverim
    Jun 17, 2020 at 1:29
86

Yes. If you go to library and use 'list view' (accessible using the circled button) , then right click in the bar which says Games/Status/Metascore you can select the displayed columns. Click on 'Size on Disk' so that appears as a column, then click on the column header to sort.

Steam menu bar

If it defaults to showing them in descending order, another click will change the order to ascending.

6
  • 1
    Nice. That probably doesn't include savegames stored e.g. at %appdata%, right?
    – Zommuter
    Aug 16, 2013 at 10:05
  • 16
    Additional Suggestion: windirstat.info - Windirstat is a great tool for hard drive useage. You can select a drive or a folder (in case there are other things on the drive that might be taking up space) and get stats and a visualization of what is taking up space. (Especially if you have "other" stuff on the drive in question)
    – WernerCD
    Aug 16, 2013 at 13:12
  • 2
    Addition to additional suggestion: for Linux (and probably SteamOS) baobab (Gnome's disk usage analyzer) does very well
    – Wilf
    Nov 18, 2015 at 0:39
  • 1
    Disk Inventory X is the Mac OSX version of WinDirStat and his highly recommended for Mac users: derlien.com
    – disperse
    Feb 22, 2018 at 0:25
  • 7
    This appears to be out of date.
    – jvriesem
    Jun 16, 2020 at 17:15
7

In the current version of Steam (October 2021), go to Settings/Preferences... -> Downloads -> STEAM LIBRARY FOLDERS

Settings

This will open the "Storage Manager" where you can select Sort By: Size on Disk

Here you can also conveniently remove games.

Storage manager

4

Another way to get your games lined up by size on Windows which I adapted from here, and is a little technical, is thus:

Open PowerShell (windows key, search powershell) and run (copy+paste) these commands:

1) cd C:\Program Files (x86)\Steam\steamapps\common\ (or wherever your games are stored)

2)

function du($dir=".") {
gci . | 
  %{$f=$_; gci -r $_.FullName | 
    measure-object -property length -sum |
    select  @{Name="Name"; Expression={$f}}, 
            @{Name="Sum (GB)"; 
            Expression={"{0:N3}" -f ($_.sum / 1GB) }}, Sum } |
  sort Sum -desc |
  format-table -Property Name,"Sum (GB)", Sum -autosize
}

This makes a custom function that emulates Unix's du.

3) du

My output, for example:

Name                            Sum (GB)         Sum
----                            --------         ---
Total War THREE KINGDOMS        33.443   35909039516
PlanetSide 2                    14.001   15033674892
GarrysMod                       12.345   13255649379
Sid Meier's Civilization VI     10.941   11748131253
Cities_Skylines                 10.821   11618987046
Sid Meier's Civilization V      7.706     8274111473
Skyrim                          5.618     6031946296
Counter-Strike Source           4.311     4628808572
SpaceEngine                     4.060     4359200968
ProjectZomboid                  3.272     3513211040
Eve Online                      2.878     3090069433
Risk of Rain 2                  2.023     2172673698
Rollercoaster Tycoon 2          1.252     1344095911
MountBlade Warband              1.233     1324245692
Steamworks Shared               0.885      950038706
Stronghold                      0.834      895090145
Terraria                        0.274      293967879
Rust                            0.173      186144088
Dying Light                     0.127      135939819
Grand Theft Auto V              0.109      116674056
Realm Grinder                   0.044       47739977
Half-Life 2                     0.036       38305374
Counter-Strike Global Offensive 0.035       37479143
Left 4 Dead 2                   0.006        6825097
BorderlandsPreSequel            0.005        5884085
left 4 dead                     0.001        1075611
Unturned                        0.000         188449
Borderlands 2                   0.000         171267
Total War Rome II               0.000          83768
SharecareVR                     0.000           5939
The Walking Dead                0.000            957
The Witcher 3                   0.000              8

The directories at the bottom are nearly empty because I uninstalled the games and there are some residual files, or the bulk of the files are installed on another drive.

This is one of the many reasons that video games are the only reason I use Windows, but alas..

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .