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 Installing Software Introduction to Package Managers

my mac doesn't recognized the commands??

Hi everyone, Iam newbie in programming please help how to run those command on my mac (terminal) some commands in this course it works but some of doesn't I hope someone can explain this to me and help me how to figure it out. TY

Danny Dickson
Danny Dickson
19,293 Points

I would just click the "launch console" link at the bottom right of the video. This will launch the same terminal that the instructor is using. If you're curious why the commands don't run on mac, it's because your Mac's Terminal runs Darwin, which is different from Ubuntu. The commands are slightly different.

1 Answer

William Li
PLUS
William Li
Courses Plus Student 26,868 Points

HI, Nurul Eka Fitriany Hilal , my guess is that you're talking about the apt-get command, right?

apt-get, otherwise known as Advanced Packaging Tool is a package manager available only for Debian-flavor Linux Distros, e.g. Ubuntu, Linux Mint, etc . apt-get allows user to easily search, update, and install software utilities.

Mac isn't a Debian-flavor Linux, in fact, Mac's Terminal ships with no package manager at all. However, I believe that asides from the missing apt-get from Command Line, other tools covered in this course should be equally applicable for Mac user, assuming that the tools are installed of course.

If you really wanna follow along with the course with the the Command Line on your local Machine, one great way to minimize the OS difference is to install a Ubuntu as Virtual Machine using VirtualBox, that way you have the same Operating System as the instructor uses during the lecture. Hope it helps, feel free to ask if you have more questions.