atom
Edit text files, code, and more
TLDR
Open a file or directory
Open a file or directory in a [n]ew 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
--help
Display help information.
--version
Show version.
--wait
Wait for window to be closed before exiting.
--new-window
Open a new window.
--safe
Start in safe mode (disables packages from ~/.atom/packages).
--clear-window-state
Remove all saved state (window size, position, etc.).
--dev
Run in development mode.
--foreground
Keep the atom command process in the foreground.
[path ...]
Paths to files or directories to open in Atom.
DESCRIPTION
The atom command is used to launch the Atom text editor from the command line. It allows you to open files, directories, or create new files directly from your terminal.
Atom is a free and open-source text and source code editor based on Electron. It supports plugins written in Node.js, and embedded Git control, developed by GitHub.
This command provides a convenient way to integrate Atom into your workflow, enabling you to quickly edit files or start new projects without leaving the command line interface. It's especially useful for developers who prefer working within the terminal.
EXAMPLES
Open a file:atom my_file.txt
Open a directory:atom my_directory/
Create a new file:atom new_file.txt
Open a file and wait:atom --wait my_file.txt
SEE ALSO
code(1)