Windows 10: How to Run Git Bash as Administrator
Date: 2016-03-07 |
DISCLOSURE: If you buy through affiliate links, I may earn a small commission. (disclosures)
**Problem: **I need to run Git Bash as admin as my NPM install won’t work otherwise. I know on Unix, I can usually just add sudo to the beginning, but how do I do something similar on Windows?
**Solution: **To run a Git Bash Terminal as Admin/root administrator:
- Go to your Start menu
- Search for Git Bash
- Right Click on the listing
- Select “Run as Administrator”
- Now just cd into your directory, and install away
Want more like this?
The best way to support my work is to like / comment / share for the algorithm and subscribe for future updates.