{
    "componentChunkName": "component---src-templates-page-jsx",
    "path": "/docs/test-management/qi-home/arcus-cli/set-up-the-arcus-cli/",
    "result": {"data":{"markdownRemark":{"html":"<p><strong>Install the Arcus CLI, authenticate it, and connect a device, so Claude Code can validate and run Testsigma test cases on your machine. You do this once per machine.</strong></p>\n<hr>\n<blockquote>\n<h2 id=\"before-you-begin\" style=\"position:relative;\"><a href=\"#before-you-begin\" aria-label=\"before you begin permalink\" class=\"anchor before\"><svg aria-hidden=\"true\" focusable=\"false\" height=\"16\" version=\"1.1\" viewBox=\"0 0 16 16\" width=\"16\"><path fill-rule=\"evenodd\" d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a><strong>Before you begin</strong></h2>\n<p>This procedure requires:</p>\n<ul>\n<li>Node.js and npm installed on your machine.</li>\n<li>Claude Code installed. The latest version is recommended.</li>\n<li>An Arcus account and a Testsigma account. The free tier is enough to write, validate, and push test cases.</li>\n<li>An Android device, if you plan to run mobile test cases.</li>\n</ul>\n</blockquote>\n<hr>\n<h2 id=\"install-and-authenticate-the-cli\" style=\"position:relative;\"><a href=\"#install-and-authenticate-the-cli\" aria-label=\"install and authenticate the cli permalink\" class=\"anchor before\"><svg aria-hidden=\"true\" focusable=\"false\" height=\"16\" version=\"1.1\" viewBox=\"0 0 16 16\" width=\"16\"><path fill-rule=\"evenodd\" d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a><strong>Install and authenticate the CLI</strong></h2>\n<ol>\n<li>\n<p>Install the CLI globally.</p>\n<div class=\"gatsby-highlight\" data-language=\"bash\"><pre class=\"language-bash\"><code class=\"language-bash\"><span class=\"token function\">npm</span> <span class=\"token function\">install</span> <span class=\"token parameter variable\">-g</span> @testsigma/arcus-cli</code></pre></div>\n</li>\n<li>\n<p>Authenticate the CLI against your Testsigma account.</p>\n<div class=\"gatsby-highlight\" data-language=\"bash\"><pre class=\"language-bash\"><code class=\"language-bash\">testsigma login</code></pre></div>\n</li>\n</ol>\n<hr>\n<h2 id=\"install-and-authenticate-the-claude-code-plugin\" style=\"position:relative;\"><a href=\"#install-and-authenticate-the-claude-code-plugin\" aria-label=\"install and authenticate the claude code plugin permalink\" class=\"anchor before\"><svg aria-hidden=\"true\" focusable=\"false\" height=\"16\" version=\"1.1\" viewBox=\"0 0 16 16\" width=\"16\"><path fill-rule=\"evenodd\" d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a><strong>Install and authenticate the Claude Code plugin</strong></h2>\n<p>Install the plugin, run <strong>/arcus:login</strong>, then set your active project with <strong>/arcus:project</strong>. See <a href=\"https://testsigma.com/docs/test-management/qi-home/context-mapping/connect-claude-code/\">Connect Claude Code</a> for the steps. The active project determines which project your test cases are pushed into, so set it before you push.</p>\n<div class=\"custom-block alert alert-info\"><div class=\"custom-block-heading\"><strong>NOTE</strong>:</div><div class=\"custom-block-body\"><p>There are two separate logins and you need both. <strong>testsigma login</strong> authenticates the CLI so it can run test cases and report results. <strong>/arcus:login</strong> authenticates the plugin so Arcus can capture your context and use it for test generation. No data reaches Arcus until you run <strong>/arcus:push</strong>.</p></div></div>\n<hr>\n<h2 id=\"connect-a-device-with-testsigma-terminal\" style=\"position:relative;\"><a href=\"#connect-a-device-with-testsigma-terminal\" aria-label=\"connect a device with testsigma terminal permalink\" class=\"anchor before\"><svg aria-hidden=\"true\" focusable=\"false\" height=\"16\" version=\"1.1\" viewBox=\"0 0 16 16\" width=\"16\"><path fill-rule=\"evenodd\" d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a><strong>Connect a device with Testsigma Terminal</strong></h2>\n<p>Complete this section if you plan to run Android mobile test cases.</p>\n<ol>\n<li>Download and install Testsigma Terminal.</li>\n<li>Open Testsigma Terminal.</li>\n<li>In the configuration settings, select <strong>Modern</strong>.</li>\n<li>Log in to Testsigma Terminal.</li>\n<li>Connect your Android device. The device appears in Testsigma Terminal.</li>\n</ol>\n<div class=\"custom-block alert alert-info\"><div class=\"custom-block-heading\"><strong>NOTE</strong>:</div><div class=\"custom-block-body\"><p>Connect the device before you ask Claude Code to run a test case. A run cannot start without a connected device.</p></div></div>\n<hr>","frontmatter":{"title":"Set up the Arcus CLI","page_title":"Set up the Arcus CLI","metadesc":"Install and authenticate the Arcus CLI, set up the Claude Code plugin, and connect a device with Testsigma Terminal for local test execution.","noindex":false,"contextual_links":[{"type":"section","name":"Contents","url":null},{"type":"link","name":"Before you begin","url":"#before-you-begin"},{"type":"link","name":"Install and authenticate the CLI","url":"#install-and-authenticate-the-cli"},{"type":"link","name":"Install and authenticate the Claude Code plugin","url":"#install-and-authenticate-the-claude-code-plugin"},{"type":"link","name":"Connect a device with Testsigma Terminal","url":"#connect-a-device-with-testsigma-terminal"}]},"fields":{"slug":"/docs/test-management/qi-home/arcus-cli/set-up-the-arcus-cli/"}}},"pageContext":{"slug":"/docs/test-management/qi-home/arcus-cli/set-up-the-arcus-cli/","prev":{"fields":{"slug":"/docs/test-management/qi-home/arcus-cli/overview/"},"frontmatter":{"title":"Arcus CLI","metadesc":"How the Arcus CLI validates and runs Testsigma test cases on your machine, what you install, and where local execution fits in QI Home.","canonical":null,"keywords":null,"social_share_summary":null,"social_share_desc":null,"social_share_image":null,"noindex":false}},"next":{"fields":{"slug":"/docs/test-management/qi-home/arcus-cli/write-and-run-tests-locally/"},"frontmatter":{"title":"Write and run tests locally","metadesc":"Write Testsigma test cases with Claude Code, validate them with the Arcus CLI, and run them locally on a browser or connected device.","canonical":null,"keywords":null,"social_share_summary":null,"social_share_desc":null,"social_share_image":null,"noindex":false}}}},
    "staticQueryHashes": ["2855385900","63159454"]}