{"id":18442,"library":"icoa-cli","title":"ICOA CLI","description":"The world's first CLI-native CTF competition terminal, now at v2.19.110. Deployed via npm with strict Node.js >=22 requirement. Serves as the primary interface for competing in ICOA CTF events directly from the terminal. Uniquely positioned as a specialized tool for cybersecurity capture-the-flag competitions, differentiating from general CTF frameworks by being CLI-first and tied to the ICOA competition ecosystem.","status":"active","version":"2.19.110","language":"javascript","source_language":"en","source_url":null,"tags":["javascript","ctf","cli","cybersecurity","icoa","competition"],"install":[{"cmd":"npm install icoa-cli","lang":"bash","label":"npm"},{"cmd":"yarn add icoa-cli","lang":"bash","label":"yarn"},{"cmd":"pnpm add icoa-cli","lang":"bash","label":"pnpm"}],"dependencies":[],"imports":[{"note":"ESM-only since v2; CommonJS require() will fail.","wrong":"const icoa = require('icoa-cli')","symbol":"default","correct":"import icoa from 'icoa-cli'"},{"note":"Named export available only via ESM.","wrong":"const { run } = require('icoa-cli')","symbol":"run","correct":"import { run } from 'icoa-cli'"}],"quickstart":{"code":"import icoa from 'icoa-cli';\n\n// Set authentication token via environment\nprocess.env.ICOA_TOKEN = 'your-token-here' ?? '';\n\n// Example: start a competition session\nicoa.startCompetition({\n  event: 'ctf-2025',\n  team: 'hackers'\n}).then(console.log);","lang":"typescript","description":"Initialize ICOA CLI, authenticate using environment variable, and start a CTF competition session."},"warnings":[{"fix":"Upgrade Node.js to version 22 or later.","message":"Requires Node.js >=22.0.0; older versions cause installation failure.","severity":"breaking","affected_versions":"<22.0.0"},{"fix":"Use import syntax instead of require().","message":"ESM-only package; using require() causes runtime error.","severity":"gotcha","affected_versions":">=2.0.0"}],"env_vars":null,"search_vec":"'22':22 'captur':48 'capture-the-flag':47 'cli':2,8,60,71 'cli-first':59 'cli-nat':7 'compet':30 'competit':11,51,67,74 'ctf':10,33,55,70 'cybersecur':46,72 'deploy':16 'differenti':52 'direct':35 'ecosystem':68 'event':34 'first':6,61 'flag':50 'framework':56 'general':54 'icoa':1,32,66,73 'interfac':28 'javascript':69 'nativ':9 'node.js':21 'npm':18 'posit':40 'primari':27 'requir':23 'serv':24 'special':43 'strict':20 'termin':12,38 'tie':63 'tool':44 'uniqu':39 'v2.19.110':15 'via':17 'world':4","created_at":"2026-04-25T07:38:15.149944+00:00","updated_at":"2026-04-25T07:38:15.149944+00:00","problems":[{"fix":"Switch to ESM (import) or use dynamic import().","cause":"Using CommonJS require() on an ESM-only package.","error":"Error [ERR_REQUIRE_ESM]: require() of ES Module /path/node_modules/icoa-cli/index.js from /path/app.js not supported."},{"fix":"Install Node.js >=22.0.0 and retry.","cause":"Node.js version too low for package requirements.","error":"node: --experimental-loader /path/node_modules/icoa-cli/loader.mjs requires Node.js v22.0.0 or higher"}],"ecosystem":"npm","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":"icoa","cli_version":null,"type":"library","homepage":"https://icoa.gg","github":null,"docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/icoa-cli","openapi_spec":null,"status_page":null,"smithery":null,"categories":["devops"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-17","next_check":"2026-07-24","install_tag":null}}