{"id":3192,"date":"2025-11-21T23:12:06","date_gmt":"2025-11-21T14:12:06","guid":{"rendered":"https:\/\/www.blowfish.co.jp\/?p=3192"},"modified":"2025-11-21T23:19:07","modified_gmt":"2025-11-21T14:19:07","slug":"kiro-cli-%e3%82%a4%e3%83%b3%e3%82%b9%e3%83%88%e3%83%bc%e3%83%ab%e3%81%97%e3%81%9f%e3%81%8c%e3%80%81kiro-cli-not-found","status":"publish","type":"post","link":"https:\/\/www.blowfish.co.jp\/?p=3192","title":{"rendered":"Kiro CLI \u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u305f\u304c\u3001kiro-cli not found"},"content":{"rendered":"\n<p>Kiro Cli \u304c\u30ea\u30ea\u30fc\u30b9\u3055\u308c\u305f\u306e\u3067\u3001\u65e9\u901fMac Book Air M4 \u306b\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3002\u5143\u3005\u3001Amazon Q Developer \u3092\u5229\u7528\u3057\u3066\u3001q \u30b3\u30de\u30f3\u30c9\u306f\u5b9f\u884c\u3067\u304d\u3066\u3044\u305f\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>curl -fsSL https:\/\/cli.kiro.dev\/install | bash<\/code><\/pre>\n\n\n\n<p>kiro-cli \u306f\u7121\u4e8b\u306b\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u305f\u3053\u3068\u306f\u78ba\u8a8d\u3067\u304d\u3066\u3044\u308b\u3002\u5e38\u99d0\u3057\u3066\u3044\u308b\u3057\u3001Application  \u306b\u3082\u3061\u3083\u3093\u3068\u5b58\u5728\u3057\u3066\u3044\u308b\u3002\u3057\u304b\u3057\u3001\u4eca\u307e\u3067\u5b9f\u884c\u3067\u304d\u3066\u3044\u305f q \u30b3\u30de\u30f3\u30c9\u3082\u3001kiro-cli \u30b3\u30de\u30f3\u30c9\u3082 command not found \u3068\u306a\u3063\u3066\u3057\u307e\u3063\u305f\u3002<\/p>\n\n\n\n<p>\u7d50\u8ad6\u304b\u3089\u8a00\u3046\u3068\u3001~\/.local\/bin \u3078\u306e\u66f8\u304d\u8fbc\u307f\u6a29\u9650\u304c\u4f55\u6545\u304b\u7121\u304b\u3063\u305f\u3068\u3044\u3046\u843d\u3061\u3002<\/p>\n\n\n\n<p>\u305d\u3046\u3044\u3048\u3070\u3001Amazon Q Developer CLI \u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u305f\u6642\u3082\u30cf\u30de\u3063\u3066\u3044\u305f\u3002\u4e16\u754c\u4e2d\u3069\u3053\u3092\u691c\u7d22\u3057\u3066\u3082\u540c\u69d8\u306e\u30a8\u30e9\u30fc\u306f\u306a\u304b\u3063\u305f\u3002<\/p>\n\n\n\n<p>\u5bfe\u5fdc\u65b9\u6cd5\u306f\u4ee5\u4e0b\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>mkdir -p ~\/.local\/bin\nchown -R $USER:staff ~\/.local\/bin<\/code><\/pre>\n\n\n\n<p>\u305d\u3057\u3066\u6539\u3081\u3066\u3001<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>curl -fsSL https:\/\/cli.kiro.dev\/install | bash\necho 'export PATH=\"$HOME\/.local\/bin:$PATH\"' &gt;&gt; ~\/.profile\n% ls .local\/bin \nbash (kiro-cli-term)\tkiro-cli\t\tkiro-cli-term\t\tq\t\t\tzsh (kiro-cli-term)\nfish (kiro-cli-term)\tkiro-cli-chat\t\tnu (kiro-cli-term)\tqchat\n<\/code><\/pre>\n\n\n\n<p>\u3059\u308b\u3068\u3001\u7121\u4e8b\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3067\u304d\u305f\u3088\u3046\u3060\u3002<br>Kiro-cli  \u81ea\u4f53\u306f\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u3066\u3044\u305f\u306e\u3060\u304c\u3001~\/.local\/bin \u3078\u306e\u30a8\u30a4\u30ea\u30a2\u30b9\u304c\u3001\u6a29\u9650\u306e\u554f\u984c\u3067\u8a2d\u5b9a\u3067\u304d\u3066\u3044\u306a\u304b\u3063\u305f\u3068\u3044\u3046\u3053\u3068\u3002<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<p>Since Kiro CLI was released, I immediately installed it on my MacBook Air M4. I had already been using Amazon Q Developer, so I was able to run the <code>q<\/code> command before.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>curl -fsSL https:\/\/cli.kiro.dev\/install | bash\n<\/code><\/pre>\n\n\n\n<p>I confirmed that <code>kiro-cli<\/code> was successfully installed. It was running in the background and it also appeared correctly in the Applications folder.<br>However, both the previously working <code>q<\/code> command and the new <code>kiro-cli<\/code> command ended up throwing <code>command not found<\/code>.<\/p>\n\n\n\n<p>In conclusion, the root cause was simply that I somehow didn\u2019t have write permission to <code>~\/.local\/bin<\/code>.<\/p>\n\n\n\n<p>Come to think of it, I ran into the exact same issue when I installed the Amazon Q Developer CLI. I couldn\u2019t find anyone else in the world reporting the same error.<\/p>\n\n\n\n<p>Here\u2019s the solution:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>mkdir -p ~\/.local\/bin\nchown -R $USER:staff ~\/.local\/bin\n<\/code><\/pre>\n\n\n\n<p>Then run the installation again:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>curl -fsSL https:\/\/cli.kiro.dev\/install | bash\necho 'export PATH=\"$HOME\/.local\/bin:$PATH\"' &gt;&gt; ~\/.profile\n<\/code><\/pre>\n\n\n\n<p>Checking the directory:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>% ls .local\/bin \nbash (kiro-cli-term)    kiro-cli        kiro-cli-term      q           zsh (kiro-cli-term)\nfish (kiro-cli-term)    kiro-cli-chat   nu (kiro-cli-term) qchat\n<\/code><\/pre>\n\n\n\n<p>This time, everything worked.<\/p>\n\n\n\n<p>Although Kiro CLI itself had been installed, the alias in <code>~\/.local\/bin<\/code> couldn\u2019t be created due to the permission issue\u2014that was the whole story.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Kiro Cli \u304c\u30ea\u30ea\u30fc\u30b9\u3055\u308c\u305f\u306e\u3067\u3001\u65e9\u901fMac Book Air M4 \u306b\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3002\u5143\u3005\u3001Amazon Q Developer \u3092\u5229\u7528\u3057\u3066\u3001q \u30b3\u30de\u30f3\u30c9\u306f\u5b9f\u884c\u3067\u304d\u3066\u3044\u305f\u3002 kiro-cli \u306f\u7121\u4e8b\u306b\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"saved_in_kubio":false,"footnotes":""},"categories":[78,88,17,4],"tags":[],"class_list":["post-3192","post","type-post","status-publish","format-standard","hentry","category-ai","category-kiro","category-windowsmac","category-tech"],"_links":{"self":[{"href":"https:\/\/www.blowfish.co.jp\/index.php?rest_route=\/wp\/v2\/posts\/3192","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.blowfish.co.jp\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.blowfish.co.jp\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.blowfish.co.jp\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.blowfish.co.jp\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=3192"}],"version-history":[{"count":4,"href":"https:\/\/www.blowfish.co.jp\/index.php?rest_route=\/wp\/v2\/posts\/3192\/revisions"}],"predecessor-version":[{"id":3196,"href":"https:\/\/www.blowfish.co.jp\/index.php?rest_route=\/wp\/v2\/posts\/3192\/revisions\/3196"}],"wp:attachment":[{"href":"https:\/\/www.blowfish.co.jp\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=3192"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.blowfish.co.jp\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=3192"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.blowfish.co.jp\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=3192"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}