New:Socket for Asana Is Now Available.Learn more
Get Started

nightcode

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

nightcode

AI coding assistant for your terminal.

latest
Source
npmnpm
Version
1.0.7
Version published
Weekly downloads
4
-60%
Maintainers
1
Weekly downloads
 
Created
Source

NightCode

AI-powered coding assistant for your terminal.

NightCode helps you understand code, generate implementations, debug issues, explain errors, and interact with your projects without leaving the terminal.

Features

  • AI-powered terminal assistant
  • Interactive chat interface
  • Secure authentication with Clerk
  • Persistent chat sessions
  • Multiple AI model support
  • Modern terminal UI
  • Cross-platform support (Windows, macOS, Linux)

Requirements

Before installing NightCode, make sure you have:

  • Node.js 20 or later
  • Bun 1.2 or later

Install Bun

macOS / Linux

curl -fsSL https://bun.sh/install | bash

Windows

powershell -c "irm bun.sh/install.ps1 | iex"

Verify the installation:

bun --version

Installation

Install NightCode globally using npm.

npm install -g nightcode

Verify the installation.

nightcode --version

Usage

Navigate to any project.

cd my-project

Start NightCode.

nightcode

You can now ask coding questions, generate code, debug issues, and work directly inside your terminal.

Authentication

Login to your NightCode account.

/login


A browser window will open for authentication.

After completing authentication, return to your terminal.

Example

> Explain the architecture of this project.

> Add JWT authentication.

> Fix the TypeScript errors.

> Refactor this component.

> Create an Express API.

Updating

Update to the latest version.

npm update -g nightcode

Uninstall

npm uninstall -g nightcode

Technology Stack

  • Bun
  • TypeScript
  • React
  • OpenTUI
  • Hono
  • Clerk
  • Railway
  • AI SDK

Roadmap

  • File editing
  • Git integration
  • Project indexing
  • Local model support
  • Plugin system
  • Native executable distribution

License

MIT

Repository

https://github.com/amanjais123/nightcode

Keywords

ai

FAQs

Package last updated on 28 Jun 2026

Related posts