npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

start-ai-cli

v0.2.0

Published

Launch selected Codex CLI, Claude Code, and Cursor CLI tools from one project directory in Windows Terminal or macOS Terminal.

Downloads

406

Readme

start-ai-cli - AI coding CLI launcher

npm version npm downloads license: MIT

start-ai-cli is an npm package and command line tool for launching selected AI coding CLIs from the same project directory. It can open Codex CLI, Claude Code, and Cursor CLI in separate terminal tabs or windows so every assistant starts in the current workspace.

Use it when you want one command to choose and start your AI coding agents:

npx start-ai-cli

Features

  • Interactively chooses which Codex CLI, Claude Code CLI, and Cursor CLI tools to launch.
  • Remembers your enabled tools in a global config file for the next run.
  • Opens each available tool in its own Windows Terminal tab or macOS Terminal window.
  • Skips missing CLIs instead of failing when at least one supported tool is available.
  • Works as a global npm command or one-off npx command.

Install

Run without installing:

npx start-ai-cli

Install globally:

npm install -g start-ai-cli

Then run it from the project directory you want the AI tools to use:

start-ai-cli

Supported Tools

| Tool | Required command | Terminal title | | --- | --- | --- | | Codex CLI | codex | Codex | | Claude Code | claude | Claude | | Cursor CLI | agent | Cursor |

On Windows, start-ai-cli uses Windows Terminal (wt.exe) with PowerShell. On macOS, it uses Terminal.app through osascript.

Requirements

  • Windows or macOS
  • Node.js 22 or newer
  • Windows Terminal available as wt.exe on Windows
  • PowerShell 7 available as pwsh.exe, or Windows PowerShell, on Windows
  • Terminal.app and osascript available on macOS
  • At least one supported AI coding CLI available in PATH

Options

start-ai-cli
start-ai-cli --all
start-ai-cli --no-interactive
start-ai-cli --help
start-ai-cli --version

By default, start-ai-cli opens an interactive selector. Use Up/Down to move, Space to enable or disable an available CLI, Enter to open the selected tools, or q/Esc to cancel. Missing CLIs are shown as unavailable and cannot be selected.

Use --all or --no-interactive in scripts and automation to launch every available CLI without prompting.

Global Config

Interactive selections are saved to:

~/.start-ai-cli/config.json

The config stores enabled tool ids:

{
  "enabledClis": ["codex", "claude", "cursor"]
}

Delete this file to reset the saved defaults.

Troubleshooting

start-ai-cli cannot start: no CLI tools found in PATH

Install or expose at least one supported command in your shell:

  • codex for Codex CLI
  • claude for Claude Code
  • agent for Cursor CLI

A CLI does not appear as available in the prompt

Make sure its command is installed and available in PATH:

  • codex for Codex CLI
  • claude for Claude Code
  • agent for Cursor CLI

start-ai-cli cannot prompt in a non-interactive terminal

Run with --all or --no-interactive when using CI, scripts, or shell pipelines:

start-ai-cli --all

start-ai-cli cannot start: no selected CLI tools are available

Choose at least one installed CLI in the prompt, or run start-ai-cli --all to launch every available tool.

start-ai-cli cancelled

The interactive selector was closed with q or Esc. Run start-ai-cli again and press Enter after selecting at least one available CLI.

Windows Terminal was not found

Install Windows Terminal and make sure wt.exe is available in PATH.

PowerShell was not found

Install PowerShell 7 (pwsh.exe) or make sure Windows PowerShell (powershell.exe) is available.

Package Links

  • npm package: https://www.npmjs.com/package/start-ai-cli
  • GitHub repository: https://github.com/guoxiao0521/open-ai-cli
  • Issues: https://github.com/guoxiao0521/open-ai-cli/issues

Development

npm test
npm run pack:dry-run
npm run publish:dry-run

Publish

README.md and npm metadata changes appear on npm after publishing a new package version.

npm login --registry=https://registry.npmjs.org/
npm publish