Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

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.