
Comply with ZDNET: Add us as a preferred source on Google.
ZDNET’s key takeaways
- Claude Code set up is easy so long as you comply with just a few easy steps.
- Initiatives are scoped by listing, so setup location issues.
- Correct setup unlocks quick, steady, agentic improvement workflows.
Claude Code has been making waves within the improvement world. I just lately used Anthropic’s coding assistant to build a complex and fairly sophisticated iPhone app from begin to end.
I began by utilizing Claude Code inside Apple’s Code Intelligence feature of Xcode, however discovered Code Intelligence to be buggy. It crashed or hung pretty persistently. I confirmed that it was Code Intelligence, not Claude Code, inflicting the problems, as a result of after I tried using OpenAI’s Codex in Code Intelligence, I encountered the identical buggy conduct.
Additionally: How to create your first iPhone app with AI – no coding experience needed
Once I arrange Claude Code to run from the terminal through command line, the whole lot settled down. I had an extremely productive expertise. That is what we’ll focus on on this article: arrange Claude Code within the terminal, and get it working with Xcode.
Please do not suppose this text will solely be useful for those who’re planning to code an Apple app. Every part I will present you applies to different apps as effectively. It is simply that my venture is an iPhone app, so that is what shall be in my examples.
Let’s get you signed up
This is the factor: You’ll be able to’t get loads of agentic coding performed with the free tier of Claude. You will want to join the Pro plan ($17/month) or the Max plan (beginning at $100/month). I like to recommend beginning with the Professional plan. After about 5 hours, for those who determine you want Claude Code, you may have to maneuver to the Max plan, nevertheless it’s pretty simple to do.
I’ve discovered that you simply get loads of mileage from the Max plan. I have been utilizing it extensively this month, and it hasn’t lower me off but. That places Claude Code at about $100/month lower than OpenAI’s Codex, which begins at $200/month for those who do any ongoing improvement.
Subsequent, you may want to hook up with GitHub. I discovered that even for those who do not wish to use GitHub, you continue to want to hook up with it.
GitHub is a finest apply that many builders use, however not all tasks want GitHub, particularly for those who’re a lone developer. So, for those who’re already manner into GitHub, you are golden.
Additionally: Claude Code made an astonishing $1B in 6 months – and my own AI-coded iPhone app shows why
Should you’re not utilizing GitHub, do not hassle attempting to keep away from it. Signing up for GitHub is free, and so is creating repos. Claude has some degree of separation nervousness. It won’t transfer on with the mandatory setup steps and not using a totally licensed GitHub connection. Thankfully, the method is just about on rails, so comply with my tips, and you will get previous this gorgeous simply.
I’ve a GitHub account and a few repositories, so I created a brand new repository and related it to that. You may first must authorize your connection.
Subsequent, you may want to attach your repos. It says you are putting in the Claude Code GitHub app, however that is not solely correct. You are including some monitoring information. The true set up will come later.
Now, it can ask the place to put in Claude Code. This can be a choice field for all of your GitHub accounts. You simply want to decide on your account. As I mentioned, the actual Claude Code set up will come later. You are simply taking part in alongside to maintain the robotic blissful.
This is one other one. This time, you are specifying the repository you wish to hook Claude Code as much as. I am engaged on a 3D printing spool filament stock system, so mine is named “filamentory.” That is not its last identify, nevertheless it works for now.
OK, you are now attached sufficient to begin with the actual set up. Let’s do this subsequent.
Set up Claude Code in your pc
Claude Code will run inside numerous improvement environments, nevertheless it’s designed for and works finest inside your terminal utility. I used to be a bit hesitant about it, as a result of I did not wish to swap forwards and backwards between my terminal and my IDE, nevertheless it turned out to be a really easy, very simple solution to go.
Additionally: AI could double the US economy’s growth rate over the next decade, says Anthropic
Get began by pointing your browser to Claude’s settings, clicking the little braces icon (proven at 1 under), after which the “Set up directions right here” hyperlink (proven at 2).
Subsequent, you may see a command line. In my case, I am utilizing a Mac as my improvement machine, so I selected the Mac setting. Choose the choice that’s best for you, click on it, after which copy the command line.
Paste that into your terminal program, and press Enter.
Let it run till it says it is full.
However, alas, it is probably not full. Discover within the following screenshot that the unique command line is proven at 1. At 2, the installer signifies {that a} path change is required. It reveals you the command line for that. So, at 3, I went forward and pasted in that command line and hit return.
Now, Claude Code is put in.
Get began coding
This is the large secret about utilizing Claude Code: Every part works from the present working listing. So, if in case you have a venture in /a/b/c/project1 and one other in /a/b/c/project2, Claude operating in project1 will know nothing of project2. And Claude, when operating in project2, will know nothing of project1.
Additionally: The best free AI for coding – only 3 make the cut now
So long as you retain that in thoughts, and cd to the right listing earlier than initiating Claude, all shall be good. So let’s do this. I maintain my Growth folder in My Paperwork. It is a straightforward manner to verify it will get picked up on all of the backup sweeps, and it really works. I’ve a reasonably deep folder construction inside, however my present iPhone venture is situated in a folder known as xcode.
So, the very first thing I do is cd to that folder. Then, go forward and launch Claude by typing ‘claude’ in your command line. Claude will carry out a sequence of startup steps that shall be repeated for every new venture folder you arrange. Right here, it is asking concerning the theme. Darkish, in fact.
Subsequent, it might want to connect with your subscription. Most of you’ll undergo the subscription possibility, so choose that.
Subsequent, you may must authorize the hyperlink.
At this level, Anthropic will share with you the info of life. Press Enter to just accept the truth that our robotic overlords are fallible.
I strongly suggest you let Claude Code use its really helpful settings. You’ll be able to change issues later, if you want. However that is probably the most simple solution to get issues working.
Now, you’ll want to affirm you are in the proper folder, wish to work on it, and belief what’s in it. Belief is an ephemeral factor. Sooner or later, it’s important to belief one thing, otherwise you’ll be utterly by yourself (Mother Cautionary Life Lesson #47).
And now, we’re right here.
You may begin working now, however there are just a few extra issues it is best to do to make sure the whole lot is ready up accurately. We’ll leap into that subsequent.
Additionally: Linus Torvalds is ‘a huge believer’ in using AI to maintain code – just don’t call it a revolution
Initializing and first steps
Claude Code makes use of a number of slash instructions that modify its conduct. You’ll be able to even add your individual slash instructions down the street.
The primary one it is best to run is /init. It is going to scan your folder, create a CLAUDE.MD file, which it might probably use as a reference, and customarily turn into aware of your code.
As you’ll be able to see, it has constructed up an understanding of what is inside my codebase.
My folder just isn’t pristine. I initially created the venture utilizing Claude in Xcode with Code Intelligence. That course of was documented in this article. So, as Claude does its /init course of, it is attending to know that code.
Lastly, when it accomplished that scan, I gave Claude its first agentic project. I wished it to dig by way of the mess that Code Intelligence left and guarantee there have been no duplicate information or code situations.
From right here, I went on to “vibe code” my solution to a totally working iPhone app. I hope this helped you get began.
Claude’s new Slack integration
This is a fast point out of one other solution to speak to Claude Code: through Slack. Anthropic announced this just a few days in the past as a analysis preview.
Additionally: I tested GPT-5.2 and the AI model’s mixed results raise tough questions
I feel it is an attention-grabbing method, however I would be involved about unintentionally typing one thing into Slack and having it ship Claude into some sort of agentic tizzy. It is value contemplating, however do not get carried away with this interplay mode till you do some extra analysis. It is in all probability finest to attend till the function comes out of beta.
Have you ever tried Claude Code?
What about you? Have you ever tried Claude Code but, both inside an IDE or from the terminal? If that’s the case, how did it examine to instruments like OpenAI Codex or built-in Code Intelligence options? Do you like AI coding assistants embedded straight in your editor, or do you discover a command-line workflow extra steady and productive? And the way do pricing, reliability, and setup friction issue into whether or not you’d undertake a device like this long-term? Tell us within the feedback under.
You’ll be able to comply with my day-to-day venture updates on social media. Make sure you subscribe to my weekly update newsletter, and comply with me on Twitter/X at @DavidGewirtz, on Fb at Facebook.com/DavidGewirtz, on Instagram at Instagram.com/DavidGewirtz, on Bluesky at @DavidGewirtz.com, and on YouTube at YouTube.com/DavidGewirtzTV.





