Skip to content

dacely-cloud/nerva-code

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14,871 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Nerva Code logo

The open source AI coding agent.

Discord npm Build status

Nerva Code Terminal UI


Installation

# YOLO
curl -fsSL https://dacely.ai/install | bash

# Package managers
npm i -g nerva-code@latest        # or bun/pnpm/yarn
scoop install nerva-code             # Windows
choco install nerva-code             # Windows
brew install anomalyco/tap/nerva-code # macOS and Linux (recommended, always up to date)
brew install nerva-code              # macOS and Linux (official brew formula, updated less)
sudo pacman -S nerva-code            # Arch Linux (Stable)
paru -S nerva-code-bin               # Arch Linux (Latest from AUR)
mise use -g nerva-code               # Any OS
nix run nixpkgs#nerva-code           # or github:anomalyco/nerva-code for latest dev branch

Tip

Remove versions older than 0.1.x before installing.

Desktop App (BETA)

Nerva Code is also available as a desktop application. Download directly from the releases page or dacely.ai/download.

Platform Download
macOS (Apple Silicon) nerva-code-desktop-mac-arm64.dmg
macOS (Intel) nerva-code-desktop-mac-x64.dmg
Windows nerva-code-desktop-windows-x64.exe
Linux .deb, .rpm, or .AppImage
# macOS (Homebrew)
brew install --cask nerva-code-desktop
# Windows (Scoop)
scoop bucket add extras; scoop install extras/nerva-code-desktop

Installation Directory

The install script respects the following priority order for the installation path:

  1. $NERVA_CODE_INSTALL_DIR - Custom installation directory
  2. $XDG_BIN_DIR - XDG Base Directory Specification compliant path
  3. $HOME/bin - Standard user binary directory (if it exists or can be created)
  4. $HOME/.nerva-code/bin - Default fallback
# Examples
NERVA_CODE_INSTALL_DIR=/usr/local/bin curl -fsSL https://dacely.ai/install | bash
XDG_BIN_DIR=$HOME/.local/bin curl -fsSL https://dacely.ai/install | bash

Agents

Nerva Code includes two built-in agents you can switch between with the Tab key.

  • build - Default, full-access agent for development work
  • plan - Read-only agent for analysis and code exploration
    • Denies file edits by default
    • Asks permission before running bash commands
    • Ideal for exploring unfamiliar codebases or planning changes

Also included is a general subagent for complex searches and multistep tasks. This is used internally and can be invoked using @general in messages.

Learn more about agents.

Documentation

For more info on how to configure Nerva Code, head over to our docs.

Contributing

If you're interested in contributing to Nerva Code, please read our contributing docs before submitting a pull request.

Building on Nerva Code

If you are working on a project that's related to Nerva Code and is using "nerva-code" as part of its name, for example "nerva-code-dashboard" or "nerva-code-mobile", please add a note to your README to clarify that it is not built by the Nerva Code team and is not affiliated with us in any way.


Join our community Discord | X.com

About

Nerva official agentic CLI.

Resources

License

Contributing

Security policy

Stars

1 star

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • TypeScript 71.6%
  • MDX 24.6%
  • CSS 3.3%
  • HTML 0.2%
  • JavaScript 0.1%
  • Astro 0.1%
  • Other 0.1%