• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar

<cmiaral: tech blog?>

What works . . . and not.

  • Home
  • About
  • Tools
  • WordPress Resource
  • Contact
You are here: Home / Coding / How to Open Atom in Git Bash (Windows 10)

How to Open Atom in Git Bash (Windows 10)

Updated on April 29, 2017 By Carolyn 15 Comments

In the past few days I started learning Git and GitHub.

As a result, I’ll also post about resources for Git so I can also refer to it whenever I have to instead of wondering where I keep my notes that are ever multiplying.

I’m starting to like Git, just as what they say when you slowly starting to learn the concept.

The black background of the command line window doesn’t bother me anymore.

Things are going smooth until I had an obstacle.

I cannot open Atom (a text editor) in the command line. I was doing fine with Notepad.

But I want to use Atom and make it work. I can’t ignore this challenge.

Open Atom in Git Bash (Windows 10)

If you are wondering how to install Git Bash in Windows, you can learn that from Jason Taylor’s course on Udemy, Command Line Essentials: Git Bash for Windows.

For now, I’ll jump right into how I spent much of my time figuring out why I cannot open Atom in the command line.

Let’s get started.

1. Download Atom for Windows. Install Atom.
2. Open the Windows Explorer.
3. Right click This PC, choose Properties.
4. Click Advanced system settings on left side.
5. In the Advanced tab, click Environment Variables at the bottom
6. Choose Path in the System Variables then click Edit.

Open Atom in Git Bash

7. Click New and add this %USERPROFILE%\AppData\Local\atom\app-1.12.6. Then click OK three times.

Note: I have one issue with this method. I may have to edit the Path whenever the atom version is updated. (The current version of Atom is app-1.12.6.)

Well, that’s another issue for another day.

You can use Notepad if you want to. I prefer Atom because I can navigate through the files and open two files side by side at the same time.

How about you did you experience the same issue? What text editor do you prefer?

Share this:

  • Click to share on Facebook (Opens in new window)
  • Click to share on Twitter (Opens in new window)
  • Click to share on Pinterest (Opens in new window)
  • Click to share on LinkedIn (Opens in new window)
  • Click to email this to a friend (Opens in new window)
  • Click to print (Opens in new window)

Related

« Set the Time and Date on Canon Powershot SX270 HS
Set Up Canonical Domain on Google Search Console »

Filed Under: Coding Tagged With: atom, git, version control system

About the Author

Carolyn loves to learn new things that involve technology, mostly about the Internet. If not blogging, she's in the kitchen trying to (at least) make edible vegetarian meal. A toast is always a lifesaver. Connect with her on Twitter and LinkedIn.

Reader Interactions

Comments

  1. Karamveer says

    December 28, 2020 at 8:25 pm

    It’s really helpful, earlier I struggled a lot in opening Atom from Bash but your blog is awesome. Many thanks.

    Reply
  2. Carolyn says

    July 19, 2020 at 11:37 pm

    I’ve only tried it on Windows 10 and can’t tell why it’s not working on Windows 8.

    Reply
  3. Danita says

    December 18, 2019 at 5:46 am

    Thank you so much. It Worked.

    Reply
  4. Lucas Arifa says

    August 10, 2019 at 7:00 am

    Thank you so much, I was with this problem for 2 weeks! It solved my problem.

    Reply
  5. Dario says

    June 9, 2019 at 11:40 pm

    Thank you Carolyn! To fix the version issue, just change the new Path variable from this:
    %USERPROFILE%\AppData\Local\atom\app-1.12.6
    to this:
    %USERPROFILE%\AppData\Local\atom\app*
    Tested successfully in Windows 10 with both Git Bash and PowerShell.

    Reply
    • pcworm says

      March 4, 2020 at 6:16 am

      Tried it with the * in windows 10 but it didn’t work for me. I had to specify the current atom version instead.

      Reply
      • Carolyn says

        March 4, 2020 at 10:49 am

        Thanks for the info pcworm; you confirmed my hunch.

        Reply
        • pcworm says

          March 11, 2020 at 2:18 am

          👍 sure

          Reply
    • Daniel says

      December 27, 2020 at 3:40 pm

      this should work:
      %USERPROFILE%\AppData\Local\atom\app-%*%

      Reply
  6. Preeti says

    March 4, 2019 at 4:15 am

    Thank you! worked for me.

    Reply
  7. Natalie says

    September 10, 2018 at 1:37 pm

    Thank you! I can use the `atom` command in Git Bash now!

    Reply
  8. girsh says

    May 13, 2018 at 3:42 pm

    Thanks, it worked.

    Reply
  9. Charles Johnson says

    January 23, 2018 at 8:22 am

    Thank you, it worked for me.

    Reply
  10. mrmicrowaveoven says

    April 27, 2017 at 11:27 am

    I’m confused by Step 7. You say `Add it at the end`. Do you mean create a new one and add it to the list, or add it to the end of an existing one?

    Reply
    • Carolyn says

      April 29, 2017 at 10:51 am

      Hi mrmicrowaveoven,
      It means to add a new variable. I updated the post and thanks for asking. Your question has helped to avoid confusion. Thanks!

      Reply

Leave a Reply Cancel reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Primary Sidebar

SUBSCRIBE

Enter your email address to subscribe to cmiaral.com and receive notifications of new posts by email.

ADS

POPULAR POSTS

  • Taking Many Shots with EV Bracketing on Sony a6000
  • My Attempt to Fix Boot Device Not Found on HP Stream Laptop
  • How to Transfer Files to Siteground Using WinSCP
  • How to Open Atom in Git Bash (Windows 10)
  • Why is the Genesis Comment Form is not Showing Up?

TOPICS

  • Blogging Tips
  • Books
  • Coding
  • Gadgets
  • Hardware
  • Photography
  • Productivity
  • Social Media
  • Software
  • WordPress

COMMENTS

  • Collins PEREIRA on My Attempt to Fix Boot Device Not Found on HP Stream Laptop
  • Carolyn on Tzumi Bluetooth Keyboard with Folio Case, an iPad Mini 2 Accessory
  • FOSU FREDERICK on Tzumi Bluetooth Keyboard with Folio Case, an iPad Mini 2 Accessory
  • Hassan Rabiu on My Attempt to Fix Boot Device Not Found on HP Stream Laptop
  • Karamveer on How to Open Atom in Git Bash (Windows 10)
CMiaral · Copyright © 2016-2022 · Genesis Framework · WordPress
  • Home
  • About
  • Tools
  • Contact
  • Site Map
  • Disclaimer
  • Privacy Policy
loading Cancel
Post was not sent - check your email addresses!
Email check failed, please try again
Sorry, your blog cannot share posts by email.