Open In App

apm Command in Linux With Examples

Improve
Improve
Like Article
Like
Save
Share
Report

APM is the abbreviation for Atom Package Manager. It is used to install and manage Atom Packages. This command uses NPM (Node Package Manager) internally and spawns npm processes to install Atom packages. This command requires the Advanced Power Management subsystem. If run without arguments it reads /proc/apm and presents the output in a human-readable format.

Syntax:

apm [ -VvmMsSdin ] or apm <command>

 

Options of apm Command:

1. -h or –help : To see the more details about a specific command along with a usage message.

Syntax:

apm --help <command>

apm help command

2. -v or –version : Prints the version of apm installed along with related applications.

Syntax :

apm -v or apm --version

apm version

3. -verbose : Along with the version of apm it also print version information for the APM subsystem.

Syntax: 

apm --verbose

4. -M, –monitor : Continuously monitor and update the status information. Assumes that the standard output is a terminal.

Syntax: 

apm -M or apm --monitor

5. -S, –standby : Request that the machine be put into the APM standby state.

Syntax: 

apm -S or apm --standby

6. -d, –debug : Print APM status information in a format more useful for debugging.

Syntax: 

apm -d or apm --debug

7. -s, –suspend : Request that the machine be put into the APM suspend state.

Syntax:

apm -s or apm --suspend

Last Updated : 30 Jun, 2020
Like Article
Save Article
Previous
Next
Share your thoughts in the comments
Similar Reads