Reputation: 123
I am new at using this Git technology and started to learning some tutorials in youtube.
I am facing this problem but I can not avail it's solution.
And I do not know anything major about it:
$ atom .
bash: atom: command not found
Can somebody please show me a right direction to solution??
Upvotes: 2
Views: 6272
Reputation: 33
I had the same issue and figure it out after doing these things.
First make sure you have atom installed in your computer.
After you need to check the path.
Follow these steps for Windows 10:
Open computer window and right click and click on Properties.
click on Change setting
Click on Advanced
Click on Environment Variables
[Two windows will pop 1. User and 2. system variables] Go to User first and check path and click and edit the path. If it is not there Edit and add new path. In my case it is
C:/Users/Usuario/AppData/Local/atom/bin
[You need check in your pc where it is hidden]
Ultimately you will resolve the problem command not found after following these steps.
Upvotes: 0
Reputation: 1
Uninstall and reinstall the git setup. When installing, make sure to choose "use atom as text editor". You are cool to go
Upvotes: -1
Reputation: 1323483
As illustrated by atom/atom issue 11073, it is a PATH issue:
echo $PATH
In a regular CMD, type:
where atom
That will give you a C:\path\to\atom
. (Make sure you had Atom installed first)
In your bash session, you can add that path:
export PATH=${PATH}:/c/path/to/atom
Then type "atom
" in your bash session.
If this work, add that export line to your ~/.bashrc
.
Upvotes: 3