@fredlackey/devutils 0.0.18 → 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (447) hide show
  1. package/README.md +214 -141
  2. package/package.json +8 -83
  3. package/src/api/loader.js +229 -0
  4. package/src/api/registry.json +62 -0
  5. package/src/cli.js +293 -60
  6. package/src/commands/ai/index.js +16 -0
  7. package/src/commands/ai/launch.js +112 -0
  8. package/src/commands/ai/list.js +54 -0
  9. package/src/commands/ai/resume.js +70 -0
  10. package/src/commands/ai/sessions.js +121 -0
  11. package/src/commands/ai/set.js +131 -0
  12. package/src/commands/ai/show.js +74 -0
  13. package/src/commands/ai/tools.js +46 -0
  14. package/src/commands/alias/add.js +93 -0
  15. package/src/commands/alias/helpers.js +107 -0
  16. package/src/commands/alias/index.js +14 -0
  17. package/src/commands/alias/list.js +55 -0
  18. package/src/commands/alias/remove.js +62 -0
  19. package/src/commands/alias/sync.js +109 -0
  20. package/src/commands/api/disable.js +73 -0
  21. package/src/commands/api/enable.js +148 -0
  22. package/src/commands/api/index.js +15 -0
  23. package/src/commands/api/list.js +66 -0
  24. package/src/commands/api/update.js +87 -0
  25. package/src/commands/auth/index.js +15 -0
  26. package/src/commands/auth/list.js +49 -0
  27. package/src/commands/auth/login.js +384 -0
  28. package/src/commands/auth/logout.js +111 -0
  29. package/src/commands/auth/refresh.js +184 -0
  30. package/src/commands/auth/services.js +169 -0
  31. package/src/commands/auth/status.js +104 -0
  32. package/src/commands/config/export.js +224 -0
  33. package/src/commands/config/get.js +52 -0
  34. package/src/commands/config/import.js +308 -0
  35. package/src/commands/config/index.js +17 -0
  36. package/src/commands/config/init.js +143 -0
  37. package/src/commands/config/reset.js +57 -0
  38. package/src/commands/config/set.js +93 -0
  39. package/src/commands/config/show.js +35 -0
  40. package/src/commands/help.js +338 -0
  41. package/src/commands/identity/add.js +133 -0
  42. package/src/commands/identity/index.js +17 -0
  43. package/src/commands/identity/link.js +76 -0
  44. package/src/commands/identity/list.js +48 -0
  45. package/src/commands/identity/remove.js +72 -0
  46. package/src/commands/identity/show.js +65 -0
  47. package/src/commands/identity/sync.js +172 -0
  48. package/src/commands/identity/unlink.js +57 -0
  49. package/src/commands/ignore/add.js +165 -0
  50. package/src/commands/ignore/index.js +14 -0
  51. package/src/commands/ignore/list.js +89 -0
  52. package/src/commands/ignore/markers.js +43 -0
  53. package/src/commands/ignore/remove.js +164 -0
  54. package/src/commands/ignore/show.js +169 -0
  55. package/src/commands/machine/detect.js +122 -0
  56. package/src/commands/machine/index.js +14 -0
  57. package/src/commands/machine/list.js +74 -0
  58. package/src/commands/machine/set.js +106 -0
  59. package/src/commands/machine/show.js +35 -0
  60. package/src/commands/schema.js +152 -0
  61. package/src/commands/search/collections.js +134 -0
  62. package/src/commands/search/get.js +71 -0
  63. package/src/commands/search/index-cmd.js +54 -0
  64. package/src/commands/search/index.js +21 -0
  65. package/src/commands/search/keyword.js +60 -0
  66. package/src/commands/search/qmd.js +70 -0
  67. package/src/commands/search/query.js +64 -0
  68. package/src/commands/search/semantic.js +62 -0
  69. package/src/commands/search/status.js +46 -0
  70. package/src/commands/status.js +224 -171
  71. package/src/commands/tools/check.js +79 -0
  72. package/src/commands/tools/index.js +14 -0
  73. package/src/commands/tools/install.js +110 -0
  74. package/src/commands/tools/list.js +91 -0
  75. package/src/commands/tools/search.js +60 -0
  76. package/src/commands/update.js +83 -112
  77. package/src/commands/util/add.js +151 -0
  78. package/src/commands/util/index.js +15 -0
  79. package/src/commands/util/list.js +97 -0
  80. package/src/commands/util/remove.js +76 -0
  81. package/src/commands/util/run.js +79 -0
  82. package/src/commands/util/show.js +67 -0
  83. package/src/commands/version.js +21 -88
  84. package/src/installers/_template.js +104 -0
  85. package/src/installers/git.js +150 -0
  86. package/src/installers/homebrew.js +190 -0
  87. package/src/installers/node.js +223 -0
  88. package/src/installers/registry.json +29 -0
  89. package/src/lib/config.js +125 -0
  90. package/src/lib/detect.js +74 -0
  91. package/src/lib/errors.js +114 -0
  92. package/src/lib/github.js +315 -0
  93. package/src/lib/installer.js +225 -0
  94. package/src/lib/output.js +239 -0
  95. package/src/lib/platform.js +112 -0
  96. package/src/lib/platforms/amazon-linux.js +41 -0
  97. package/src/lib/platforms/gitbash.js +46 -0
  98. package/src/lib/platforms/macos.js +45 -0
  99. package/src/lib/platforms/raspbian.js +41 -0
  100. package/src/lib/platforms/ubuntu.js +39 -0
  101. package/src/lib/platforms/windows.js +45 -0
  102. package/src/lib/prompt.js +161 -0
  103. package/src/lib/schema.js +211 -0
  104. package/src/lib/shell.js +75 -0
  105. package/src/patterns/gitignore/claude-code.txt +25 -0
  106. package/src/patterns/gitignore/docker.txt +15 -0
  107. package/src/patterns/gitignore/go.txt +24 -0
  108. package/src/patterns/gitignore/java.txt +38 -0
  109. package/src/patterns/gitignore/jetbrains.txt +26 -0
  110. package/src/patterns/gitignore/linux.txt +18 -0
  111. package/src/patterns/gitignore/macos.txt +27 -0
  112. package/src/patterns/gitignore/node.txt +51 -0
  113. package/src/patterns/gitignore/python.txt +55 -0
  114. package/src/patterns/gitignore/rust.txt +14 -0
  115. package/src/patterns/gitignore/terraform.txt +30 -0
  116. package/src/patterns/gitignore/vscode.txt +15 -0
  117. package/src/patterns/gitignore/windows.txt +25 -0
  118. package/src/utils/clone/index.js +165 -0
  119. package/src/utils/git-push/index.js +230 -0
  120. package/src/utils/git-status/index.js +116 -0
  121. package/src/utils/git-status/unix.sh +75 -0
  122. package/src/utils/registry.json +41 -0
  123. package/bin/dev.js +0 -16
  124. package/files/README.md +0 -0
  125. package/files/claude/.claude/commands/setup-context.md +0 -3
  126. package/files/monorepos/_archive/README.md +0 -36
  127. package/files/monorepos/_legacy/README.md +0 -36
  128. package/files/monorepos/ai-docs/README.md +0 -33
  129. package/files/monorepos/apps/README.md +0 -24
  130. package/files/monorepos/docs/README.md +0 -40
  131. package/files/monorepos/packages/README.md +0 -25
  132. package/files/monorepos/research/README.md +0 -29
  133. package/files/monorepos/scripts/README.md +0 -24
  134. package/src/commands/README.md +0 -41
  135. package/src/commands/configure.js +0 -199
  136. package/src/commands/identity.js +0 -1630
  137. package/src/commands/ignore.js +0 -247
  138. package/src/commands/install.js +0 -526
  139. package/src/commands/setup.js +0 -246
  140. package/src/completion.js +0 -284
  141. package/src/constants.js +0 -45
  142. package/src/ignore/claude-code.txt +0 -10
  143. package/src/ignore/docker.txt +0 -18
  144. package/src/ignore/linux.txt +0 -23
  145. package/src/ignore/macos.txt +0 -36
  146. package/src/ignore/node.txt +0 -55
  147. package/src/ignore/terraform.txt +0 -37
  148. package/src/ignore/vscode.txt +0 -18
  149. package/src/ignore/windows.txt +0 -35
  150. package/src/index.js +0 -0
  151. package/src/installs/README.md +0 -399
  152. package/src/installs/adobe-creative-cloud.js +0 -546
  153. package/src/installs/adobe-creative-cloud.md +0 -605
  154. package/src/installs/appcleaner.js +0 -321
  155. package/src/installs/appcleaner.md +0 -699
  156. package/src/installs/apt-transport-https.js +0 -390
  157. package/src/installs/apt-transport-https.md +0 -678
  158. package/src/installs/atomicparsley.js +0 -642
  159. package/src/installs/atomicparsley.md +0 -795
  160. package/src/installs/aws-cli.js +0 -797
  161. package/src/installs/aws-cli.md +0 -727
  162. package/src/installs/balena-etcher.js +0 -710
  163. package/src/installs/balena-etcher.md +0 -761
  164. package/src/installs/bambu-studio.js +0 -1143
  165. package/src/installs/bambu-studio.md +0 -780
  166. package/src/installs/bash-completion.js +0 -575
  167. package/src/installs/bash-completion.md +0 -833
  168. package/src/installs/bash.js +0 -417
  169. package/src/installs/bash.md +0 -993
  170. package/src/installs/beyond-compare.js +0 -603
  171. package/src/installs/beyond-compare.md +0 -813
  172. package/src/installs/brave-browser.js +0 -968
  173. package/src/installs/brave-browser.md +0 -650
  174. package/src/installs/build-essential.js +0 -529
  175. package/src/installs/build-essential.md +0 -977
  176. package/src/installs/ca-certificates.js +0 -618
  177. package/src/installs/ca-certificates.md +0 -937
  178. package/src/installs/caffeine.js +0 -508
  179. package/src/installs/caffeine.md +0 -839
  180. package/src/installs/camtasia.js +0 -596
  181. package/src/installs/camtasia.md +0 -762
  182. package/src/installs/chatgpt.js +0 -476
  183. package/src/installs/chatgpt.md +0 -814
  184. package/src/installs/chocolatey.js +0 -456
  185. package/src/installs/chocolatey.md +0 -661
  186. package/src/installs/chrome-canary.js +0 -419
  187. package/src/installs/chrome-canary.md +0 -641
  188. package/src/installs/chromium.js +0 -667
  189. package/src/installs/chromium.md +0 -838
  190. package/src/installs/claude-code.js +0 -576
  191. package/src/installs/claude-code.md +0 -1173
  192. package/src/installs/cloudflare-warp.js +0 -900
  193. package/src/installs/cloudflare-warp.md +0 -1047
  194. package/src/installs/comet-browser.js +0 -588
  195. package/src/installs/comet-browser.md +0 -731
  196. package/src/installs/curl.js +0 -379
  197. package/src/installs/curl.md +0 -714
  198. package/src/installs/cursor.js +0 -579
  199. package/src/installs/cursor.md +0 -970
  200. package/src/installs/dbeaver.js +0 -924
  201. package/src/installs/dbeaver.md +0 -939
  202. package/src/installs/dbschema.js +0 -692
  203. package/src/installs/dbschema.md +0 -925
  204. package/src/installs/dependencies.md +0 -453
  205. package/src/installs/development-tools.js +0 -600
  206. package/src/installs/development-tools.md +0 -977
  207. package/src/installs/docker.js +0 -1029
  208. package/src/installs/docker.md +0 -1109
  209. package/src/installs/drawio.js +0 -1019
  210. package/src/installs/drawio.md +0 -795
  211. package/src/installs/elmedia-player.js +0 -347
  212. package/src/installs/elmedia-player.md +0 -556
  213. package/src/installs/ffmpeg.js +0 -889
  214. package/src/installs/ffmpeg.md +0 -852
  215. package/src/installs/file.js +0 -464
  216. package/src/installs/file.md +0 -987
  217. package/src/installs/gemini-cli.js +0 -811
  218. package/src/installs/gemini-cli.md +0 -1153
  219. package/src/installs/git.js +0 -400
  220. package/src/installs/git.md +0 -907
  221. package/src/installs/gitego.js +0 -949
  222. package/src/installs/gitego.md +0 -1172
  223. package/src/installs/go.js +0 -931
  224. package/src/installs/go.md +0 -958
  225. package/src/installs/google-antigravity.js +0 -913
  226. package/src/installs/google-antigravity.md +0 -1075
  227. package/src/installs/google-chrome.js +0 -833
  228. package/src/installs/google-chrome.md +0 -862
  229. package/src/installs/gpg.js +0 -480
  230. package/src/installs/gpg.md +0 -1056
  231. package/src/installs/homebrew.js +0 -1028
  232. package/src/installs/homebrew.md +0 -988
  233. package/src/installs/imageoptim.js +0 -968
  234. package/src/installs/imageoptim.md +0 -1119
  235. package/src/installs/installers.json +0 -4032
  236. package/src/installs/installers.json.tmp +0 -3953
  237. package/src/installs/jq.js +0 -400
  238. package/src/installs/jq.md +0 -809
  239. package/src/installs/keyboard-maestro.js +0 -719
  240. package/src/installs/keyboard-maestro.md +0 -825
  241. package/src/installs/kiro.js +0 -864
  242. package/src/installs/kiro.md +0 -1015
  243. package/src/installs/latex.js +0 -789
  244. package/src/installs/latex.md +0 -1095
  245. package/src/installs/lftp.js +0 -356
  246. package/src/installs/lftp.md +0 -907
  247. package/src/installs/lsb-release.js +0 -346
  248. package/src/installs/lsb-release.md +0 -814
  249. package/src/installs/messenger.js +0 -847
  250. package/src/installs/messenger.md +0 -900
  251. package/src/installs/microsoft-office.js +0 -568
  252. package/src/installs/microsoft-office.md +0 -760
  253. package/src/installs/microsoft-teams.js +0 -801
  254. package/src/installs/microsoft-teams.md +0 -886
  255. package/src/installs/moom.js +0 -326
  256. package/src/installs/moom.md +0 -570
  257. package/src/installs/node.js +0 -904
  258. package/src/installs/node.md +0 -1153
  259. package/src/installs/nordpass.js +0 -716
  260. package/src/installs/nordpass.md +0 -921
  261. package/src/installs/nordvpn.js +0 -892
  262. package/src/installs/nordvpn.md +0 -1052
  263. package/src/installs/nvm.js +0 -995
  264. package/src/installs/nvm.md +0 -1057
  265. package/src/installs/ohmyzsh.js +0 -529
  266. package/src/installs/ohmyzsh.md +0 -1094
  267. package/src/installs/openssh.js +0 -804
  268. package/src/installs/openssh.md +0 -1056
  269. package/src/installs/pandoc.js +0 -662
  270. package/src/installs/pandoc.md +0 -1036
  271. package/src/installs/parallels-desktop.js +0 -431
  272. package/src/installs/parallels-desktop.md +0 -446
  273. package/src/installs/pinentry.js +0 -510
  274. package/src/installs/pinentry.md +0 -1142
  275. package/src/installs/pngyu.js +0 -869
  276. package/src/installs/pngyu.md +0 -896
  277. package/src/installs/postman.js +0 -799
  278. package/src/installs/postman.md +0 -940
  279. package/src/installs/procps.js +0 -425
  280. package/src/installs/procps.md +0 -851
  281. package/src/installs/safari-tech-preview.js +0 -374
  282. package/src/installs/safari-tech-preview.md +0 -533
  283. package/src/installs/sfnt2woff.js +0 -658
  284. package/src/installs/sfnt2woff.md +0 -795
  285. package/src/installs/shellcheck.js +0 -481
  286. package/src/installs/shellcheck.md +0 -1005
  287. package/src/installs/slack.js +0 -741
  288. package/src/installs/slack.md +0 -865
  289. package/src/installs/snagit.js +0 -585
  290. package/src/installs/snagit.md +0 -844
  291. package/src/installs/software-properties-common.js +0 -372
  292. package/src/installs/software-properties-common.md +0 -805
  293. package/src/installs/spotify.js +0 -877
  294. package/src/installs/spotify.md +0 -901
  295. package/src/installs/studio-3t.js +0 -823
  296. package/src/installs/studio-3t.md +0 -918
  297. package/src/installs/sublime-text.js +0 -804
  298. package/src/installs/sublime-text.md +0 -914
  299. package/src/installs/superwhisper.js +0 -706
  300. package/src/installs/superwhisper.md +0 -630
  301. package/src/installs/tailscale.js +0 -745
  302. package/src/installs/tailscale.md +0 -1100
  303. package/src/installs/tar.js +0 -389
  304. package/src/installs/tar.md +0 -946
  305. package/src/installs/termius.js +0 -798
  306. package/src/installs/termius.md +0 -844
  307. package/src/installs/terraform.js +0 -779
  308. package/src/installs/terraform.md +0 -899
  309. package/src/installs/tfenv.js +0 -778
  310. package/src/installs/tfenv.md +0 -1091
  311. package/src/installs/tidal.js +0 -771
  312. package/src/installs/tidal.md +0 -864
  313. package/src/installs/tmux.js +0 -346
  314. package/src/installs/tmux.md +0 -1030
  315. package/src/installs/tree.js +0 -411
  316. package/src/installs/tree.md +0 -833
  317. package/src/installs/unzip.js +0 -460
  318. package/src/installs/unzip.md +0 -879
  319. package/src/installs/vim.js +0 -421
  320. package/src/installs/vim.md +0 -1040
  321. package/src/installs/vlc.js +0 -821
  322. package/src/installs/vlc.md +0 -927
  323. package/src/installs/vscode.js +0 -843
  324. package/src/installs/vscode.md +0 -1002
  325. package/src/installs/wget.js +0 -420
  326. package/src/installs/wget.md +0 -791
  327. package/src/installs/whatsapp.js +0 -729
  328. package/src/installs/whatsapp.md +0 -854
  329. package/src/installs/winpty.js +0 -352
  330. package/src/installs/winpty.md +0 -620
  331. package/src/installs/woff2.js +0 -553
  332. package/src/installs/woff2.md +0 -977
  333. package/src/installs/wsl.js +0 -572
  334. package/src/installs/wsl.md +0 -699
  335. package/src/installs/xcode-clt.js +0 -520
  336. package/src/installs/xcode-clt.md +0 -351
  337. package/src/installs/xcode.js +0 -560
  338. package/src/installs/xcode.md +0 -573
  339. package/src/installs/yarn.js +0 -824
  340. package/src/installs/yarn.md +0 -1074
  341. package/src/installs/yq.js +0 -654
  342. package/src/installs/yq.md +0 -944
  343. package/src/installs/yt-dlp.js +0 -701
  344. package/src/installs/yt-dlp.md +0 -946
  345. package/src/installs/yum-utils.js +0 -297
  346. package/src/installs/yum-utils.md +0 -648
  347. package/src/installs/zoom.js +0 -759
  348. package/src/installs/zoom.md +0 -884
  349. package/src/installs/zsh.js +0 -455
  350. package/src/installs/zsh.md +0 -1008
  351. package/src/scripts/README.md +0 -617
  352. package/src/scripts/STATUS.md +0 -208
  353. package/src/scripts/afk.js +0 -411
  354. package/src/scripts/backup-all.js +0 -746
  355. package/src/scripts/backup-source.js +0 -727
  356. package/src/scripts/brewd.js +0 -389
  357. package/src/scripts/brewi.js +0 -520
  358. package/src/scripts/brewr.js +0 -527
  359. package/src/scripts/brews.js +0 -477
  360. package/src/scripts/brewu.js +0 -504
  361. package/src/scripts/c.js +0 -201
  362. package/src/scripts/ccurl.js +0 -341
  363. package/src/scripts/certbot-crontab-init.js +0 -504
  364. package/src/scripts/certbot-init.js +0 -657
  365. package/src/scripts/ch.js +0 -355
  366. package/src/scripts/claude-danger.js +0 -268
  367. package/src/scripts/clean-dev.js +0 -435
  368. package/src/scripts/clear-dns-cache.js +0 -541
  369. package/src/scripts/clone.js +0 -435
  370. package/src/scripts/code-all.js +0 -437
  371. package/src/scripts/count-files.js +0 -211
  372. package/src/scripts/count-folders.js +0 -211
  373. package/src/scripts/count.js +0 -264
  374. package/src/scripts/d.js +0 -219
  375. package/src/scripts/datauri.js +0 -389
  376. package/src/scripts/delete-files.js +0 -380
  377. package/src/scripts/docker-clean.js +0 -426
  378. package/src/scripts/dp.js +0 -442
  379. package/src/scripts/e.js +0 -390
  380. package/src/scripts/empty-trash.js +0 -513
  381. package/src/scripts/evm.js +0 -444
  382. package/src/scripts/fetch-github-repos.js +0 -456
  383. package/src/scripts/get-channel.js +0 -345
  384. package/src/scripts/get-course.js +0 -399
  385. package/src/scripts/get-dependencies.js +0 -306
  386. package/src/scripts/get-folder.js +0 -799
  387. package/src/scripts/get-tunes.js +0 -426
  388. package/src/scripts/get-video.js +0 -367
  389. package/src/scripts/git-backup.js +0 -577
  390. package/src/scripts/git-clone.js +0 -493
  391. package/src/scripts/git-pup.js +0 -319
  392. package/src/scripts/git-push.js +0 -396
  393. package/src/scripts/h.js +0 -622
  394. package/src/scripts/hide-desktop-icons.js +0 -499
  395. package/src/scripts/hide-hidden-files.js +0 -538
  396. package/src/scripts/install-dependencies-from.js +0 -456
  397. package/src/scripts/ips.js +0 -663
  398. package/src/scripts/iso.js +0 -370
  399. package/src/scripts/killni.js +0 -577
  400. package/src/scripts/ll.js +0 -467
  401. package/src/scripts/local-ip.js +0 -325
  402. package/src/scripts/m.js +0 -524
  403. package/src/scripts/map.js +0 -309
  404. package/src/scripts/mkd.js +0 -351
  405. package/src/scripts/ncu-update-all.js +0 -457
  406. package/src/scripts/nginx-init.js +0 -718
  407. package/src/scripts/npmi.js +0 -382
  408. package/src/scripts/o.js +0 -511
  409. package/src/scripts/org-by-date.js +0 -338
  410. package/src/scripts/p.js +0 -224
  411. package/src/scripts/packages.js +0 -330
  412. package/src/scripts/path.js +0 -225
  413. package/src/scripts/ports.js +0 -597
  414. package/src/scripts/q.js +0 -305
  415. package/src/scripts/refresh-files.js +0 -394
  416. package/src/scripts/remove-smaller-files.js +0 -516
  417. package/src/scripts/rename-files-with-date.js +0 -533
  418. package/src/scripts/resize-image.js +0 -539
  419. package/src/scripts/rm-safe.js +0 -669
  420. package/src/scripts/s.js +0 -540
  421. package/src/scripts/set-git-public.js +0 -365
  422. package/src/scripts/show-desktop-icons.js +0 -475
  423. package/src/scripts/show-hidden-files.js +0 -472
  424. package/src/scripts/tpa.js +0 -280
  425. package/src/scripts/tpo.js +0 -280
  426. package/src/scripts/u.js +0 -505
  427. package/src/scripts/vpush.js +0 -437
  428. package/src/scripts/y.js +0 -283
  429. package/src/utils/README.md +0 -95
  430. package/src/utils/common/apps.js +0 -143
  431. package/src/utils/common/display.js +0 -157
  432. package/src/utils/common/network.js +0 -185
  433. package/src/utils/common/os.js +0 -294
  434. package/src/utils/common/package-manager.js +0 -301
  435. package/src/utils/common/privileges.js +0 -138
  436. package/src/utils/common/shell.js +0 -261
  437. package/src/utils/macos/apps.js +0 -228
  438. package/src/utils/macos/brew.js +0 -315
  439. package/src/utils/ubuntu/apt.js +0 -307
  440. package/src/utils/ubuntu/desktop.js +0 -292
  441. package/src/utils/ubuntu/snap.js +0 -344
  442. package/src/utils/ubuntu/systemd.js +0 -286
  443. package/src/utils/windows/choco.js +0 -465
  444. package/src/utils/windows/env.js +0 -246
  445. package/src/utils/windows/registry.js +0 -269
  446. package/src/utils/windows/shell.js +0 -240
  447. package/src/utils/windows/winget.js +0 -489
