{"id":60438,"date":"2026-04-06T12:29:14","date_gmt":"2026-04-06T12:29:14","guid":{"rendered":"http:\/\/d65dff1d-ec38-40b6-98ea-d01b0fdaccc1"},"modified":"2026-04-06T12:29:14","modified_gmt":"2026-04-06T12:29:14","slug":"how-i-set-up-claude-code-in-iterm2-to-launch-all-my-ai-coding-projects-in-one-click","status":"publish","type":"post","link":"https:\/\/www.threatshub.org\/blog\/how-i-set-up-claude-code-in-iterm2-to-launch-all-my-ai-coding-projects-in-one-click\/","title":{"rendered":"How I set up Claude Code in iTerm2 to launch all my AI coding projects in one click"},"content":{"rendered":"<figure class=\"c-shortcodeImage u-clearfix c-shortcodeImage-large\">\n<div class=\"c-shortcodeImage_imageContainer\">\n<div class=\"c-shortcodeImage_image\"><picture class=\"c-cmsImage c-cmsImage_loaded\"><source media=\"(max-width: 767px)\" srcset=\"https:\/\/www.zdnet.com\/a\/img\/resize\/ce60a8b6dfd9901d866a8f318548a27fe0efaf7b\/2026\/04\/06\/ee807de9-fda0-4ebb-b1f0-2c34e9350fe9\/dsc00766.png?auto=webp&amp;precrop=5182,2923,x509,y0&amp;width=768\" alt=\"Claude Code in iTerm2 on my laptop\"><source media=\"(max-width: 1023px)\" srcset=\"https:\/\/www.zdnet.com\/a\/img\/resize\/3a60a527b8a68b9e289020528807bee83f84076b\/2026\/04\/06\/ee807de9-fda0-4ebb-b1f0-2c34e9350fe9\/dsc00766.png?auto=webp&amp;precrop=5182,2923,x509,y0&amp;width=1024\" alt=\"Claude Code in iTerm2 on my laptop\"><source media=\"(max-width: 1440px)\" srcset=\"https:\/\/www.zdnet.com\/a\/img\/resize\/2e2f8d88f32b8737758723f2f4194ab5e0e42129\/2026\/04\/06\/ee807de9-fda0-4ebb-b1f0-2c34e9350fe9\/dsc00766.png?auto=webp&amp;precrop=5182,2923,x509,y0&amp;width=1280\" alt=\"Claude Code in iTerm2 on my laptop\"><img decoding=\"async\" src=\"https:\/\/www.zdnet.com\/a\/img\/resize\/2e2f8d88f32b8737758723f2f4194ab5e0e42129\/2026\/04\/06\/ee807de9-fda0-4ebb-b1f0-2c34e9350fe9\/dsc00766.png?auto=webp&amp;precrop=5182,2923,x509,y0&amp;width=1280\" alt=\"Claude Code in iTerm2 on my laptop\" width=\"1280\" height=\"722.0069471246622\" fetchpriority=\"low\"><\/picture><\/div>\n<\/p><\/div><figcaption> <span class=\"c-shortcodeImage_credit g-outer-spacing-top-xsmall u-block\">David Gewirtz\/ZDNET<\/span><\/figcaption><\/figure>\n<p><em>Follow ZDNET:&nbsp;<\/em><span class=\"c-commerceLink\"><a href=\"https:\/\/cc.zdnet.com\/v1\/otc\/00hQi47eqnEWQ6T9d4QLBUc?element=BODY&amp;element_label=Add+us+as+a+preferred+source&amp;module=LINK&amp;object_type=text-link&amp;object_uuid=dd6b9d20-46af-42a9-b16a-9954a3b793f2&amp;position=1&amp;template=article&amp;track_code=__COM_CLICK_ID__&amp;url=https%3A%2F%2Fwww.google.com%2Fpreferences%2Fsource%3Fq%3Dzdnet.com&amp;view_instance_uuid=024d033e-6926-4c09-9885-f6d79a1deae0&amp;split_test_identifier=deals_module&amp;split_test_variant=test2&amp;object_version=bcbbb4f4-8976-4d32-bc48-369b252f67eb\" rel=\"noopener nofollow sponsored\" target=\"_blank\"><span>Add us as a preferred source<\/span><!----><\/a><\/span><em>&nbsp;on Google.<\/em><\/p>\n<hr>\n<h3>ZDNET&#8217;s key takeaways<\/h3>\n<ul>\n<li>One-click iTerm2 setup launches Claude projects, creating a coding hub.<\/li>\n<li>Profiles auto-load context and memory files on startup.<\/li>\n<li>Color-coded tabs eliminate project confusion instantly.<\/li>\n<\/ul>\n<hr>\n<p>Sure, <a href=\"https:\/\/www.zdnet.com\/article\/what-is-ai-vibe-coding-its-all-the-rage-but-its-not-for-everyone-heres-why\/\">vibe coding is a powerful tool<\/a> that can save time compared to hand-cutting code line by line. But anyone who has built anything with vibe coding can tell you this: there&#8217;s <a href=\"https:\/\/www.zdnet.com\/article\/free-ai-coding-tool-goose-vs-claude-code-not-ready\/\">still a lot of work involved<\/a>.<\/p>\n<p>For the past few months, I&#8217;ve been <a href=\"https:\/\/www.zdnet.com\/article\/building-apps-with-ai-and-no-ide\/\">using Claude Code to build two apps<\/a>&nbsp;that will eventually be delivered for Mac, iPhone, iPad, and Apple Watch. One has reached the testing stage, while another is still very much in early-stage development. <\/p>\n<p>At first, I did what everyone does when they <a href=\"https:\/\/www.zdnet.com\/article\/how-to-install-configure-claude-code-ai-pricing-developers\/\">start using Claude Code<\/a>. I used a terminal window. But my Claude Code work actually involves working in three contexts, one for each of the two apps I&#8217;m building and one that&#8217;s one level up and can look at both apps.<\/p>\n<p><strong>Also:&nbsp;<a href=\"https:\/\/www.zdnet.com\/article\/building-apps-with-ai-and-no-ide\/\">I built two apps with just my voice and a mouse &#8211; are IDEs already obsolete?<\/a><\/strong><\/p>\n<p>Whatever directory you&#8217;re in when you launch Claude Code becomes the project&#8217;s home directory. It&#8217;s the directory Claude looks in for the CLAUDE.MD file, which tells the AI about your project. Claude treats this current working directory as the root directory for your project.<\/p>\n<p>In my case, \/Users\/david\/Documents\/Development\/xcode holds both project directories, MyFilamentStash and MySewingPatternStash. <\/p>\n<p>For months, my process was to open Terminal, change directory (using the cd command) to one of the three directories, launch Claude, and provide a set of startup commands to help the session get up to speed with previous work. <\/p>\n<p>Then, if I wanted to switch to a different context, I quit Claude, issued a cd to another project directory, and did the same. I know. It&#8217;s cumbersome. I also know I could have had multiple terminal windows open at once, but I found myself getting confused about which project was active at any given time.<\/p>\n<p><strong>Also:&nbsp;<a href=\"https:\/\/www.zdnet.com\/article\/google-gemma-4-fully-open-source-powerful-local-ai\/\">Google&#8217;s Gemma 4 model goes fully open-source<\/a><\/strong><\/p>\n<p>Even though I was vibe coding and the AI was writing the actual code, it was still time to optimize my work environment. <\/p>\n<h2> iTerm2 vs. Mac Terminal <\/h2>\n<p>The <a href=\"https:\/\/www.zdnet.com\/article\/6-macos-terminal-apps-that-are-much-better-than-apples-default-and-theyre-free\/\">Mac&#8217;s native Terminal application<\/a> has come a long way since the early days of the Mac. The app supports tabs, profiles, and many configuration options. But <a href=\"https:\/\/iterm2.com\/\" target=\"_blank\" rel=\"noopener nofollow\" class=\"c-regularLink\">iTerm2<\/a>, a free, GPL-licensed, open-source terminal program, is even more configurable. Plus, iTerm2 has vertical panes in addition to tabs, which can come in handy from time to time. <\/p>\n<p>Over the years, I&#8217;ve generally used Mac Terminal for system-level tweaks to my Mac and iTerm2 when using the command line for coding work. That&#8217;s not a necessary distinction, but it&#8217;s what my practice has been. <\/p>\n<p><strong>Also:&nbsp;<a href=\"https:\/\/www.zdnet.com\/article\/xcode-26-3-vibe-coding-app-by-voice\/\">I built an iOS app in just two days with just my voice<\/a><\/strong><\/p>\n<p>I&#8217;ll be discussing how to set up iTerm2 for an optimal vibe-coding startup, but Mac Terminal&#8217;s profile features support a similar set of capabilities. You can get to those capabilities from the Settings menu. <\/p>\n<p>Windows Terminal also supports this kind of profile customization. You can manage these settings by clicking the dropdown arrow next to the tabs and selecting Settings in Windows Terminal. <\/p>\n<h2> Color coding the tabs <\/h2>\n<p>For my development process, I set up four profiles in iTerm2. You get to profiles by selecting the Settings menu and then tapping the profiles icon. As mentioned above, I have one profile for each project, one for the parent of both projects, and one that works in my Mac home directory in case I need to do anything there. <\/p>\n<p>For clarity, I have color-coded each profile. That approach makes it immediately clear what project I&#8217;m working on when in that tab. The two projects have distinct color identities. The filament project is blue and gold with jewel tones. The sewing patterns project is in pinks and purples. <\/p>\n<p>I applied those color identities to the terminal profiles. You can see the color difference below. This process is how I set up the profile for my filament app project. Note the blue and gold hues taken from the app user interface. You can see that even the tab itself matches the color theme:<\/p>\n<figure class=\"c-shortcodeImage u-clearfix c-shortcodeImage-large\">\n<div class=\"c-shortcodeImage_imageContainer\">\n<div class=\"c-shortcodeImage_image\"><picture class=\"c-cmsImage\"><!----> <img decoding=\"async\" src=\"https:\/\/www.zdnet.com\/article\/claude-code-iterm2-guide-to-my-ai-coding-environment\/\" alt=\"filament-colors.png\" width=\"1280\" height=\"750.9801233721727\" fetchpriority=\"low\"><\/picture><\/div>\n<\/p><\/div><figcaption> <span class=\"c-shortcodeImage_credit g-outer-spacing-top-xsmall u-block\">Screenshot by David Gewirtz\/ZDNET<\/span><\/figcaption><\/figure>\n<p>By contrast, note the purple and pink taken from the sewing pattern app. You can see the tab is also purple for this project:<\/p>\n<figure class=\"c-shortcodeImage u-clearfix c-shortcodeImage-large\">\n<div class=\"c-shortcodeImage_imageContainer\">\n<div class=\"c-shortcodeImage_image\"><picture class=\"c-cmsImage\"><!----> <img decoding=\"async\" src=\"https:\/\/www.zdnet.com\/article\/claude-code-iterm2-guide-to-my-ai-coding-environment\/\" alt=\"sewing-colors.png\" width=\"1280\" height=\"750.9801233721727\" fetchpriority=\"low\"><\/picture><\/div>\n<\/p><\/div><figcaption> <span class=\"c-shortcodeImage_credit g-outer-spacing-top-xsmall u-block\">Screenshot by David Gewirtz\/ZDNET<\/span><\/figcaption><\/figure>\n<p>This kind of color differentiation makes it super easy to tell which project I&#8217;m working on at any time. Setting up is easy. Open Settings in iTerm2, click Profiles, and then the Colors tab. Go down the page and choose the colors you want for your profile:<\/p>\n<figure class=\"c-shortcodeImage u-clearfix c-shortcodeImage-large\">\n<div class=\"c-shortcodeImage_imageContainer\">\n<div class=\"c-shortcodeImage_image\"><picture class=\"c-cmsImage\"><!----> <img decoding=\"async\" src=\"https:\/\/www.zdnet.com\/article\/claude-code-iterm2-guide-to-my-ai-coding-environment\/\" alt=\"color-settings-1\" width=\"1280\" height=\"872.6050420168067\" fetchpriority=\"low\"><\/picture><\/div>\n<\/p><\/div><figcaption> <span class=\"c-shortcodeImage_credit g-outer-spacing-top-xsmall u-block\">Screenshot by David Gewirtz\/ZDNET<\/span><\/figcaption><\/figure>\n<p>To set the tab color, scroll all the way down and choose a custom tab color:<\/p>\n<figure class=\"c-shortcodeImage u-clearfix c-shortcodeImage-large\">\n<div class=\"c-shortcodeImage_imageContainer\">\n<div class=\"c-shortcodeImage_image\"><picture class=\"c-cmsImage\"><!----> <img decoding=\"async\" src=\"https:\/\/www.zdnet.com\/article\/claude-code-iterm2-guide-to-my-ai-coding-environment\/\" alt=\"color-settings-2\" width=\"1280\" height=\"870.2398331595411\" fetchpriority=\"low\"><\/picture><\/div>\n<\/p><\/div><figcaption> <span class=\"c-shortcodeImage_credit g-outer-spacing-top-xsmall u-block\">Screenshot by David Gewirtz\/ZDNET<\/span><\/figcaption><\/figure>\n<p>I chose a green background with yellow text when working in the parent directory of the two projects. And I gave the \/Users\/David profile a black background with bright green text. <\/p>\n<h2> Tweaking text size <\/h2>\n<p>You can also customize the font and size for each profile. I have a large screen, so I wanted my text fairly large. I picked the font and size I liked and duplicated it for each profile. You specify text size by choosing Profiles\u2192Text and then going down to the Font selector:<\/p>\n<figure class=\"c-shortcodeImage u-clearfix c-shortcodeImage-large\">\n<div class=\"c-shortcodeImage_imageContainer\">\n<div class=\"c-shortcodeImage_image\"><picture class=\"c-cmsImage\"><!----> <img decoding=\"async\" src=\"https:\/\/www.zdnet.com\/article\/claude-code-iterm2-guide-to-my-ai-coding-environment\/\" alt=\"text-size\" width=\"1280\" height=\"805.6852791878173\" fetchpriority=\"low\"><\/picture><\/div>\n<\/p><\/div><figcaption> <span class=\"c-shortcodeImage_credit g-outer-spacing-top-xsmall u-block\">Screenshot by David Gewirtz\/ZDNET<\/span><\/figcaption><\/figure>\n<h2> Setting each profile&#8217;s starting directory <\/h2>\n<p>As I mentioned earlier, Claude treats the current working directory when it launches as the root of the current project. To automatically select the right directory at startup, I set my directory choice in each profile. <\/p>\n<p>This task is also done in Settings\u2192Profiles. This time, stay in the Profiles\u2192General tab. Make sure Profile Type is set to Terminal (at 1), and then go down to Initial Directory\u2192Advanced Configuration (at 2) and hit Edit:<\/p>\n<figure class=\"c-shortcodeImage u-clearfix c-shortcodeImage-large\">\n<div class=\"c-shortcodeImage_imageContainer\">\n<div class=\"c-shortcodeImage_image\"><picture class=\"c-cmsImage\"><!----> <img decoding=\"async\" src=\"https:\/\/www.zdnet.com\/article\/claude-code-iterm2-guide-to-my-ai-coding-environment\/\" alt=\"directory-settings-1\" width=\"1280\" height=\"811.1754684838161\" fetchpriority=\"low\"><\/picture><\/div>\n<\/p><\/div><figcaption> <span class=\"c-shortcodeImage_credit g-outer-spacing-top-xsmall u-block\">Screenshot by David Gewirtz\/ZDNET<\/span><\/figcaption><\/figure>\n<p>Next, for the current project whose profile you&#8217;re in, paste the full path to that project into all three Working Directory fields. All three Working Directory fields will get the same path. That way, you&#8217;ll always be working in the project folder for your current project:<\/p>\n<figure class=\"c-shortcodeImage u-clearfix c-shortcodeImage-large\">\n<div class=\"c-shortcodeImage_imageContainer\">\n<div class=\"c-shortcodeImage_image\"><picture class=\"c-cmsImage\"><!----> <img decoding=\"async\" src=\"https:\/\/www.zdnet.com\/article\/claude-code-iterm2-guide-to-my-ai-coding-environment\/\" alt=\"directory-settings-2\" width=\"1280\" height=\"811.1754684838161\" fetchpriority=\"low\"><\/picture><\/div>\n<\/p><\/div><figcaption> <span class=\"c-shortcodeImage_credit g-outer-spacing-top-xsmall u-block\">Screenshot by David Gewirtz\/ZDNET<\/span><\/figcaption><\/figure>\n<h2> Auto-configuring Claude sessions <\/h2>\n<p>For optimal productivity, I wanted Claude fully set up as soon as I tapped the iTerm2 icon in my Mac&#8217;s dock. To take this approach, I set up each profile to run a command line as soon as iTerm2 launched. <\/p>\n<p><strong>Also:&nbsp;<a href=\"https:\/\/www.zdnet.com\/article\/how-to-install-configure-claude-code-ai-pricing-developers\/\">How to install and configure Claude Code, step by step<\/a><\/strong><\/p>\n<p>This task is done by setting Command to Login Shell on the General tab of the profile, then pasting a &#8220;Send text at start&#8221; line that&#8217;s a command line to be executed at profile launch:<\/p>\n<figure class=\"c-shortcodeImage u-clearfix c-shortcodeImage-large\">\n<div class=\"c-shortcodeImage_imageContainer\">\n<div class=\"c-shortcodeImage_image\"><picture class=\"c-cmsImage\"><!----> <img decoding=\"async\" src=\"https:\/\/www.zdnet.com\/article\/claude-code-iterm2-guide-to-my-ai-coding-environment\/\" alt=\"send-text\" width=\"1280\" height=\"811.1754684838161\" fetchpriority=\"low\"><\/picture><\/div>\n<\/p><\/div><figcaption> <span class=\"c-shortcodeImage_credit g-outer-spacing-top-xsmall u-block\">Screenshot by David Gewirtz\/ZDNET<\/span><\/figcaption><\/figure>\n<p>The command line consists of three parts: choosing the project directory, clearing the screen, and launching Claude with a starting prompt. <\/p>\n<p>Let&#8217;s take a look at that initial command: <\/p>\n<div class=\"c-shortcodeCodeSnippet\" readability=\"13\">\n<pre class=\"c-shortcodeCodeSnippet_code\">cd \/Users\/david\/Documents\/Development\/xcode\/MySewingPatternStash &amp;&amp; clear &amp;&amp; claude \"New session starting. Read every memory file in the memory directory one by one using the Read tool, not just the MEMORY.md index. Check git status for any uncommitted work. Then give me a brief status report: where we left off, what's pending, and whether there are uncommitted changes.\"<\/pre>\n<\/div>\n<p>You might have noticed that the command begins with another cd. That happens because I found that the change directory command didn&#8217;t consistently run before iTerm2 invoked Claude unless I used a belt-and-suspenders approach to choosing the starting directory. So, I set cd as an option, as described in the previous section, and also put it here in the command line itself. <\/p>\n<p>Next, I execute a clear. This step cleans up the terminal screen of some of the startup cruft I don&#8217;t want to see. After that, I launch Claude and give it a fairly extensive prompt. <\/p>\n<p><strong>Also:&nbsp;<a href=\"https:\/\/www.zdnet.com\/article\/claude-code-vibe-coding-iphone-app-lessons\/\">10 things I wish I knew before trusting Claude Code to build my iPhone app<\/a><\/strong><\/p>\n<p>The prompt tells Claude to read all my startup notes (called memory files in the memory directory). This is part of my tactic using Claude. I have the AI record a lot of notes. This process both gives me a status report and helps Claude get up to speed on what happens next. <\/p>\n<p>One last trick is the use of the &amp;&amp; operator. In <a href=\"https:\/\/man7.org\/linux\/man-pages\/man1\/bash.1.html?utm_source=chatgpt.com\" target=\"_blank\" rel=\"noopener nofollow\" class=\"c-regularLink\">bash and other shells<\/a>, the semicolon separates commands in a sequence. But the gotcha is that even if an earlier command fails, the later commands will run. By contrast, the &amp;&amp; operator only runs subsequent commands if earlier commands return an exit status that indicates success. <\/p>\n<p>So now, when each profile is instantiated, the command that launches Claude in the proper directory runs, and Claude does a deep dive, bringing itself up to speed on the project&#8217;s status.<\/p>\n<p>Here&#8217;s an example of the startup status for the sewing pattern project:<\/p>\n<figure class=\"c-shortcodeImage u-clearfix c-shortcodeImage-large\">\n<div class=\"c-shortcodeImage_imageContainer\">\n<div class=\"c-shortcodeImage_image\"><picture class=\"c-cmsImage\"><!----> <img decoding=\"async\" src=\"https:\/\/www.zdnet.com\/article\/claude-code-iterm2-guide-to-my-ai-coding-environment\/\" alt=\"status-report\" width=\"1280\" height=\"750.9801233721727\" fetchpriority=\"low\"><\/picture><\/div>\n<\/p><\/div><figcaption> <span class=\"c-shortcodeImage_credit g-outer-spacing-top-xsmall u-block\">Screenshot by David Gewirtz\/ZDNET<\/span><\/figcaption><\/figure>\n<h2> Bringing it all together <\/h2>\n<p>By this point, we have each project&#8217;s UI color-coded to the app that&#8217;s being worked on, and Claude is launching with a relevant prompt when the profile is initialized. All that&#8217;s left to do is have all four profiles launch automatically when iTerm2 is clicked in the dock. <\/p>\n<p><strong>Also:&nbsp;<a href=\"https:\/\/www.zdnet.com\/article\/claude-code-vibe-code-apple-watch-app-in-hours\/\">I used Claude Code to vibe code an Apple Watch app in just 12 hours<\/a><\/strong><\/p>\n<p>To do this step, first set up iTerm2 so it&#8217;s the way you want it when launched. In my case, that&#8217;s with all four profiles opened. I want the Home profile tab on the left, the parent profile tab on the right, and the two apps themselves in the middle tabs. I also moved the window to where I&#8217;d like it to be on the screen when it launches. <\/p>\n<p>This step is configured in the Settings\u2192Arrangements tab of iTerm2. Once your window is placed where you want it, with all the tabs open and arranged as you wish, go to Arrangements and Set Default. This move will lock in the current arrangement and open everything this way whenever you launch iTerm2. <\/p>\n<h2> 1-click to control them all <\/h2>\n<p>That&#8217;s it. All it takes now is one click on my dock icon, and iTerm2 goes to town. It sets up all my tabs, sets each one to the proper project directory, and launches three instances of Claude. <\/p>\n<p>Then, each Claude instance digs into its own project, brings itself fully back up to speed on what it needs to know for the current work session, and presents a project status summary. <\/p>\n<p><strong>Also: <a href=\"https:\/\/www.zdnet.com\/article\/gmail-ai-workflow\/\">I used Gmail&#8217;s AI tool to do hours of work for me in 10 minutes &#8211; with 3 prompts<\/a><\/strong><\/p>\n<p>It takes a few minutes for this whole process to run, but it saves me a ton of clicks. While the various Claudes are coming up to speed and briefing me on the status, I can have a couple of sips of coffee to get ready for a new development session. <\/p>\n<p>Now, you can, too. <\/p>\n<p>How much time do you think a one-click, multi-session Claude setup would save in your daily coding workflow? Let us know in the comments below. <\/p>\n<hr>\n<p><em>You can follow my day-to-day project updates on social media. Be sure to subscribe to <a href=\"https:\/\/advancedgeekery.substack.com\/\" target=\"_blank\" rel=\"noopener nofollow\" class=\"c-regularLink\">my weekly update newsletter<\/a>, and follow me on Twitter\/X at <a href=\"https:\/\/twitter.com\/davidgewirtz\" target=\"_blank\" rel=\"noopener nofollow\" class=\"c-regularLink\">@DavidGewirtz<\/a>, on Facebook at <a href=\"https:\/\/www.facebook.com\/davidgewirtz\" target=\"_blank\" rel=\"noopener nofollow\" class=\"c-regularLink\">Facebook.com\/DavidGewirtz<\/a>, on Instagram at <a href=\"https:\/\/www.instagram.com\/DavidGewirtz\/\" target=\"_blank\" rel=\"noopener nofollow\" class=\"c-regularLink\">Instagram.com\/DavidGewirtz<\/a>, on Bluesky at <a href=\"https:\/\/bsky.app\/profile\/davidgewirtz.com\" target=\"_blank\" rel=\"noopener nofollow\" class=\"c-regularLink\">@DavidGewirtz.com<\/a>, and on YouTube at <a href=\"https:\/\/www.youtube.com\/user\/DavidGewirtzTV\" target=\"_blank\" rel=\"noopener nofollow\" class=\"c-regularLink\">YouTube.com\/DavidGewirtzTV<\/a>.<\/em><\/p>\n<p>READ MORE <a href=\"https:\/\/www.zdnet.com\/article\/claude-code-iterm2-guide-to-my-ai-coding-environment\/\">HERE<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Managing multiple Claude Code projects doesn&#8217;t have to be chaotic. My iTerm2 setup dramatically reduces friction in my daily AI-assisted coding workflows &#8211; here&#8217;s how.READ MORE HERE&#8230;<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"colormag_page_layout":"default_layout","footnotes":""},"categories":[62],"tags":[],"class_list":["post-60438","post","type-post","status-publish","format-standard","hentry","category-zdnet-security"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.8 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>How I set up Claude Code in iTerm2 to launch all my AI coding projects in one click 2026 | ThreatsHub Cybersecurity News<\/title>\n<meta name=\"description\" content=\"ThreatsHub Cybersecurity News | ThreatsHub.org | Cloud Security &amp; Cyber Threats Analysis Hub. 100% Free OSINT Threat Intelligent and Cybersecurity News.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.threatshub.org\/blog\/how-i-set-up-claude-code-in-iterm2-to-launch-all-my-ai-coding-projects-in-one-click\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How I set up Claude Code in iTerm2 to launch all my AI coding projects in one click 2026 | ThreatsHub Cybersecurity News\" \/>\n<meta property=\"og:description\" content=\"ThreatsHub Cybersecurity News | ThreatsHub.org | Cloud Security &amp; Cyber Threats Analysis Hub. 100% Free OSINT Threat Intelligent and Cybersecurity News.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.threatshub.org\/blog\/how-i-set-up-claude-code-in-iterm2-to-launch-all-my-ai-coding-projects-in-one-click\/\" \/>\n<meta property=\"og:site_name\" content=\"ThreatsHub Cybersecurity News\" \/>\n<meta property=\"article:published_time\" content=\"2026-04-06T12:29:14+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.zdnet.com\/a\/img\/resize\/2e2f8d88f32b8737758723f2f4194ab5e0e42129\/2026\/04\/06\/ee807de9-fda0-4ebb-b1f0-2c34e9350fe9\/dsc00766.png?auto=webp&amp;precrop=5182,2923,x509,y0&amp;width=1280\" \/>\n<meta name=\"author\" content=\"TH Author\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@threatshub\" \/>\n<meta name=\"twitter:site\" content=\"@threatshub\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"TH Author\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"10 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.threatshub.org\/blog\/how-i-set-up-claude-code-in-iterm2-to-launch-all-my-ai-coding-projects-in-one-click\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.threatshub.org\/blog\/how-i-set-up-claude-code-in-iterm2-to-launch-all-my-ai-coding-projects-in-one-click\/\"},\"author\":{\"name\":\"TH Author\",\"@id\":\"https:\/\/www.threatshub.org\/blog\/#\/schema\/person\/12e0a8671ff89a863584f193e7062476\"},\"headline\":\"How I set up Claude Code in iTerm2 to launch all my AI coding projects in one click\",\"datePublished\":\"2026-04-06T12:29:14+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.threatshub.org\/blog\/how-i-set-up-claude-code-in-iterm2-to-launch-all-my-ai-coding-projects-in-one-click\/\"},\"wordCount\":1922,\"publisher\":{\"@id\":\"https:\/\/www.threatshub.org\/blog\/#organization\"},\"image\":{\"@id\":\"https:\/\/www.threatshub.org\/blog\/how-i-set-up-claude-code-in-iterm2-to-launch-all-my-ai-coding-projects-in-one-click\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.zdnet.com\/a\/img\/resize\/2e2f8d88f32b8737758723f2f4194ab5e0e42129\/2026\/04\/06\/ee807de9-fda0-4ebb-b1f0-2c34e9350fe9\/dsc00766.png?auto=webp&amp;precrop=5182,2923,x509,y0&amp;width=1280\",\"articleSection\":[\"ZDNet | Security\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.threatshub.org\/blog\/how-i-set-up-claude-code-in-iterm2-to-launch-all-my-ai-coding-projects-in-one-click\/\",\"url\":\"https:\/\/www.threatshub.org\/blog\/how-i-set-up-claude-code-in-iterm2-to-launch-all-my-ai-coding-projects-in-one-click\/\",\"name\":\"How I set up Claude Code in iTerm2 to launch all my AI coding projects in one click 2026 | ThreatsHub Cybersecurity News\",\"isPartOf\":{\"@id\":\"https:\/\/www.threatshub.org\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.threatshub.org\/blog\/how-i-set-up-claude-code-in-iterm2-to-launch-all-my-ai-coding-projects-in-one-click\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.threatshub.org\/blog\/how-i-set-up-claude-code-in-iterm2-to-launch-all-my-ai-coding-projects-in-one-click\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.zdnet.com\/a\/img\/resize\/2e2f8d88f32b8737758723f2f4194ab5e0e42129\/2026\/04\/06\/ee807de9-fda0-4ebb-b1f0-2c34e9350fe9\/dsc00766.png?auto=webp&amp;precrop=5182,2923,x509,y0&amp;width=1280\",\"datePublished\":\"2026-04-06T12:29:14+00:00\",\"description\":\"ThreatsHub Cybersecurity News | ThreatsHub.org | Cloud Security & Cyber Threats Analysis Hub. 100% Free OSINT Threat Intelligent and Cybersecurity News.\",\"breadcrumb\":{\"@id\":\"https:\/\/www.threatshub.org\/blog\/how-i-set-up-claude-code-in-iterm2-to-launch-all-my-ai-coding-projects-in-one-click\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.threatshub.org\/blog\/how-i-set-up-claude-code-in-iterm2-to-launch-all-my-ai-coding-projects-in-one-click\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.threatshub.org\/blog\/how-i-set-up-claude-code-in-iterm2-to-launch-all-my-ai-coding-projects-in-one-click\/#primaryimage\",\"url\":\"https:\/\/www.zdnet.com\/a\/img\/resize\/2e2f8d88f32b8737758723f2f4194ab5e0e42129\/2026\/04\/06\/ee807de9-fda0-4ebb-b1f0-2c34e9350fe9\/dsc00766.png?auto=webp&amp;precrop=5182,2923,x509,y0&amp;width=1280\",\"contentUrl\":\"https:\/\/www.zdnet.com\/a\/img\/resize\/2e2f8d88f32b8737758723f2f4194ab5e0e42129\/2026\/04\/06\/ee807de9-fda0-4ebb-b1f0-2c34e9350fe9\/dsc00766.png?auto=webp&amp;precrop=5182,2923,x509,y0&amp;width=1280\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.threatshub.org\/blog\/how-i-set-up-claude-code-in-iterm2-to-launch-all-my-ai-coding-projects-in-one-click\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.threatshub.org\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How I set up Claude Code in iTerm2 to launch all my AI coding projects in one click\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.threatshub.org\/blog\/#website\",\"url\":\"https:\/\/www.threatshub.org\/blog\/\",\"name\":\"ThreatsHub Cybersecurity News\",\"description\":\"%%focuskw%% Threat Intel \u2013 Threat Intel Services \u2013 CyberIntelligence \u2013 Cyber Threat Intelligence - Threat Intelligence Feeds - Threat Intelligence Reports - CyberSecurity Report \u2013 Cyber Security PDF \u2013 Cybersecurity Trends - Cloud Sandbox \u2013- Threat IntelligencePortal \u2013 Incident Response \u2013 Threat Hunting \u2013 IOC - Yara - Security Operations Center \u2013 SecurityOperation Center \u2013 Security SOC \u2013 SOC Services - Advanced Threat - Threat Detection - TargetedAttack \u2013 APT \u2013 Anti-APT \u2013 Advanced Protection \u2013 Cyber Security Services \u2013 Cybersecurity Services -Threat Intelligence Platform\",\"publisher\":{\"@id\":\"https:\/\/www.threatshub.org\/blog\/#organization\"},\"alternateName\":\"Threatshub.org\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.threatshub.org\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.threatshub.org\/blog\/#organization\",\"name\":\"ThreatsHub.org\",\"alternateName\":\"Threatshub.org\",\"url\":\"https:\/\/www.threatshub.org\/blog\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.threatshub.org\/blog\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/www.threatshub.org\/blog\/coredata\/uploads\/2025\/05\/Threatshub_Favicon1.jpg\",\"contentUrl\":\"https:\/\/www.threatshub.org\/blog\/coredata\/uploads\/2025\/05\/Threatshub_Favicon1.jpg\",\"width\":432,\"height\":435,\"caption\":\"ThreatsHub.org\"},\"image\":{\"@id\":\"https:\/\/www.threatshub.org\/blog\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/x.com\/threatshub\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.threatshub.org\/blog\/#\/schema\/person\/12e0a8671ff89a863584f193e7062476\",\"name\":\"TH Author\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.threatshub.org\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/066276f086d5155df79c850206a779ad368418a844da0182ce43f9cd5b506c3d?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/066276f086d5155df79c850206a779ad368418a844da0182ce43f9cd5b506c3d?s=96&d=mm&r=g\",\"caption\":\"TH Author\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How I set up Claude Code in iTerm2 to launch all my AI coding projects in one click 2026 | ThreatsHub Cybersecurity News","description":"ThreatsHub Cybersecurity News | ThreatsHub.org | Cloud Security & Cyber Threats Analysis Hub. 100% Free OSINT Threat Intelligent and Cybersecurity News.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.threatshub.org\/blog\/how-i-set-up-claude-code-in-iterm2-to-launch-all-my-ai-coding-projects-in-one-click\/","og_locale":"en_US","og_type":"article","og_title":"How I set up Claude Code in iTerm2 to launch all my AI coding projects in one click 2026 | ThreatsHub Cybersecurity News","og_description":"ThreatsHub Cybersecurity News | ThreatsHub.org | Cloud Security & Cyber Threats Analysis Hub. 100% Free OSINT Threat Intelligent and Cybersecurity News.","og_url":"https:\/\/www.threatshub.org\/blog\/how-i-set-up-claude-code-in-iterm2-to-launch-all-my-ai-coding-projects-in-one-click\/","og_site_name":"ThreatsHub Cybersecurity News","article_published_time":"2026-04-06T12:29:14+00:00","og_image":[{"url":"https:\/\/www.zdnet.com\/a\/img\/resize\/2e2f8d88f32b8737758723f2f4194ab5e0e42129\/2026\/04\/06\/ee807de9-fda0-4ebb-b1f0-2c34e9350fe9\/dsc00766.png?auto=webp&amp;precrop=5182,2923,x509,y0&amp;width=1280","type":"","width":"","height":""}],"author":"TH Author","twitter_card":"summary_large_image","twitter_creator":"@threatshub","twitter_site":"@threatshub","twitter_misc":{"Written by":"TH Author","Est. reading time":"10 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.threatshub.org\/blog\/how-i-set-up-claude-code-in-iterm2-to-launch-all-my-ai-coding-projects-in-one-click\/#article","isPartOf":{"@id":"https:\/\/www.threatshub.org\/blog\/how-i-set-up-claude-code-in-iterm2-to-launch-all-my-ai-coding-projects-in-one-click\/"},"author":{"name":"TH Author","@id":"https:\/\/www.threatshub.org\/blog\/#\/schema\/person\/12e0a8671ff89a863584f193e7062476"},"headline":"How I set up Claude Code in iTerm2 to launch all my AI coding projects in one click","datePublished":"2026-04-06T12:29:14+00:00","mainEntityOfPage":{"@id":"https:\/\/www.threatshub.org\/blog\/how-i-set-up-claude-code-in-iterm2-to-launch-all-my-ai-coding-projects-in-one-click\/"},"wordCount":1922,"publisher":{"@id":"https:\/\/www.threatshub.org\/blog\/#organization"},"image":{"@id":"https:\/\/www.threatshub.org\/blog\/how-i-set-up-claude-code-in-iterm2-to-launch-all-my-ai-coding-projects-in-one-click\/#primaryimage"},"thumbnailUrl":"https:\/\/www.zdnet.com\/a\/img\/resize\/2e2f8d88f32b8737758723f2f4194ab5e0e42129\/2026\/04\/06\/ee807de9-fda0-4ebb-b1f0-2c34e9350fe9\/dsc00766.png?auto=webp&amp;precrop=5182,2923,x509,y0&amp;width=1280","articleSection":["ZDNet | Security"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/www.threatshub.org\/blog\/how-i-set-up-claude-code-in-iterm2-to-launch-all-my-ai-coding-projects-in-one-click\/","url":"https:\/\/www.threatshub.org\/blog\/how-i-set-up-claude-code-in-iterm2-to-launch-all-my-ai-coding-projects-in-one-click\/","name":"How I set up Claude Code in iTerm2 to launch all my AI coding projects in one click 2026 | ThreatsHub Cybersecurity News","isPartOf":{"@id":"https:\/\/www.threatshub.org\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.threatshub.org\/blog\/how-i-set-up-claude-code-in-iterm2-to-launch-all-my-ai-coding-projects-in-one-click\/#primaryimage"},"image":{"@id":"https:\/\/www.threatshub.org\/blog\/how-i-set-up-claude-code-in-iterm2-to-launch-all-my-ai-coding-projects-in-one-click\/#primaryimage"},"thumbnailUrl":"https:\/\/www.zdnet.com\/a\/img\/resize\/2e2f8d88f32b8737758723f2f4194ab5e0e42129\/2026\/04\/06\/ee807de9-fda0-4ebb-b1f0-2c34e9350fe9\/dsc00766.png?auto=webp&amp;precrop=5182,2923,x509,y0&amp;width=1280","datePublished":"2026-04-06T12:29:14+00:00","description":"ThreatsHub Cybersecurity News | ThreatsHub.org | Cloud Security & Cyber Threats Analysis Hub. 100% Free OSINT Threat Intelligent and Cybersecurity News.","breadcrumb":{"@id":"https:\/\/www.threatshub.org\/blog\/how-i-set-up-claude-code-in-iterm2-to-launch-all-my-ai-coding-projects-in-one-click\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.threatshub.org\/blog\/how-i-set-up-claude-code-in-iterm2-to-launch-all-my-ai-coding-projects-in-one-click\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.threatshub.org\/blog\/how-i-set-up-claude-code-in-iterm2-to-launch-all-my-ai-coding-projects-in-one-click\/#primaryimage","url":"https:\/\/www.zdnet.com\/a\/img\/resize\/2e2f8d88f32b8737758723f2f4194ab5e0e42129\/2026\/04\/06\/ee807de9-fda0-4ebb-b1f0-2c34e9350fe9\/dsc00766.png?auto=webp&amp;precrop=5182,2923,x509,y0&amp;width=1280","contentUrl":"https:\/\/www.zdnet.com\/a\/img\/resize\/2e2f8d88f32b8737758723f2f4194ab5e0e42129\/2026\/04\/06\/ee807de9-fda0-4ebb-b1f0-2c34e9350fe9\/dsc00766.png?auto=webp&amp;precrop=5182,2923,x509,y0&amp;width=1280"},{"@type":"BreadcrumbList","@id":"https:\/\/www.threatshub.org\/blog\/how-i-set-up-claude-code-in-iterm2-to-launch-all-my-ai-coding-projects-in-one-click\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.threatshub.org\/blog\/"},{"@type":"ListItem","position":2,"name":"How I set up Claude Code in iTerm2 to launch all my AI coding projects in one click"}]},{"@type":"WebSite","@id":"https:\/\/www.threatshub.org\/blog\/#website","url":"https:\/\/www.threatshub.org\/blog\/","name":"ThreatsHub Cybersecurity News","description":"%%focuskw%% Threat Intel \u2013 Threat Intel Services \u2013 CyberIntelligence \u2013 Cyber Threat Intelligence - Threat Intelligence Feeds - Threat Intelligence Reports - CyberSecurity Report \u2013 Cyber Security PDF \u2013 Cybersecurity Trends - Cloud Sandbox \u2013- Threat IntelligencePortal \u2013 Incident Response \u2013 Threat Hunting \u2013 IOC - Yara - Security Operations Center \u2013 SecurityOperation Center \u2013 Security SOC \u2013 SOC Services - Advanced Threat - Threat Detection - TargetedAttack \u2013 APT \u2013 Anti-APT \u2013 Advanced Protection \u2013 Cyber Security Services \u2013 Cybersecurity Services -Threat Intelligence Platform","publisher":{"@id":"https:\/\/www.threatshub.org\/blog\/#organization"},"alternateName":"Threatshub.org","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.threatshub.org\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.threatshub.org\/blog\/#organization","name":"ThreatsHub.org","alternateName":"Threatshub.org","url":"https:\/\/www.threatshub.org\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.threatshub.org\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/www.threatshub.org\/blog\/coredata\/uploads\/2025\/05\/Threatshub_Favicon1.jpg","contentUrl":"https:\/\/www.threatshub.org\/blog\/coredata\/uploads\/2025\/05\/Threatshub_Favicon1.jpg","width":432,"height":435,"caption":"ThreatsHub.org"},"image":{"@id":"https:\/\/www.threatshub.org\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/x.com\/threatshub"]},{"@type":"Person","@id":"https:\/\/www.threatshub.org\/blog\/#\/schema\/person\/12e0a8671ff89a863584f193e7062476","name":"TH Author","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.threatshub.org\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/066276f086d5155df79c850206a779ad368418a844da0182ce43f9cd5b506c3d?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/066276f086d5155df79c850206a779ad368418a844da0182ce43f9cd5b506c3d?s=96&d=mm&r=g","caption":"TH Author"}}]}},"_links":{"self":[{"href":"https:\/\/www.threatshub.org\/blog\/wp-json\/wp\/v2\/posts\/60438","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.threatshub.org\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.threatshub.org\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.threatshub.org\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.threatshub.org\/blog\/wp-json\/wp\/v2\/comments?post=60438"}],"version-history":[{"count":0,"href":"https:\/\/www.threatshub.org\/blog\/wp-json\/wp\/v2\/posts\/60438\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.threatshub.org\/blog\/wp-json\/wp\/v2\/media?parent=60438"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.threatshub.org\/blog\/wp-json\/wp\/v2\/categories?post=60438"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.threatshub.org\/blog\/wp-json\/wp\/v2\/tags?post=60438"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}