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.

Aravind voruganti
437 Pointsunable to install pods
while trying to install pod file im stucking here
MacBook-Pro:teja saiteja$ pod init MacBook-Pro:teja saiteja$ pod install Setting up CocoaPods master repo
3 Answers

Spencer Alderson
2,132 PointsHey there,
have you changed directories first? "cd /Users/yourusernamehere/yourfoldernamehere/yourFoldernamehere\ yourProjectnamehere"
1.then you do your pod init, where it creates the pod file
- you select the pods you wish to install i.e. " pod alamoFire"
- then pod install
hope that helps

Spencer Alderson
2,132 Pointswhy don't you try this rather than try to use terminal, if you're having trouble

Spencer Alderson
2,132 Pointsalternatively if you really want to use the terminal you need to type "cd " and then you can drab and drop the project file in to the terminal window then hit enter, then do your pod init etc,
Aravind voruganti
437 PointsAravind voruganti
437 Pointshey thanks il try
Aravind voruganti
437 PointsAravind voruganti
437 Pointsbut where should i change the directories??
Aravind voruganti
437 PointsAravind voruganti
437 Pointsis this enough..???? MacBook-Pro:~ saiteja$ cd desktop MacBook-Pro:desktop saiteja$ cd teja MacBook-Pro:teja saiteja$ pod init MacBook-Pro:teja saiteja$ pod install Setting up CocoaPods master repo