The eramdisk Tool

Everything you can do in the app window, you can do from the terminal.

  • The same commands on Windows, macOS and Linux.
  • JSON output for scripts, completion for commands and disk names.
  • The same disks, templates and settings as in the app window.
  • On a server, you can install just the service and the tool, without the graphical interface. Updates with eramdisk update.

Main Commands

eramdisk create -s 2G -n Build                 # 2 GB disk named Build
eramdisk create -s 2G -n Build -f ntfs         # on Windows: NTFS, so it can grow later
eramdisk create -t npm                         # disk from a template
eramdisk create -s 4G -n Build --startup       # disk created at every startup
eramdisk redirect add Build ~/src/app/target   # move a folder to the disk
eramdisk redirect add Build C:\src\app\target  # on Windows, a full path
eramdisk grow Build                            # enlarge as far as memory allows; on Windows, NTFS disks only
eramdisk list                                  # disks and how much they use
eramdisk history                               # memory and disks over 24 hours
eramdisk eject Build                           # eject the disk
eramdisk help                                  # all commands

The --json option is available for list, status, create, history and other commands that show something.

Where to Get It