How to set shell commands in Atom to enable atom command?

Can someone tell me how to install shell commands for Atom to enable the command atomon the command line?

+4
source share
3 answers

According to the Atom Flight Manual , they must be installed the first time Atom starts.

When you first open the Atom, he will try to establish the team atomand apmfor use in the terminal. In some cases, Atom may not be able to install these commands because it needs an administrator password. To check if Atom was able to install the command atom, for example, open a terminal window and enter which atom. If the command is atominstalled, you will see something like this:

$ which atom
/usr/local/bin/atom
$

If the command has atomnot been installed, the command whichwill return nothing:

$ which atom
$

To install commands atomand apm, run "Window: Install Shell Commands" from the Command Palette , which will enter the administrator password.

(Mac) /usr/local/bin, .

EDIT: , , Windows. , , Mac. , - .

+5

, , , , .

, atom CLI, Windows.

  • GIT windows Atom,
  • GIT bash,
  • " ", " GIT Unix Windows".
  • Atom.

, GIT ATOM . GIT, Unix PATH.

, , .

+3

? https://atom.io/packages/atom-shell-commands

Im ubuntu :

$sudo apm install atom-shell-commands

.config.cson, . Im newue .

0

Source: https://habr.com/ru/post/1662717/


All Articles