new github website, how run commands like:
$ sudo apt-get install npm
in windows environment?
i installed git bash , run command above received command not found
message.
how start? thanks.
the specific command ran works on linux because:
- sudo linux command (or *nix command in general)
- apt-get linux command (specifically ubuntu/debian command)
- install argument apt-get command
- npm package
so line:
sudo apt-get install npm
means: hey package-manager(apt-get), install package (npm) , if i'm superuser (sudo).
so answer question cannot run linux commands windows but, can run git commands interact github windows (using git bash example)
you have use 'git' program interact github. (git bash installs program on windows. if using linux you'd install git using "apt-get install git")
here's snippet git-for-windows webpage [ https://git-for-windows.github.io/ ]
git bash git windows provides bash emulation used run git command line. *nix users should feel right @ home, bash emulation behaves "git" command in linux , unix environments.
Comments
Post a Comment