Skip to content

Add npm package configuration for global installation#1

Draft
teefisher2k20 with Copilot wants to merge 3 commits into
mainfrom
copilot/install-global-dependencies
Draft

Add npm package configuration for global installation#1
teefisher2k20 with Copilot wants to merge 3 commits into
mainfrom
copilot/install-global-dependencies

Conversation

Copilot AI commented Nov 12, 2025

Copy link
Copy Markdown

Enables global npm installation and CLI execution from any terminal or VS Code.

Changes

  • package.json: Added with bin field mapping copilot-cli command to executable
  • bin/copilot-cli.js: CLI entry point with --help, --version flags and welcome banner
  • index.js: Module entry point for programmatic use
  • .gitignore: Excludes node_modules and build artifacts
  • .vscode.example/tasks.json: Optional VS Code task definitions
  • README.md: Updated with installation and usage instructions

Installation

git clone https://github.com/teefisher2k20/copilot-cli.git
cd copilot-cli
npm install -g .

Usage

copilot-cli              # Launch CLI
copilot-cli --help       # Show options
copilot-cli --version    # Show version

Works in any terminal including VS Code's integrated terminal.

Original prompt

install this globally and run this code in vs code


💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

Copilot AI and others added 2 commits November 12, 2025 20:51
Co-authored-by: teefisher2k20 <74030143+teefisher2k20@users.noreply.github.com>
Co-authored-by: teefisher2k20 <74030143+teefisher2k20@users.noreply.github.com>
Copilot AI changed the title [WIP] Install dependencies globally and run in VS Code Add npm package configuration for global installation Nov 12, 2025
Copilot AI requested a review from teefisher2k20 November 12, 2025 20:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants