Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

Development Tools Console Foundations Users and Permissions Sudo

nico dev
nico dev
20,364 Points

Use of Console (and these tricks) in Windows

Hi,

I really like this course. Not only the instructor is a crack(IMHO), but also the contents are really interesting stuff that I really didn't know about.

Now, still, I have a question: I work on a Windows computer. I am learning Front End Development (for now) and I don't know if I will learn something else in the future (if my rusty, slow brains can do it!), but I hope I could also learn some Back End and other stuff.

But still, my question is, since console in Windows works different, will I really use these kind of tricks and commands taught here in my own (personal) projects?

For example, I installed npm from the Windows console, but I think I used the commands of Windows, not those of POSIX (am I right?).

However, Jim said later when talking to servers (i.e.: back end, right?) I will need to talk with them in this "console" language, but how? Will I install some POSIX-emulator console? Will I talk to them from my Windows Console (or Command Prompt or whatever is the name)?

Sorry if the question is a little dumb, but man, I'm a rookie on this team and would like to learn the rules :)

Thank you in advance!

1 Answer

I had your problem too where going through tutorials, videos (on here mostly), and whatnot everyone seems to use an Apple product and as a Windows user we end up with different commands.

For me, the solution happened when learning to use Git. When you install Git you can determine whether you want the BASH terminal or not. That installs a command line terminal where you can use POSIX commands which means going forward you won't have to learn two sets of commands. Also (in my opinion) you should use Git to keep track of your work, you'll benefit in the longterm for it.

Git Website

nico dev
nico dev
20,364 Points

First of all, thanks for your understanding, Corey Cramer !

Wow, now that makes A LOT more sense, especially considering (I just checked) Git is the next course in my track here. So this sort of prepares us for it, for version control, right?

I still wonder, though, about the whole back-end/npm thing, but I guess I shall rather be patient than anxious, right? :)

I will focus on learning console and Git for now, and then I'll see what the future brings. Thank you, Corey!

EDIT: Wait, do you mean that you actually install a POSIX command line in your own PC and can run it just like them in MAC? Even for back end stuff and all? Wow, that's really cool!