Installing, Enabling, and Verifying Atom Packages with apm: A Step‑by‑Step Guide
Learn how to use Atom’s built‑in package manager (apm) to install, enable, and verify packages. Follow prerequisites, detailed commands, sanity checks, and recovery steps to keep your editor stable.
11 Feb 2026, 20:01 UTC

Problem
When you want to extend Atom with new functionality you need a reliable way to install, enable, and confirm that a package is working. Atom ships with apm, a command‑line tool that handles all package operations, but many developers skip the verification step and run into hidden failures or broken dependencies.
Prerequisites
- Atom 1.60+ installed (apm is bundled with Atom).
- Active internet connection unless you install from a local tarball.
- Write permission to
~/.atom(or the project‑specific.atomfolder for local installs). - Optional: corporate proxy settings if your network requires them.
Procedure
- Open a terminal and verify
apmis available:apm --version # Expected output: 1.60.x or newer - Install the package globally (shared across all Atom windows). Replace
PACKAGE_NAMEwith the desired package.apm install PACKAGE_NAME # Example: apm install atom-beautify - Verify installation in the terminal:
apm list --installed | grep PACKAGE_NAME # Output should show PACKAGE_NAME@x.y.z enabled - Open Atom and navigate to Settings > Packages. Locate the package; the toggle should read ON and the icon should be active.
- Optional: Inspect detailed metadata to confirm version, dependencies, and install path:
apm info PACKAGE_NAME
Expected Checks
apm listshows the package with statusenabled.- In Atom’s Packages pane the toggle is
ONand the package icon is highlighted. - Running
apm inforeturns the current version and install path without errors. - Using the package’s functionality (e.g. pressing
Ctrl+Shift+Bfor atom‑beautify) produces the expected result.
Recovery Options
- To disable a misbehaving package:
apm disable PACKAGE_NAMEor toggle OFF in Settings. - To uninstall completely:
apm uninstall PACKAGE_NAME. - If
apmfails due to network issues, set proxy variables before running:export http_proxy=http://proxy.example.com:8080 export https_proxy=https://proxy.example.com:8080 apm install PACKAGE_NAME - Check Atom’s developer console (View > Developer > Show Dev Tools) for error messages if the package loads but behaves incorrectly.
- For project‑specific packages, remove the
.atomfolder or the entry frompackage.jsonand runapm installagain.
Concrete Example: Installing atom‑beautify
Below is a full, annotated run‑through on a typical Unix‑like system.
# 1. Verify apm
apm --version
# 1.60.5
# 2. Install atom-beautify globally
apm install atom-beautify
# Downloading and installing atom-beautify@2.1.0
# 3. Confirm installation
apm list --installed | grep atom-beautify
# atom-beautify@2.1.0 enabled
# 4. Inspect metadata
apm info atom-beautify
# (shows version, dependencies, install path, etc.)
After these steps, open Atom, go to Settings > Packages, find atom‑beautify and ensure the toggle is ON. Trigger the beautify command (default Ctrl+Shift+B) on any code file; the file should reformat according to the package’s rules.
Limitations & Practical Checks
- Packages from untrusted authors may contain malicious code; always review the source on GitHub or the Atom package page before installing.
- Corporate firewalls can block
apmdownloads; confirm that the proxy settings above work or that the network allows outbound HTTPS toatom.io. - Package updates can introduce breaking changes. Pin a stable version in
package.jsonor useapm install PACKAGE_NAME@x.y.zto lock the version. - Global installs affect all Atom instances; for per‑project isolation, place the package in the project’s
.atomfolder and runapm install PACKAGE_NAME --local.
By following this guide you can confidently add, enable, and verify Atom packages, keeping your development environment reliable and reproducible.
0 replies
A thoughtful contribution can make all the difference. Be the first to share one.