atom
Edit text files, code, and more
TLDR
Open a file or directory
Open a file or directory in a new window
Open a file or directory in an existing window
Open Atom in safe mode (does not load any additional packages)
Prevent Atom from forking into the background, keeping Atom attached to the terminal
Wait for Atom window to close before returning (useful for Git commit editor)
SYNOPSIS
atom [options] [path ...]
PARAMETERS
-a, --add
Add folder(s) to Atom instead of opening them as the workspace
-n, --new-window
Open contents in a new Atom window
-w, --wait
Wait for Atom to be closed before returning to the shell (useful with &)
-h, --help
Print usage information
-v, --version
Print current version
-d, --dev
Open a DevTools window
-c, --clear-window-state
Clear Atom window state stored in ~/.atom/storage
--safe-mode
Do not load packages or config
-r, --resource-path
Print path to Atom resources
-i, --install
Install named package(s) to ~/.atom/packages
--timeout=<ms>
Timeout for opening files (default: 60000)
--benchmark
Benchmark startup performance
--log-file=<path>
Log output to specified file
--enable-crash-reporter
Enable crash reporting
--profile-startup
Profile the startup process
DESCRIPTION
The atom command launches Atom, a popular open-source text editor for the 21st century developed by GitHub. Built on Electron with web technologies (HTML, CSS, JavaScript), it offers deep customization via packages, themes, and a tree-sitter-powered grammar system.
Key strengths include a built-in package manager (apm), Git/GitHub integration, snippet support, multiple cursors, split panes, and a fuzzy-finder command palette. Users can open files, directories, or URIs from the terminal, making it ideal for developers.
Example: atom . opens the current directory in Atom.
Though feature-rich and cross-platform (Linux, macOS, Windows), Atom faced performance critiques due to Electron. It powered workflows for web development, configuration editing, and more, with millions of users before its end-of-life.
CAVEATS
Atom is discontinued since December 15, 2022; no further updates or security patches. Migrate to Visual Studio Code or forks like Pulsar.
PACKAGE MANAGEMENT
Use apm command for installing themes/packages: apm install package-name.
INSTALLATION ON LINUX
Download .deb/.rpm from atom.io or use Snap/Flatpak. Adds atom to PATH.
HISTORY
Released June 2014 by GitHub as a modern Emacs/Vim alternative. Gained popularity with 50k+ packages. Microsoft acquired GitHub in 2018; sunset announced 2022 due to Electron costs, urging VS Code migration.


