Reputation: 713
I want to open the project using atom .
command in command prompt but it says atom is not recognized as an internal or external command
How can I fix the problem?
Upvotes: 5
Views: 27557
Reputation: 397
For future reference: Windows user only
Go to
C:\Users\<username>
, then enableHidden items
in View tab. ClickAppData
Local
thenAtom
. Then, clickapp-<version>
.
On Search in taskbar type
variable
. Then clickEdit the system environment variable
.
Select
Path
. Then clickEdit
,New
, and Paste the copied Path . Then finally click allok
buttons. Then close cmd and open again.
atom --version
To open a project with atom
Go to your project directory: by typing
cd /<foldername>
using cmd or bash. Then type,
atom .
Upvotes: 3
Reputation: 1
At first navigate to Atom shortcut icon and go to properties there you have to copy the start in address. And after that go to system advanced settings by clicking the This Pc properties or by (win + r) and click environment variables. navigate to the path section and edit the path with the copied address. Boom. Restart your terminal and then see the magic. Check that Images you will get an Idea.
enter image description here
Upvotes: 0
Reputation: 403
Navigate to C:\Users\<user>\AppData\Local\atom\app-x.xx.x\resources\cli
, add it to your path. Open cmd, navigate to the desired folder, running the atom .
command should be functional now
Upvotes: 2
Reputation: 171
If you're on Windows, you'll have to go to the enviroment variable select and edit the variable path copy and paste the value down the below.
C:\Users\<username>\AppData\Local\atom\bin
You can do this by opening the run dialog (win
+ r
), type "SystemPropertiesAdvanced.exe" and hit enter
. Here you should select "Environment Variables..." and edit the Path
for your user (because atom is probably installed only for you).
Upvotes: 6
Reputation: 3042
just type in a terminal opened ** - in the right directory - **:
atom .
that's all folks!
Upvotes: 6