Installation
This guide covers all methods for installing and configuring Better Skills, including CLI installation, web dashboard access, and environment setup for local development.CLI Installation
The Better Skills CLI is distributed as a pre-compiled binary for macOS and Linux.Supported Platforms
| Operating System | Architectures |
|---|---|
| macOS (Darwin) | x64, arm64 (Apple Silicon) |
| Linux | x64, arm64 |
Quick Install (Recommended)
The fastest way to install the CLI is with the one-line installer:- Detects your OS and architecture
- Downloads the latest release from GitHub
- Installs to
~/.local/bin/better-skills - Creates a wrapper script with the default server URL
Custom Installation Options
You can customize the installation with options:Installer Options
| Option | Description | Default |
|---|---|---|
--version <tag> | Specific release tag to install | latest |
--install-dir <path> | Installation directory | $HOME/.local/bin |
--server-url <url> | Default API server URL | https://server.better-skills.dev |
--repo <owner/repo> | GitHub repository for releases | LeonardoTrapani/better-skills |
-h, --help | Show installer help | - |
Manual Installation
For advanced users or custom setups, you can install manually:Download the Binary
Go to the GitHub Releases page and download the appropriate binary for your platform:
better-skills-darwin-x64(macOS Intel)better-skills-darwin-arm64(macOS Apple Silicon)better-skills-linux-x64(Linux x86_64)better-skills-linux-arm64(Linux ARM64)
Verify Installation
After installation, verify the CLI is working:If you see
command not found, ensure ~/.local/bin is in your PATH. See PATH Configuration below.PATH Configuration
If the CLI is not found after installation, add the installation directory to your PATH:Web Dashboard
The Better Skills web dashboard is hosted at: https://better-skills.dev No installation is required—simply visit the URL and sign in with your account.Features
- Skill Browser: Browse and search skills across all your vaults
- Skill Editor: Create and edit skills with markdown preview
- Graph Visualizer: Explore skill-to-skill and skill-to-resource relationships
- Vault Management: Create vaults, invite members, configure permissions
- Settings: Manage account preferences, vault memberships, and API keys
Access Requirements
- A Better Skills account (sign up at better-skills.dev)
- Modern browser (Chrome, Firefox, Safari, Edge)
- Internet connection
Environment Setup
Configure the CLI with environment variables or a config file.Environment Variables
The CLI reads configuration from environment variables:| Variable | Description | Default |
|---|---|---|
SERVER_URL | API server base URL | http://localhost:3000 (dev)https://server.better-skills.dev (prod) |
AGENTS | Comma-separated list of target agents for sync | opencode |
BETTER_SKILLS_INSTALL_DIR | Installation directory for installer script | $HOME/.local/bin |
BETTER_SKILLS_SERVER_URL | Server URL baked into installer wrapper | https://server.better-skills.dev |
BETTER_SKILLS_REPO | GitHub repo for releases | LeonardoTrapani/better-skills |
Config File
Alternatively, create a.better-skills.json config file in your project directory:
.better-skills.json
Environment variables take precedence over the config file.
Session Storage
After runningbetter-skills login, your session is stored at:
accessToken: OAuth2 access tokentokenType: Token type (usuallyBearer)expiresIn: Token expiration time in seconds
Local Development Setup
To run Better Skills from source (for contributors):Setup Database
The project uses PostgreSQL with Drizzle ORM. Start a local Postgres instance:Then apply the schema:
Configure Environment
Copy the example environment files:Edit Edit
apps/server/.env:apps/server/.env
apps/web/.env:apps/web/.env
Start Development Servers
Run all services in development mode:This starts:
- Web: http://localhost:3001
- API: http://localhost:3000
Required Environment Variables (Development)
Server (apps/server/.env):
| Variable | Description | Example |
|---|---|---|
DATABASE_URL | PostgreSQL connection string | postgresql://user:pass@localhost:5432/db |
BETTER_AUTH_SECRET | Secret key for Better Auth | <random-64-char-string> |
BETTER_AUTH_URL | Auth callback base URL | http://localhost:3000 |
CORS_ORIGIN | Allowed CORS origin | http://localhost:3001 |
apps/web/.env):
| Variable | Description | Example |
|---|---|---|
NEXT_PUBLIC_SERVER_URL | API server base URL | http://localhost:3000 |
| Variable | Description | Example |
|---|---|---|
SERVER_URL | API server base URL | http://localhost:3000 |
Validation Commands
After making changes, run validation:Updating
Update CLI
Re-run the installer to upgrade to the latest version:Update Dependencies (Development)
Update all workspace dependencies:Uninstalling
To remove the Better Skills CLI:Next Steps
Quickstart
Follow the quickstart to login and sync your first skill
CLI Commands
Explore all available CLI commands
Web Dashboard
Learn how to use the web interface
Authentication
Learn about authentication and session management