npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@yadurajfleetos/cli

v0.25.0

Published

Fleet OS command-line interface for deploying and orchestrating services on user-owned hardware

Readme

Fleet OS CLI (fleet)

The command-line interface for Fleet OS — git-push deploys onto hardware you already own.

Installation

Via npm (Global)

npm install -g @yadurajfleetos/cli

Run Directly via npx

npx @yadurajfleetos/cli --help

Build and Install from Source

git clone https://github.com/YadurajManu/fleet-os.git fleet-os
cd fleet-os/cli
npm install
npm run build
npm link

Quick Start

1. Sign In

# Hosted control plane (default: https://fleetapi.plastikworld.xyz)
fleet auth login

# Self-hosted control plane
fleet auth login --api https://fleetapi.example.com

# Sign out (clears httpOnly session cookies)
fleet auth logout

2. Pair a Machine

fleet nodes pair

Run the generated curl -fsSL ... | sh command on the machine you want to add to your fleet.

3. Check Fleet Status & Health

fleet status
fleet doctor

4. Deploy a Service

# Validate manifest
fleet validate

# Apply services to fleet
fleet apply

# Plan and deploy a service
fleet changes web
fleet deploy web --message "Update home page"

# After editing local files, repeat to deploy the new snapshot.
# No GitHub push is required. The current release stays online during the build.
fleet changes web
fleet deploy web
fleet deployments web

# Roll back to previous healthy deployment
fleet rollback web

5. Follow Live Logs

# Stream logs in real-time via SSE
fleet logs web --follow

Command Reference

| Command | Description | | :--- | :--- | | fleet auth login | Sign in and save secure local session | | fleet auth logout | Sign out and clear httpOnly session cookies | | fleet config show | Show active control plane and selected fleet | | fleet use <fleet> | Choose default fleet | | fleet nodes pair | Generate single-use pairing token for a new node | | fleet nodes | List nodes, status, and resource usage | | fleet status | One-screen overview of fleet health | | fleet doctor | Diagnostic health check across cluster | | fleet diagnose <q> | AI-powered root-cause analysis | | fleet apply [file] | Apply fleet.yaml manifest | | fleet deploy <svc> [--message <text>] | Preview the local snapshot, confirm, upload it, then build and roll out | | fleet changes <svc> | Compare the included local files with the last successful release without uploading | | fleet updates | Show server revision, node agent versions, CLI version, and safe update steps | | fleet nodes upgrade <name> on\|off\|inherit | Opt in one agent, pause it, or return to the fleet policy | | fleet deployments <svc> | Show local snapshot or Git identity, changed-file counts, status, node and image digest | | fleet domains [svc] | Show the permanent Fleet URL, attached domains, and verification state | | fleet domains add <svc> <host> | Add a Fleet alias or print the TXT and A/CNAME records for a custom domain | | fleet domains check <svc> [host] | Verify ownership, routing, and HTTPS readiness | | fleet domains primary <svc> <host> | Change the URL used by fleet open; pass the permanent Fleet host to restore it | | fleet domains rm <svc> <host> | Remove an additional domain without removing the permanent Fleet URL | | fleet logs <svc> --follow | Live SSE stream of container logs | | fleet logs <svc> | Read the current log tail | | fleet restart <svc> | Restart a service | | fleet rollback <svc> | Roll back to previous deployment | | fleet reschedule <svc> | Force scheduler to migrate service | | fleet where <svc> | Explain scheduler placement and candidate scores | | fleet tune | Compare allocated RAM vs actual memory consumed | | fleet events | Unified cluster event timeline | | fleet backup <svc> | Create on-demand persistent volume snapshot | | fleet backups <svc> | List volume backups | | fleet restore <svc> [id] | Restore volume snapshot | | fleet secrets | List configured secret keys | | fleet secrets set <KEY> | Securely store a credential | | fleet import [file] | Convert a docker-compose.yml into fleet.yaml | | fleet init [--ai] | Scan repository and scaffold fleet.yaml | | fleet validate [file] | Lint and validate fleet.yaml placement rules | | fleet open <svc> | Open public service endpoint in browser |


License

MIT License.

Pairing and terminal presentation

Run fleet for compact onboarding, fleet --help for the full reference, and fleet nodes pair --help for target-machine setup. Native Windows pairing uses PowerShell rather than requiring Git Bash:

fleet nodes pair --target windows --shell powershell
fleet nodes pair --target macos
fleet nodes pair --target linux

Run the generated Windows command as Administrator under the Docker Desktop account, with Docker Desktop in Linux-container mode. The installer verifies the download checksum and installs a Windows Service; the originating CLI confirms the paired node's fresh heartbeat. This requires the matching control-plane release and published Windows agent binary/checksum. See installation details.

Use --no-animation, --ascii, and --color auto|always|never to adapt output. Automatic colors respect NO_COLOR; CI and redirected output never animate. Terminal fonts and backgrounds stay under your control.