@@ -1,1015 +0,0 @@
1
- # Installing Kiro
2
-
3
- ## Overview
4
-
5
- Kiro is an AI-powered agentic IDE developed by Amazon Web Services (AWS) that helps developers go from prototype to production using spec-driven development. Built on the Code OSS foundation (the same base as VS Code), Kiro provides intelligent coding assistance through structured specifications, agent hooks, and natural language interactions. It breaks down requirements into detailed implementation plans, generates working code, documentation, and tests, all while understanding your project context.
6
-
7
- Kiro is available for macOS, Windows, and Linux, and also offers a command-line interface (CLI) for terminal-based workflows. While Kiro does not require an AWS account, it does require authentication through GitHub, Google, AWS Builder ID, or AWS IAM Identity Center. An active internet connection is required for all AI-powered features.
8
-
9
- ## Dependencies
10
-
11
- ### macOS (Homebrew)
12
- - **Required:**
13
- - Homebrew - Install via `NONINTERACTIVE=1 /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"`
14
- - **Optional:** None
15
- - **Auto-installed:**
16
- - Xcode Command Line Tools (automatically installed by Homebrew if not present)
17
-
18
- ### Ubuntu (APT/Snap)
19
- - **Required:**
20
- - `curl` - Install via `sudo apt-get install -y curl` (usually pre-installed)
21
- - `wget` - Install via `sudo apt-get install -y wget` (usually pre-installed)
22
- - `unzip` - Install via `sudo apt-get install -y unzip` (for CLI installation)
23
- - `sudo` privileges - Required for package installation
24
- - **Optional:**
25
- - `libfuse2` (for Ubuntu 20.04-22.04) - Install via `sudo apt-get install -y libfuse2` (only needed for AppImage/universal installation)
26
- - `libfuse2t64` (for Ubuntu 24.04+) - Install via `sudo apt-get install -y libfuse2t64` (only needed for AppImage/universal installation)
27
- - **Auto-installed:** None
28
-
29
- ### Raspberry Pi OS (APT/Snap)
30
- - **Required:**
31
- - `curl` - Install via `sudo apt-get install -y curl` (usually pre-installed)
32
- - `unzip` - Install via `sudo apt-get install -y unzip` (for CLI installation)
33
- - `sudo` privileges - Required for package installation
34
- - ARM64 architecture (aarch64) - Requires 64-bit Raspberry Pi OS; verify with `uname -m`
35
- - **Optional:**
36
- - `libfuse2` - Install via `sudo apt-get install -y libfuse2` (only needed for AppImage installation)
37
- - **Auto-installed:** None
38
-
39
- ### Amazon Linux (DNF/YUM)
40
- - **Required:**
41
- - `curl` - Install via `sudo dnf install -y curl` or `sudo yum install -y curl` (usually pre-installed)
42
- - `unzip` - Install via `sudo dnf install -y unzip` (for CLI installation)
43
- - `tar` - Install via `sudo dnf install -y tar` (for tar.gz extraction)
44
- - `dnf` (Amazon Linux 2023, RHEL 8+, Fedora) or `yum` (Amazon Linux 2, older RHEL) - System package manager (pre-installed)
45
- - `sudo` privileges - Required for package installation
46
- - **Optional:**
47
- - `fuse` - Install via `sudo dnf install -y fuse fuse-libs` (only needed for AppImage installation)
48
- - Desktop environment - Install via `sudo dnf groupinstall -y "Server with GUI"` (Kiro IDE is a GUI application)
49
- - **Auto-installed:** None
50
-
51
- ### Windows (Chocolatey/winget)
52
- - **Required:**
53
- - `winget` - Pre-installed on Windows 10 version 1809+ and Windows 11; install from Microsoft Store via "App Installer" if missing
54
- - **Optional:** None
55
- - **Auto-installed:** None
56
-
57
- ### Git Bash (Manual/Portable)
58
- - **Required:**
59
- - `winget.exe` - Pre-installed on Windows 10 version 1809+ and Windows 11; accessible from Git Bash as `winget.exe`
60
- - Git for Windows - Download from https://git-scm.com/downloads/win (provides Git Bash environment)
61
- - **Optional:** None
62
- - **Auto-installed:** None
63
-
64
- ## Prerequisites
65
-
66
- Before installing Kiro on any platform, ensure:
67
-
68
- 1. **Internet connectivity** - Required for downloading, authentication, and all AI-powered features
69
- 2. **Sufficient disk space** - At least 500 MB for the IDE, additional space for CLI
70
- 3. **Minimum RAM** - 4 GB RAM minimum, 8 GB recommended
71
- 4. **Authentication account** - GitHub, Google, AWS Builder ID, or AWS IAM Identity Center account required for sign-in
72
-
73
- **Note**: You do NOT need an AWS account to use Kiro. You can sign in with GitHub or Google.
74
-
75
- ## Platform-Specific Installation
76
-
77
- ### macOS (Homebrew)
78
-
79
- #### Prerequisites
80
-
81
- - macOS 11 (Big Sur) or later
82
- - Homebrew package manager installed
83
- - Terminal access
84
- - Apple Silicon (M1/M2/M3/M4) or Intel processor
85
-
86
- Homebrew supports both Apple Silicon and Intel Macs. If Homebrew is not installed, install it first:
87
-
88
- ```bash
89
- NONINTERACTIVE=1 /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
90
- ```
91
-
92
- #### Installation Steps
93
-
94
- **Install Kiro IDE:**
95
-
96
- Run the following command to install Kiro via Homebrew:
97
-
98
- ```bash
99
- brew install --cask --quiet kiro
100
- ```
101
-
102
- The `--cask` flag indicates this is a macOS application (not a command-line formula), and `--quiet` suppresses non-essential output for automation compatibility.
103
-
104
- After installation, Kiro is available in `/Applications/Kiro.app` and can be launched from Spotlight or the Applications folder.
105
-
106
- **Install Kiro CLI (Optional):**
107
-
108
- The Kiro CLI provides terminal-based AI assistance. Install it separately:
109
-
110
- ```bash
111
- brew install --cask --quiet kiro-cli
112
- ```
113
-
114
- Alternatively, use the official installation script:
115
-
116
- ```bash
117
- curl -fsSL https://cli.kiro.dev/install | bash
118
- ```
119
-
120
- #### Verification
121
-
122
- Confirm the IDE installation succeeded by launching the application:
123
-
124
- ```bash
125
- open -a Kiro
126
- ```
127
-
128
- Alternatively, verify the application exists:
129
-
130
- ```bash
131
- ls /Applications/Kiro.app
132
- ```
133
-
134
- Expected output:
135
-
136
- ```
137
- /Applications/Kiro.app
138
- ```
139
-
140
- Verify the CLI installation (if installed):
141
-
142
- ```bash
143
- kiro-cli version
144
- ```
145
-
146
- Expected output (version numbers may vary):
147
-
148
- ```
149
- Kiro CLI 1.24.0
150
- ```
151
-
152
- #### Troubleshooting
153
-
154
- **Problem**: `brew: command not found`
155
-
156
- **Solution**: Homebrew is not installed or not in PATH. Install Homebrew or add it to your PATH:
157
-
158
- ```bash
159
- eval "$(/opt/homebrew/bin/brew shellenv)"
160
- ```
161
-
162
- For Intel Macs, use:
163
-
164
- ```bash
165
- eval "$(/usr/local/bin/brew shellenv)"
166
- ```
167
-
168
- **Problem**: "Kiro.app" is damaged and can't be opened or security warning appears
169
-
170
- **Solution**: Clear the quarantine attribute and approve in System Settings:
171
-
172
- ```bash
173
- sudo xattr -d com.apple.quarantine /Applications/Kiro.app
174
- ```
175
-
176
- Then go to System Settings > Privacy & Security and approve Kiro.
177
-
178
- **Problem**: Installation fails with "Cask 'kiro' is unavailable"
179
-
180
- **Solution**: Update Homebrew to get the latest cask definitions:
181
-
182
- ```bash
183
- brew update
184
- brew install --cask --quiet kiro
185
- ```
186
-
187
- **Problem**: `kiro-cli: command not found` after installation
188
-
189
- **Solution**: The CLI may not be in your PATH. Add it manually:
190
-
191
- ```bash
192
- echo 'export PATH="$HOME/.local/bin:$PATH"' >> ~/.zshrc
193
- source ~/.zshrc
194
- ```
195
-
196
- For Bash users, modify `~/.bash_profile` instead.
197
-
198
- ---
199
-
200
- ### Ubuntu/Debian (APT)
201
-
202
- #### Prerequisites
203
-
204
- - Ubuntu 24.04 or later, or Debian 12 or later (64-bit x86_64)
205
- - sudo privileges
206
- - Active internet connection
207
-
208
- **Note**: The official Kiro .deb package requires Ubuntu 24.04+ or equivalent with glibc 2.34+. For older systems, use the universal tar.gz installation method.
209
-
210
- #### Installation Steps
211
-
212
- **Step 1: Install prerequisites**
213
-
214
- ```bash
215
- sudo DEBIAN_FRONTEND=noninteractive apt-get update -y
216
- sudo DEBIAN_FRONTEND=noninteractive apt-get install -y wget curl unzip
217
- ```
218
-
219
- **Step 2: Download and install the .deb package**
220
-
221
- ```bash
222
- wget -q https://desktop-release.q.us-east-1.amazonaws.com/latest/kiro-cli.deb -O /tmp/kiro-cli.deb
223
- sudo DEBIAN_FRONTEND=noninteractive dpkg -i /tmp/kiro-cli.deb
224
- sudo DEBIAN_FRONTEND=noninteractive apt-get install -f -y
225
- rm -f /tmp/kiro-cli.deb
226
- ```
227
-
228
- This installs the Kiro CLI. For the full Kiro IDE, download and install from the official website:
229
-
230
- **Step 3: Install Kiro IDE (x86_64)**
231
-
232
- ```bash
233
- curl -fsSL "https://desktop-release.q.us-east-1.amazonaws.com/latest/linux-x64/Kiro.tar.gz" -o /tmp/kiro.tar.gz
234
- sudo mkdir -p /opt/kiro
235
- sudo tar -xzf /tmp/kiro.tar.gz -C /opt/kiro --strip-components=1
236
- sudo ln -sf /opt/kiro/kiro /usr/local/bin/kiro
237
- rm -f /tmp/kiro.tar.gz
238
- ```
239
-
240
- **Step 4: Create a desktop entry (optional)**
241
-
242
- ```bash
243
- cat << 'EOF' | sudo tee /usr/share/applications/kiro.desktop > /dev/null
244
- [Desktop Entry]
245
- Name=Kiro
246
- Comment=AI-powered IDE from AWS
247
- Exec=/opt/kiro/kiro %F
248
- Icon=/opt/kiro/resources/app/resources/linux/code.png
249
- Type=Application
250
- Categories=Development;IDE;
251
- StartupNotify=true
252
- StartupWMClass=Kiro
253
- EOF
254
- ```
255
-
256
- #### Verification
257
-
258
- Verify the CLI installation:
259
-
260
- ```bash
261
- kiro-cli version
262
- ```
263
-
264
- Verify the IDE installation:
265
-
266
- ```bash
267
- /opt/kiro/kiro --version
268
- ```
269
-
270
- Or if you created the symlink:
271
-
272
- ```bash
273
- kiro --version
274
- ```
275
-
276
- Launch Kiro:
277
-
278
- ```bash
279
- kiro
280
- ```
281
-
282
- #### Troubleshooting
283
-
284
- **Problem**: `dpkg: error: dependency problems prevent configuration`
285
-
286
- **Solution**: Run apt-get to fix dependencies:
287
-
288
- ```bash
289
- sudo DEBIAN_FRONTEND=noninteractive apt-get install -f -y
290
- ```
291
-
292
- **Problem**: Sandbox errors when launching Kiro
293
-
294
- **Solution**: In trusted environments, bypass sandbox restrictions:
295
-
296
- ```bash
297
- /opt/kiro/kiro --no-sandbox
298
- ```
299
-
300
- **Note**: Using `--no-sandbox` reduces security. Only use this in trusted environments.
301
-
302
- **Problem**: "libc.so.6: version GLIBC_2.34 not found"
303
-
304
- **Solution**: Your system has an older glibc version. Use the musl build for the CLI:
305
-
306
- ```bash
307
- curl --proto '=https' --tlsv1.2 -sSf 'https://desktop-release.q.us-east-1.amazonaws.com/latest/kirocli-x86_64-linux-musl.zip' -o /tmp/kirocli.zip
308
- unzip -o /tmp/kirocli.zip -d /tmp/kirocli
309
- /tmp/kirocli/install.sh
310
- rm -rf /tmp/kirocli /tmp/kirocli.zip
311
- ```
312
-
313
- **Problem**: Kiro does not appear in application menu
314
-
315
- **Solution**: Refresh the desktop database:
316
-
317
- ```bash
318
- sudo update-desktop-database
319
- ```
320
-
321
- ---
322
-
323
- ### Raspberry Pi OS (APT)
324
-
325
- #### Prerequisites
326
-
327
- - Raspberry Pi OS (64-bit) - ARM64/aarch64 architecture **required**
328
- - Raspberry Pi 4 or later with 4 GB or more RAM recommended
329
- - sudo privileges
330
- - Active internet connection
331
-
332
- **Critical Architecture Requirement**: Kiro requires a 64-bit operating system. Verify your architecture:
333
-
334
- ```bash
335
- uname -m
336
- ```
337
-
338
- This must output `aarch64`. If it outputs `armv7l`, you are running 32-bit Raspberry Pi OS and must install the 64-bit version from the Raspberry Pi Imager.
339
-
340
- Check your glibc version:
341
-
342
- ```bash
343
- ldd --version | head -1
344
- ```
345
-
346
- If the version is 2.34 or newer, use the standard ARM64 build. If older, use the musl build.
347
-
348
- #### Installation Steps
349
-
350
- **Step 1: Install prerequisites**
351
-
352
- ```bash
353
- sudo DEBIAN_FRONTEND=noninteractive apt-get update -y
354
- sudo DEBIAN_FRONTEND=noninteractive apt-get install -y curl unzip nodejs git
355
- ```
356
-
357
- **Step 2: Install Kiro CLI (ARM64 musl build - recommended for Raspberry Pi)**
358
-
359
- The musl build provides better compatibility with Raspberry Pi's environment:
360
-
361
- ```bash
362
- curl --proto '=https' --tlsv1.2 -sSf 'https://desktop-release.q.us-east-1.amazonaws.com/latest/kirocli-aarch64-linux-musl.zip' -o /tmp/kirocli.zip
363
- unzip -o /tmp/kirocli.zip -d /tmp/kirocli
364
- /tmp/kirocli/install.sh
365
- rm -rf /tmp/kirocli /tmp/kirocli.zip
366
- ```
367
-
368
- **Step 3: Add CLI to PATH**
369
-
370
- ```bash
371
- echo 'export PATH="$HOME/.local/bin:$PATH"' >> ~/.bashrc
372
- source ~/.bashrc
373
- ```
374
-
375
- **Note**: The full Kiro IDE (graphical application) may have limited support on Raspberry Pi due to resource constraints and ARM architecture. The CLI provides full AI-powered terminal functionality.
376
-
377
- #### Verification
378
-
379
- Verify the CLI installation:
380
-
381
- ```bash
382
- kiro-cli version
383
- ```
384
-
385
- Expected output (version numbers may vary):
386
-
387
- ```
388
- Kiro CLI 1.24.0
389
- ```
390
-
391
- Test the CLI:
392
-
393
- ```bash
394
- kiro-cli doctor
395
- ```
396
-
397
- This command diagnoses and fixes common installation issues.
398
-
399
- #### Troubleshooting
400
-
401
- **Problem**: "Illegal instruction (SIGILL)" error when running Kiro CLI
402
-
403
- **Solution**: The standard build is incompatible with your Pi. Use the musl build as shown in the installation steps above.
404
-
405
- **Problem**: `kiro-cli: command not found` after installation
406
-
407
- **Solution**: Ensure the PATH is updated:
408
-
409
- ```bash
410
- echo 'export PATH="$HOME/.local/bin:$PATH"' >> ~/.bashrc
411
- source ~/.bashrc
412
- ```
413
-
414
- Verify the binary exists:
415
-
416
- ```bash
417
- ls ~/.local/bin/kiro-cli
418
- ```
419
-
420
- **Problem**: Authentication fails in headless environment
421
-
422
- **Solution**: The CLI requires browser-based authentication on first use. Copy the authentication URL displayed in the terminal, open it in a browser on another device, complete authentication, and return to the terminal.
423
-
424
- **Problem**: Slow performance or high memory usage
425
-
426
- **Solution**: Raspberry Pi has limited resources. Close other applications and consider increasing swap:
427
-
428
- ```bash
429
- sudo dphys-swapfile swapoff
430
- sudo sed -i 's/CONF_SWAPSIZE=.*/CONF_SWAPSIZE=2048/' /etc/dphys-swapfile
431
- sudo dphys-swapfile setup
432
- sudo dphys-swapfile swapon
433
- ```
434
-
435
- ---
436
-
437
- ### Amazon Linux/RHEL (DNF/YUM)
438
-
439
- #### Prerequisites
440
-
441
- - Amazon Linux 2023 (AL2023), Amazon Linux 2 (AL2), RHEL 8+, Fedora, or CentOS Stream 8+
442
- - sudo privileges
443
- - Active internet connection
444
- - Desktop environment (if using GUI; Kiro IDE is a graphical application)
445
-
446
- **Note**: Amazon Linux 2023 uses DNF as the package manager. Amazon Linux 2 uses YUM. This guide uses DNF commands; replace `dnf` with `yum` for AL2.
447
-
448
- #### Installation Steps
449
-
450
- **Step 1: Install prerequisites**
451
-
452
- For Amazon Linux 2023 and RHEL 8+ (DNF):
453
-
454
- ```bash
455
- sudo dnf install -y curl unzip tar
456
- ```
457
-
458
- For Amazon Linux 2 (YUM):
459
-
460
- ```bash
461
- sudo yum install -y curl unzip tar
462
- ```
463
-
464
- **Step 2: Install Kiro CLI (x86_64)**
465
-
466
- ```bash
467
- curl --proto '=https' --tlsv1.2 -sSf 'https://desktop-release.q.us-east-1.amazonaws.com/latest/kirocli-x86_64-linux.zip' -o /tmp/kirocli.zip
468
- unzip -o /tmp/kirocli.zip -d /tmp/kirocli
469
- /tmp/kirocli/install.sh
470
- rm -rf /tmp/kirocli /tmp/kirocli.zip
471
- ```
472
-
473
- For ARM64 systems (AWS Graviton):
474
-
475
- ```bash
476
- curl --proto '=https' --tlsv1.2 -sSf 'https://desktop-release.q.us-east-1.amazonaws.com/latest/kirocli-aarch64-linux.zip' -o /tmp/kirocli.zip
477
- unzip -o /tmp/kirocli.zip -d /tmp/kirocli
478
- /tmp/kirocli/install.sh
479
- rm -rf /tmp/kirocli /tmp/kirocli.zip
480
- ```
481
-
482
- **Step 3: Add CLI to PATH**
483
-
484
- ```bash
485
- echo 'export PATH="$HOME/.local/bin:$PATH"' >> ~/.bashrc
486
- source ~/.bashrc
487
- ```
488
-
489
- **Step 4: Install Kiro IDE (optional, for desktop environments)**
490
-
491
- Download and extract the universal Linux build:
492
-
493
- ```bash
494
- curl -fsSL "https://desktop-release.q.us-east-1.amazonaws.com/latest/linux-x64/Kiro.tar.gz" -o /tmp/kiro.tar.gz
495
- sudo mkdir -p /opt/kiro
496
- sudo tar -xzf /tmp/kiro.tar.gz -C /opt/kiro --strip-components=1
497
- sudo ln -sf /opt/kiro/kiro /usr/local/bin/kiro
498
- rm -f /tmp/kiro.tar.gz
499
- ```
500
-
501
- **Note**: There is currently no official RPM/DNF/YUM repository for Kiro IDE. This is an open feature request.
502
-
503
- #### Verification
504
-
505
- Verify the CLI installation:
506
-
507
- ```bash
508
- kiro-cli version
509
- ```
510
-
511
- Verify the IDE installation (if installed):
512
-
513
- ```bash
514
- kiro --version
515
- ```
516
-
517
- Run diagnostics:
518
-
519
- ```bash
520
- kiro-cli doctor
521
- ```
522
-
523
- #### Troubleshooting
524
-
525
- **Problem**: No graphical display available for IDE
526
-
527
- **Solution**: Kiro IDE is a GUI application and requires a desktop environment. For headless servers, use the Kiro CLI for terminal-based AI assistance, or use X11 forwarding:
528
-
529
- ```bash
530
- ssh -X user@server
531
- kiro
532
- ```
533
-
534
- Or install a desktop environment:
535
-
536
- ```bash
537
- sudo dnf groupinstall -y "Server with GUI"
538
- ```
539
-
540
- **Problem**: "libc.so.6: version GLIBC_2.34 not found"
541
-
542
- **Solution**: Use the musl build for systems with older glibc:
543
-
544
- ```bash
545
- curl --proto '=https' --tlsv1.2 -sSf 'https://desktop-release.q.us-east-1.amazonaws.com/latest/kirocli-x86_64-linux-musl.zip' -o /tmp/kirocli.zip
546
- unzip -o /tmp/kirocli.zip -d /tmp/kirocli
547
- /tmp/kirocli/install.sh
548
- rm -rf /tmp/kirocli /tmp/kirocli.zip
549
- ```
550
-
551
- **Problem**: SELinux blocking execution
552
-
553
- **Solution**: Check the audit log for SELinux denials:
554
-
555
- ```bash
556
- sudo ausearch -m avc -ts recent
557
- ```
558
-
559
- For testing, temporarily set SELinux to permissive mode:
560
-
561
- ```bash
562
- sudo setenforce 0
563
- ```
564
-
565
- **Note**: This is temporary. For production, create a proper SELinux policy.
566
-
567
- ---
568
-
569
- ### Windows (winget)
570
-
571
- #### Prerequisites
572
-
573
- - Windows 10 version 1809 or later, or Windows 11
574
- - winget package manager (pre-installed on Windows 10 1809+ and Windows 11)
575
- - Administrator privileges recommended
576
- - Active internet connection
577
-
578
- #### Installation Steps
579
-
580
- Run the following command in an Administrator PowerShell or Command Prompt:
581
-
582
- ```powershell
583
- winget install --id Amazon.Kiro --silent --accept-package-agreements --accept-source-agreements
584
- ```
585
-
586
- This command:
587
- - `--id Amazon.Kiro` - Specifies the Kiro package from Amazon
588
- - `--silent` - Runs without user prompts
589
- - `--accept-package-agreements` - Automatically accepts package license agreements
590
- - `--accept-source-agreements` - Automatically accepts source repository agreements
591
-
592
- After installation, close and reopen your terminal for PATH updates to take effect.
593
-
594
- #### Verification
595
-
596
- Open a new PowerShell or Command Prompt window, then verify the installation:
597
-
598
- ```powershell
599
- winget list --id Amazon.Kiro
600
- ```
601
-
602
- Or launch Kiro:
603
-
604
- ```powershell
605
- kiro
606
- ```
607
-
608
- Alternatively, search for "Kiro" in the Start Menu.
609
-
610
- #### Troubleshooting
611
-
612
- **Problem**: `winget: The term 'winget' is not recognized`
613
-
614
- **Solution**: winget may not be installed or PATH may not be updated. Install App Installer from the Microsoft Store:
615
-
616
- ```powershell
617
- start ms-windows-store://pdp/?productid=9NBLGGH4NNS1
618
- ```
619
-
620
- After installation, open a new terminal window.
621
-
622
- **Problem**: Installation fails with "Administrator privileges required"
623
-
624
- **Solution**: Right-click PowerShell or Command Prompt and select "Run as administrator", then retry the installation command.
625
-
626
- **Problem**: Windows Defender SmartScreen blocks the installer
627
-
628
- **Solution**: Kiro is a legitimate application from Amazon. Click "More info" and then "Run anyway". For enterprise environments, contact your IT administrator to whitelist the Kiro installer.
629
-
630
- **Problem**: "Windows protected your PC" message
631
-
632
- **Solution**: Click "More info" and then "Run anyway". Alternatively, temporarily disable Windows Defender SmartScreen during installation.
633
-
634
- **Problem**: Auto-updates disabled when running as administrator
635
-
636
- **Solution**: Kiro auto-updates may be disabled when always running as administrator. To fix:
637
-
638
- 1. Right-click the Kiro icon
639
- 2. Select Properties
640
- 3. Go to the Compatibility tab
641
- 4. Uncheck "Run this program as an administrator"
642
- 5. Apply changes
643
-
644
- ---
645
-
646
- ### WSL (Ubuntu)
647
-
648
- #### Prerequisites
649
-
650
- - Windows 10 version 2004 or later, or Windows 11
651
- - Windows Subsystem for Linux installed with Ubuntu distribution
652
- - WSL 2 recommended for best performance
653
- - Active internet connection
654
-
655
- **Recommended Approach**: Install Kiro IDE on Windows and use its remote development capabilities to connect to your WSL environment, similar to VS Code's Remote-WSL pattern.
656
-
657
- Verify WSL is installed and running Ubuntu:
658
-
659
- ```powershell
660
- wsl --list --verbose
661
- ```
662
-
663
- #### Installation Steps
664
-
665
- **Option 1: Install Kiro on Windows (Recommended)**
666
-
667
- From PowerShell (as Administrator):
668
-
669
- ```powershell
670
- winget install --id Amazon.Kiro --silent --accept-package-agreements --accept-source-agreements
671
- ```
672
-
673
- Then launch Kiro from Windows and connect to your WSL environment through Kiro's remote features.
674
-
675
- **Option 2: Install Kiro CLI in WSL**
676
-
677
- From within WSL Ubuntu, install the CLI for terminal-based AI assistance:
678
-
679
- ```bash
680
- sudo DEBIAN_FRONTEND=noninteractive apt-get update -y
681
- sudo DEBIAN_FRONTEND=noninteractive apt-get install -y curl unzip
682
- curl -fsSL https://cli.kiro.dev/install | bash
683
- echo 'export PATH="$HOME/.local/bin:$PATH"' >> ~/.bashrc
684
- source ~/.bashrc
685
- ```
686
-
687
- #### Verification
688
-
689
- For Windows installation, launch Kiro from the Start Menu.
690
-
691
- For WSL CLI installation:
692
-
693
- ```bash
694
- kiro-cli version
695
- ```
696
-
697
- Test the CLI:
698
-
699
- ```bash
700
- kiro-cli doctor
701
- ```
702
-
703
- #### Troubleshooting
704
-
705
- **Problem**: Cannot connect to WSL from Kiro
706
-
707
- **Solution**: Ensure WSL 2 is installed and your distribution is running:
708
-
709
- ```powershell
710
- wsl --set-default-version 2
711
- wsl --install -d Ubuntu
712
- ```
713
-
714
- Restart WSL:
715
-
716
- ```powershell
717
- wsl --shutdown
718
- wsl
719
- ```
720
-
721
- **Problem**: `kiro-cli: command not found` in WSL
722
-
723
- **Solution**: Ensure the PATH includes the CLI installation directory:
724
-
725
- ```bash
726
- echo 'export PATH="$HOME/.local/bin:$PATH"' >> ~/.bashrc
727
- source ~/.bashrc
728
- ```
729
-
730
- **Problem**: Authentication fails in WSL
731
-
732
- **Solution**: The CLI requires browser-based authentication. It will display a URL - copy it and open in a Windows browser to complete authentication.
733
-
734
- ---
735
-
736
- ### Git Bash (Windows)
737
-
738
- #### Prerequisites
739
-
740
- - Windows 10 or later
741
- - Git for Windows installed (provides Git Bash)
742
- - PowerShell available (for initial installation)
743
-
744
- Git Bash provides a Unix-compatible environment on Windows. Since Kiro is a Windows application, it is installed on Windows and accessible from Git Bash.
745
-
746
- Download Git for Windows from https://git-scm.com/downloads/win if not already installed.
747
-
748
- #### Installation Steps
749
-
750
- Git Bash can execute Windows commands, so use winget from within Git Bash:
751
-
752
- ```bash
753
- winget.exe install --id Amazon.Kiro --silent --accept-package-agreements --accept-source-agreements
754
- ```
755
-
756
- **Alternative: Use PowerShell from Git Bash**
757
-
758
- ```bash
759
- powershell.exe -Command "winget install --id Amazon.Kiro --silent --accept-package-agreements --accept-source-agreements"
760
- ```
761
-
762
- After installation, close and reopen Git Bash for PATH updates to take effect.
763
-
764
- #### Verification
765
-
766
- Open a new Git Bash window and run:
767
-
768
- ```bash
769
- kiro --version
770
- ```
771
-
772
- Or launch Kiro:
773
-
774
- ```bash
775
- kiro
776
- ```
777
-
778
- If the kiro command is not available, launch via Windows:
779
-
780
- ```bash
781
- cmd.exe /c start "" "Kiro"
782
- ```
783
-
784
- #### Troubleshooting
785
-
786
- **Problem**: `winget.exe: command not found`
787
-
788
- **Solution**: Winget may not be in the Git Bash PATH. Use the full path:
789
-
790
- ```bash
791
- "/c/Users/$USER/AppData/Local/Microsoft/WindowsApps/winget.exe" install --id Amazon.Kiro --silent --accept-package-agreements --accept-source-agreements
792
- ```
793
-
794
- **Problem**: `kiro: command not found` after installation
795
-
796
- **Solution**: The PATH in Git Bash may not include the Kiro binary. Add it manually:
797
-
798
- ```bash
799
- echo 'export PATH="$PATH:/c/Users/$USER/AppData/Local/Programs/kiro"' >> ~/.bashrc
800
- source ~/.bashrc
801
- ```
802
-
803
- **Problem**: Cannot launch Kiro from Git Bash
804
-
805
- **Solution**: Use the Windows `start` command through cmd:
806
-
807
- ```bash
808
- cmd.exe /c start "" "Kiro"
809
- ```
810
-
811
- ---
812
-
813
- ## Post-Installation Configuration
814
-
815
- ### First-Time Setup
816
-
817
- After installing and launching Kiro on any platform:
818
-
819
- 1. **Sign in** - Kiro requires authentication. Choose from GitHub, Google, AWS Builder ID, or AWS IAM Identity Center
820
- 2. **Import VS Code Settings (Optional)** - Kiro prompts you to import extensions, themes, keybindings, and settings from VS Code if detected
821
- 3. **Select Theme** - Choose your preferred light or dark theme
822
- 4. **Enable Shell Integration** - Allow Kiro to set up shell integration, enabling the agent to execute commands on your behalf
823
- 5. **Install Shell Command** - Use the Command Palette (`Cmd+Shift+P` on macOS, `Ctrl+Shift+P` on Windows/Linux) and run "Shell Command: Install 'kiro' command in PATH"
824
-
825
- ### Understanding Kiro Features
826
-
827
- Kiro provides several unique features:
828
-
829
- - **Specs** - Plan and build features using structured specifications that break down requirements into detailed implementation plans
830
- - **Hooks** - Automate repetitive tasks with intelligent triggers that respond to file changes and development events
831
- - **Agentic Chat** - Build features through natural conversation with Kiro that understands your project context
832
- - **Steering** - Guide Kiro's behavior with custom rules and project-specific context through markdown files
833
- - **MCP Servers** - Connect external tools and data sources through the Model Context Protocol
834
-
835
- ### CLI Configuration
836
-
837
- The Kiro CLI provides additional commands:
838
-
839
- ```bash
840
- # View all available commands
841
- kiro-cli --help
842
-
843
- # Diagnose installation issues
844
- kiro-cli doctor
845
-
846
- # Check authentication status
847
- kiro-cli whoami
848
-
849
- # Update to latest version
850
- kiro-cli update
851
-
852
- # Start interactive chat
853
- kiro-cli chat
854
-
855
- # Translate natural language to shell commands
856
- kiro-cli translate
857
- ```
858
-
859
- ### Configuring MCP Servers
860
-
861
- Kiro supports Model Context Protocol (MCP) servers for extended functionality. Manage MCP servers via the CLI:
862
-
863
- ```bash
864
- # List configured MCP servers
865
- kiro-cli mcp list
866
-
867
- # Add an MCP server
868
- kiro-cli mcp add
869
-
870
- # Check MCP server status
871
- kiro-cli mcp status
872
- ```
873
-
874
- ---
875
-
876
- ## Common Issues
877
-
878
- ### Issue: AI Features Not Working
879
-
880
- **Symptoms**: AI suggestions do not appear, or AI interactions fail.
881
-
882
- **Solution**:
883
- 1. Ensure you are signed in to Kiro (`kiro-cli whoami`)
884
- 2. Check your internet connection
885
- 3. Verify your subscription status (some features may have usage limits)
886
- 4. Run diagnostics: `kiro-cli doctor`
887
-
888
- ### Issue: Browser Redirect Fails During Authentication
889
-
890
- **Symptoms**: Authentication does not complete after signing in via browser.
891
-
892
- **Solution for Windows**:
893
- 1. Open Command Prompt as administrator
894
- 2. Run Kiro with logging: `kiro --enable-logging`
895
- 3. Check logs for access denied errors
896
- 4. Verify user has administrator permissions
897
-
898
- **Solution for macOS**:
899
- 1. Open Kiro and access Help > Toggle Developer Tools
900
- 2. Check Console tab for error messages
901
- 3. Verify `ioreg` command exists in PATH (typically at `/usr/sbin/ioreg`)
902
-
903
- ### Issue: Shell Integration Not Working
904
-
905
- **Symptoms**: Agent cannot execute commands in the terminal.
906
-
907
- **Solution**:
908
- 1. Update Kiro via Command Palette (`Cmd+Shift+P` / `Ctrl+Shift+P`) > "Check for Updates"
909
- 2. Enable integration: Command Palette > "Enable Shell Integration"
910
- 3. Quit and reopen Kiro
911
-
912
- For manual configuration, add the appropriate lines to your shell config:
913
-
914
- **Zsh (`~/.zshrc`)**:
915
-
916
- ```bash
917
- [[ "$TERM_PROGRAM" == "kiro" ]] && . "/path/to/kiro/shell-integration.zsh"
918
- ```
919
-
920
- **Bash (`~/.bashrc`)**:
921
-
922
- ```bash
923
- [[ "$TERM_PROGRAM" == "kiro" ]] && . "/path/to/kiro/shell-integration.bash"
924
- ```
925
-
926
- ### Issue: Identity Center Session Timeouts
927
-
928
- **Symptoms**: Session expires and requires re-authentication frequently.
929
-
930
- **Solution**: The default session duration is 8 hours. Administrators can configure longer timeouts via AWS documentation. Alternatively, use GitHub or Google sign-in for longer sessions.
931
-
932
- ### Issue: High Memory Usage
933
-
934
- **Symptoms**: Kiro consumes excessive system resources.
935
-
936
- **Solution**:
937
- 1. Close unused editor tabs
938
- 2. Disable unused extensions
939
- 3. Reduce the number of open projects
940
- 4. Restart Kiro to clear cached data
941
-
942
- ---
943
-
944
- ## Uninstallation
945
-
946
- ### macOS
947
-
948
- ```bash
949
- brew uninstall --cask kiro
950
- brew uninstall --cask kiro-cli
951
- rm -rf ~/Library/Application\ Support/Kiro
952
- rm -rf ~/Library/Caches/Kiro
953
- rm -rf ~/.local/bin/kiro-cli
954
- ```
955
-
956
- ### Ubuntu/Debian
957
-
958
- For CLI installation:
959
-
960
- ```bash
961
- rm -rf ~/.local/bin/kiro-cli
962
- rm -rf ~/.kiro
963
- ```
964
-
965
- For IDE installation:
966
-
967
- ```bash
968
- sudo rm -rf /opt/kiro
969
- sudo rm -f /usr/local/bin/kiro
970
- sudo rm -f /usr/share/applications/kiro.desktop
971
- rm -rf ~/.config/Kiro
972
- rm -rf ~/.cache/Kiro
973
- ```
974
-
975
- ### Amazon Linux/RHEL
976
-
977
- ```bash
978
- rm -rf ~/.local/bin/kiro-cli
979
- rm -rf ~/.kiro
980
- sudo rm -rf /opt/kiro
981
- sudo rm -f /usr/local/bin/kiro
982
- rm -rf ~/.config/Kiro
983
- ```
984
-
985
- ### Windows
986
-
987
- Using winget:
988
-
989
- ```powershell
990
- winget uninstall --id Amazon.Kiro --silent
991
- ```
992
-
993
- Remove user data (PowerShell):
994
-
995
- ```powershell
996
- Remove-Item -Path "$env:APPDATA\Kiro" -Recurse -Force -ErrorAction SilentlyContinue
997
- Remove-Item -Path "$env:LOCALAPPDATA\Kiro" -Recurse -Force -ErrorAction SilentlyContinue
998
- ```
999
-
1000
- ---
1001
-
1002
- ## References
1003
-
1004
- - [Kiro Official Website](https://kiro.dev/)
1005
- - [Kiro Downloads Page](https://kiro.dev/downloads/)
1006
- - [Kiro IDE Installation Documentation](https://kiro.dev/docs/getting-started/installation/)
1007
- - [Kiro CLI Installation Documentation](https://kiro.dev/docs/cli/installation/)
1008
- - [Kiro CLI Commands Reference](https://kiro.dev/docs/cli/reference/cli-commands/)
1009
- - [Kiro Troubleshooting Guide](https://kiro.dev/docs/troubleshooting/)
1010
- - [Kiro Homebrew Cask (IDE)](https://formulae.brew.sh/cask/kiro)
1011
- - [Kiro Homebrew Cask (CLI)](https://formulae.brew.sh/cask/kiro-cli)
1012
- - [Kiro winget Package](https://winget.ragerworks.com/package/Amazon.Kiro)
1013
- - [Kiro GitHub Repository](https://github.com/kirodotdev/Kiro)
1014
- - [Running Kiro CLI on Raspberry Pi](https://dev.to/kirodotdev/running-kiro-cli-from-a-raspberry-pi-400-4d2h)
1015
- - [Kiro ARM64 Linux Installation Guide](https://learn.arm.com/install-guides/kiro-cli/)