Forrest logo
back to the asar tool


asar: Extract an archive.
$ asar extract ${path-to-archive-asar}
try on your machine

The command "asar extract ${path-to-archive-asar}" is used to extract the contents of an ASAR (Atom Shell Archive) file. ASAR is a simple packaging format commonly used by apps built with Electron framework.

Here's how the command works:

  1. "asar" refers to the ASAR command line tool.
  2. "extract" is a sub-command specifically used to extract the contents of an ASAR archive.
  3. "${path-to-archive-asar}" is a placeholder representing the actual file path of the ASAR archive you want to extract. You need to replace it with the specific path on your system.

By running this command, the ASAR archive specified by the provided file path will be unpacked, and its contents will be extracted to a directory in the same location as the ASAR file. The extracted files and directories can then be accessed and utilized outside of the archive.

This explanation was created by an AI. In most cases those are correct. But please always be careful and never run a command you are not sure if it is safe.
back to the asar tool