{"id":9336,"date":"2025-08-16T06:51:00","date_gmt":"2025-08-16T13:51:00","guid":{"rendered":"http:\/\/blog.networkpresence.co\/?p=9336"},"modified":"2025-08-16T02:53:00","modified_gmt":"2025-08-16T09:53:00","slug":"install-claude-command-line","status":"publish","type":"post","link":"http:\/\/blog.networkpresence.co\/?p=9336","title":{"rendered":"Install Claude command line"},"content":{"rendered":"\n<p>Reimage your VPS with our Ubuntu 24.04 template.<\/p>\n\n\n\n<p>Login to your VPS as root and run:<\/p>\n\n\n\n<p><code>apt update &amp;&amp; apt upgrade<\/code><\/p>\n\n\n\n<p>Then install nodejs &amp; npm with:<\/p>\n\n\n\n<p><code>apt install nodejs npm<\/code><\/p>\n\n\n\n<p>Now you can install claude-code with:<\/p>\n\n\n\n<p><code>npm install -g @anthropic-ai\/claude-code<\/code><br><br>With the above installed you can then run the &#8220;claude&#8221; command in your project&#8217;s directory, eg:<\/p>\n\n\n\n<p><code>mkdir -p claude-project\/1 &amp;&amp; cd claude-project\/1 &amp;&amp; claude<\/code><\/p>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Reimage your VPS with our Ubuntu 24.04 template. Login to your VPS as root and run: apt update &amp;&amp; apt upgrade Then install nodejs &amp; npm with: apt install nodejs npm Now you can install claude-code with: npm install -g &hellip; <a href=\"http:\/\/blog.networkpresence.co\/?p=9336\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[70],"tags":[],"class_list":["post-9336","post","type-post","status-publish","format-standard","hentry","category-sales"],"_links":{"self":[{"href":"http:\/\/blog.networkpresence.co\/index.php?rest_route=\/wp\/v2\/posts\/9336","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/blog.networkpresence.co\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/blog.networkpresence.co\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/blog.networkpresence.co\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"http:\/\/blog.networkpresence.co\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=9336"}],"version-history":[{"count":2,"href":"http:\/\/blog.networkpresence.co\/index.php?rest_route=\/wp\/v2\/posts\/9336\/revisions"}],"predecessor-version":[{"id":9338,"href":"http:\/\/blog.networkpresence.co\/index.php?rest_route=\/wp\/v2\/posts\/9336\/revisions\/9338"}],"wp:attachment":[{"href":"http:\/\/blog.networkpresence.co\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=9336"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/blog.networkpresence.co\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=9336"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/blog.networkpresence.co\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=9336"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}