How do you install apm


#1

How do you install apm on a windows computer?


#2

Hi Steven, good to hear from you again.
Hope you are doing great.

apmis installed with Atom if you install it. Do you have Atom installed?

If Atom is installed so that it is available through your OS’s Path environment variable, the apm command can be called from the terminal (Powershell shown below, but Command Prompt will work too)

When the Path environment variable does not point to the path of Atom and friends, the absolute path will need to be called. In the case of my portable install it is found in:
D:\AtomBeta\main\resources\cli

On my fixed install the path is:
%localappdata%\atom\bin

Does this help or do you have something else in mind?

Well wishes.
- Dan


#3

@danPadric I have atom installed. Here is a screen shot

Any thoughts?


#4

Try the following commands in Command Prompt:

cd %localappdata%\atom\bin
apm --help

#5

Okay, I have it in that folder, but when I tried it in a different
folder it would not run.


#6

Steven, you can look up how to set up that path to the OS Path variable. Please web search it.

Alternatively:

  1. Re-install Atom and this time have it write the required path settings into Path.

  2. Write a bat (batch) file that calls the command more simply. Save the bat file somewhere, where you can reach it easily.

  3. Execute the command as the full path: %localappdata%\atom\bin\apm.

Good luck.


#7

@danPadric Thanks!