Installation
How to install and configure Knowns CLI on your system
Installation
Get Knowns CLI up and running on your system.
Use this page when you are installing Knowns for the first time, pinning a version, or choosing the right install method for your environment.
Prerequisites
Knowns supports multiple install paths:
- Shell script via
https://knowns.sh/script/install - PowerShell via
https://knowns.sh/script/install.ps1 - Homebrew via
brew install knowns-dev/tap/knowns - npm via
npm install -g knowns npx knownsfor no global install
Only the npm-based path requires Node.js 20+.
Check your version
node --versionPlatform-specific installation
macOS:
# If using npm-based install
brew install nodeLinux (Ubuntu/Debian):
# Node.js via NodeSource
curl -fsSL https://deb.nodesource.com/setup_20.x | sudo -E bash -
sudo apt-get install -y nodejsWindows:
# Using winget
winget install OpenJS.NodeJSAdditional requirements
- Git - Knowns requires a git repository for version control
Choose An Install Method
| Method | Best For | Notes |
|---|---|---|
| Shell script | macOS and Linux users who want the official binary | Supports version pinning and script-managed updates |
| PowerShell | Windows users who want the official binary | Supports version pinning and script-managed updates |
| Homebrew | macOS and Linux users already using Homebrew | Upgrade with brew upgrade knowns-dev/tap/knowns |
| npm | Users already working in a Node.js toolchain | Requires Node.js 20+ |
| npx | One-off usage without a global install | Slower than a normal install |
Install Methods
Shell
curl -fsSL https://knowns.sh/script/install | shPin a specific version:
KNOWNS_VERSION=v0.18.3 curl -fsSL https://knowns.sh/script/install | shPowerShell
irm https://knowns.sh/script/install.ps1 | iexPin a specific version:
$env:KNOWNS_VERSION = "v0.18.3"
irm https://knowns.sh/script/install.ps1 | iexHomebrew
brew install knowns-dev/tap/knownsnpm
npm install -g knownsnpx
npx knownsVerify Installation
After installation, verify that Knowns is available:
knowns --versionYou should see the version number printed.
Initialize a Project
Navigate to your project directory and run:
cd your-project
knowns initNote: Knowns requires a git repository. If your project is not yet a git repo, initialize it first:
git init
knowns initRunning knowns init starts an interactive wizard:
🚀 Knowns Project Setup Wizard
Configure your project settings
? Project name: my-project
? Git tracking mode: Git Tracked (recommended for teams)
? AI Guidelines type: CLI
? Select AI agent files to create/update:
â—‰ CLAUDE.md (Claude Code)
â—‰ AGENTS.md (Agent SDK)
â—¯ GEMINI.md (Google Gemini)
â—¯ .github/copilot-instructions.md (GitHub Copilot)This creates a .knowns/ folder with the following structure:
.knowns/
├── config.json # Project configuration
├── tasks/ # Task files
└── docs/ # Documentation filesConfiguration
The config.json file contains project settings:
{
"name": "your-project",
"version": "1.0.0",
"settings": {
"defaultPriority": "medium",
"taskPrefix": "TASK"
}
}Browser UI
Knowns includes a web-based UI for visual task management:
knowns browser --openThis opens a local server with:
- Kanban board view
- Document browser
- Memory browser
- Knowledge graph
- Task details panel
- Dark mode support
From the v0.18 series onward, the browser flow also covers workspace switching, code graph exploration, richer chat UX, and optional watcher-based code refresh flows.
Claude Code MCP Setup (Optional)
Set up Model Context Protocol for Claude Code in one step:
knowns mcp setup- Creates
.mcp.jsonfor project-level auto-discovery - Registers the Knowns MCP server with
claude mcp add-jsonwhen the Claude CLI is installed
Updating
To update Knowns to the latest version:
knowns updateUpgrade guidance depends on how you installed Knowns:
- Shell or PowerShell install:
knowns updatecan use install metadata for direct self-update - Homebrew:
brew upgrade knowns-dev/tap/knowns - npm or manual install: prefer your original install path/tooling
If you prefer reinstalling from the bootstrap script:
curl -fsSL https://knowns.sh/script/install | shNext Steps
After installation:
- Run
knowns initin your repository - Open the local UI with
knowns browser --open - Set up AI integration with
knowns mcp setupif needed
Uninstalling
To remove Knowns:
curl -fsSL https://knowns.sh/script/uninstall | shOn Windows PowerShell:
irm https://knowns.sh/script/uninstall.ps1 | iexNote: This does not remove .knowns/ folders from your projects.
Related
- Introduction - Product overview and quick start
- MCP Integration - Connect Knowns to AI assistants
- CLI Reference - Full command reference