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

General Discussion

How to make terminal applications?

Hi! I have been using composer and git many times in my PHP projects. I have noticed that these kind of programs are SO AWESOME. And I'd love to know how one would go about getting that sort of thing to work. Say I had a terminal program that allowed you to bake a curtain hypothetical cookie. Then in the terminal I would write.

bake chocolate_chip

This would "bake" the cookie.

So basically what I'm asking is, how do you make those kind of packages? And where can I find the recourses to learn it?

1 Answer

Hey Nils,

that depends on the platform / operating system you want to run this program on. Basic operations on the linux shell can be done as a shell script for example. But you can always use other programming languages to write applications that can run in a terminal. On Mac OS you could write such an application in Xcode and Objective C... but there are so many options.