Apm: Can't seem to get the apm command to work on Windows.

Created on 28 Jan 2015  路  16Comments  路  Source: atom/apm

There isn't any "Install Shell Commands" option in the Atom Windows build, and I was wondering how I add the "apm" and "atom" commands to my PATH.

Most helpful comment

Yeah, they are. Although it would be really nice if I could "Like" or "Star" your comments, Kevin...but it looks like GitHub hasn't added in that functionality yet. :disappointed:

P.S. I know this comment is off-topic, but I just wanted throw that out there. :smile:

All 16 comments

If you installed Atom using the installer, it should be automatically added to to your path.

How did you install Atom?

I installed Atom by building it from source.

I installed Atom by installing it from source.

Then you have to manually add it to your path if you want to use it from the command line.

How do I add it to my PATH?

Add ROOT_ATOM_DIRECTORY\resources\app\apm\bin to your path, substitute the directory you installed Atom into for the ROOT_ATOM_DIRECTORY portion, such as C:\Program Files\Atom.

http://www.computerhope.com/issues/ch000549.htm for more details

System path or user path?

User path

I just did that, but it still says that apm isn't recognized. :disappointed:

Did you restart the command prompt?

I never even had the command prompt open when I added apm to my path.

If you switch to the installer it will automatically add it for you, that is what I would recommend if you are unable to manually set it.

Maybe if I restart Windows Explorer it might work? If that doesn't work then I'll just restart my computer.

@kevinsawicki Okay, looks like the Atom Package Manager works now. I just had to restart my computer. Thanks a lot, Kevin! :smiley:

Awesome, glad to hear things are working now.

Yeah, they are. Although it would be really nice if I could "Like" or "Star" your comments, Kevin...but it looks like GitHub hasn't added in that functionality yet. :disappointed:

P.S. I know this comment is off-topic, but I just wanted throw that out there. :smile:

In case somebody needs this for newer Atom versions, the path to add is ROOT_ATOM_DIRECTORY\resources\cli

Was this page helpful?
0 / 5 - 0 ratings

Related issues

izuzak picture izuzak  路  5Comments

boustanihani picture boustanihani  路  7Comments

entozoon picture entozoon  路  7Comments

paulxtiseo picture paulxtiseo  路  7Comments

calebmeyer picture calebmeyer  路  5Comments