Comply with ZDNET: Add us as a most popular supply on Google.
ZDNET’s key takeaways
- Claude Code set up is easy so long as you observe a couple of easy steps.
- Tasks are scoped by listing, so setup location issues.
- Correct setup unlocks quick, secure, agentic growth workflows.
Claude Code has been making waves within the growth world. I just lately used Anthropic’s coding assistant to construct a fancy and pretty refined iPhone app from begin to end.
I began through the use of Claude Code inside Apple’s Code Intelligence characteristic 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 once I tried utilizing OpenAI’s Codex in Code Intelligence, I encountered the identical buggy habits.
Additionally: The right way to create your first iPhone app with AI – no coding expertise wanted
Once I arrange Claude Code to run from the terminal by way of command line, all the pieces settled down. I had an extremely productive expertise. That is what we’ll focus on on this article: how you can arrange Claude Code within the terminal, and how you can get it working with Xcode.
Please do not assume this text will solely be useful in the event you’re planning to code an Apple app. All the pieces I’ll present you applies to different apps as effectively. It is simply that my venture is an iPhone app, so that is what will probably be in my examples.
Let’s get you signed up
Here is the factor: You’ll be able to’t get a whole lot of agentic coding executed with the free tier of Claude. You have to to join the Professional plan ($17/month) or the Max plan (beginning at $100/month). I like to recommend beginning with the Professional plan. After about 5 hours, in the event you determine you want Claude Code, you may have to maneuver to the Max plan, however it’s pretty simple to do.
I’ve discovered that you simply get a whole lot of mileage from the Max plan. I have been utilizing it extensively this month, and it hasn’t minimize me off but. That places Claude Code at about $100/month lower than OpenAI’s Codex, which begins at $200/month in the event you do any ongoing growth.
Subsequent, you may want to hook up with GitHub. I discovered that even in the event you 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 initiatives want GitHub, particularly in the event you’re a lone developer. So, in the event you’re already means into GitHub, you are golden.
Additionally: Claude Code made an astonishing $1B in 6 months – and my very own AI-coded iPhone app exhibits why
For those who’re not utilizing GitHub, do not hassle making an attempt to keep away from it. Signing up for GitHub is free, and so is creating repos. Claude has some degree of separation nervousness. It is not going to transfer on with the mandatory setup steps and not using a absolutely approved GitHub connection. Fortuitously, the method is just about on rails, so observe 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 totally correct. You are including some monitoring information. The true set up will come later.
Now, it should 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 enjoying alongside to maintain the robotic blissful.
Here 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 known as “filamentory.” That is not its last identify, however it works for now.
OK, you are now attached sufficient to start out with the actual set up. Let’s try this subsequent.
Set up Claude Code in your pc
Claude Code will run inside numerous growth environments, however 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 change forwards and backwards between my terminal and my IDE, however it turned out to be a really easy, very simple method to go.
Additionally: AI might double the US financial system’s progress charge over the subsequent 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 growth machine, so I selected the Mac surroundings. 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 not likely 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 exhibits 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
Here is the massive secret about utilizing Claude Code: All the pieces works from the present working listing. So, when you’ve got a venture in /a/b/c/project1 and one other in /a/b/c/project2, Claude working in project1 will know nothing of project2. And Claude, when working in project2, will know nothing of project1.
Additionally: The most effective free AI for coding – solely 3 make the minimize now
So long as you retain that in thoughts, and cd to the correct listing earlier than initiating Claude, all will probably be good. So let’s try this. I maintain my Improvement folder in My Paperwork. It is a straightforward means to ensure 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 collection of startup steps that will probably be repeated for every new venture folder you arrange. Right here, it is asking concerning the theme. Darkish, after all.
Subsequent, it might want to hook up with your subscription. Most of you’ll undergo the subscription choice, so choose that.
Subsequent, you may must authorize the hyperlink.
At this level, Anthropic will share with you the details of life. Press Enter to just accept the truth that our robotic overlords are fallible.
I strongly advocate you let Claude Code use its really useful settings. You’ll be able to change issues later, if you want. However that is probably the most easy method to get issues working.
Now, it’s worthwhile to affirm you are in the fitting folder, wish to work on it, and belief what’s in it. Belief is an ephemeral factor. In some unspecified time in the future, it’s a must to belief one thing, otherwise you’ll be fully by yourself (Mother Cautionary Life Lesson #47).
And now, we’re right here.
You may begin working now, however there are a couple of extra issues you must do to make sure all the pieces is ready up appropriately. We’ll leap into that subsequent.
Additionally: Linus Torvalds is ‘an enormous believer’ in utilizing AI to take care of code – simply do not name it a revolution
Initializing and first steps
Claude Code makes use of a number of slash instructions that modify its habits. You’ll be able to even add your individual slash instructions down the street.
The primary one you must run is /init. It can scan your folder, create a CLAUDE.MD file, which it might use as a reference, and customarily change into conversant in your code.
As you may see, it has constructed up an understanding of what is inside my codebase.
My folder will not be pristine. I initially created the venture utilizing Claude in Xcode with Code Intelligence. That course of was documented on 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 via 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 method to a completely working iPhone app. I hope this helped you get began.
Claude’s new Slack integration
Here is a fast point out of one other method to speak to Claude Code: by way of Slack. Anthropic introduced this a couple of days in the past as a analysis preview.
Additionally: I examined GPT-5.2 and the AI mannequin’s blended outcomes elevate powerful questions
I believe it is an fascinating method, however I would be involved about by accident 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 most likely finest to attend till the characteristic 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? In that case, how did it examine to instruments like OpenAI Codex or built-in Code Intelligence options? Do you like AI coding assistants embedded immediately in your editor, or do you discover a command-line workflow extra secure 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 observe my day-to-day venture updates on social media. You should definitely subscribe to my weekly replace publication, and observe me on Twitter/X at @DavidGewirtz, on Fb at Fb.com/DavidGewirtz, on Instagram at Instagram.com/DavidGewirtz, on Bluesky at @DavidGewirtz.com, and on YouTube at YouTube.com/DavidGewirtzTV.










