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

altis-cli

v1.1.1

Published

Command-line tool for managing Altis Cloud hosting: stacks, backups, deploys, logs, X-Ray and more.

Readme

altis-cli

CLI for running Altis utilities and commands.

Installing

You need Node v20 or later.

# Install globally:
npm install -g altis-cli

# Run it:
altis-cli

# Run with npx:
npx altis-cli

Available Commands

Always use altis-cli help for the most up-to-date list of commands.

  • cli - Meta CLI commands
    • clear-cache - Clear the cache file
  • config - Configuration commands
    • reset - Reset configuration
    • setup - Set up configuration
    • status - Show stored configuration
  • app - Application commands
    • Alias for stack; preferred for Altis Dashboard application commands.
    • list - List stacks available in our hosting.
    • backup [stack] - Create a new backup for the stack.
    • backups [stack] - List backups for the stack.
    • deploy [stack] - Deploy a given stack.
    • logs [stack] - Show logs with date ranges and filtering. Example: altis-cli app logs example-dev-01 --type php --after "1 hour ago"
    • builds [stack] - List builds. Example: altis-cli app builds example-dev-01 --json
    • build [stack] - Start a build. Example: altis-cli app build example-dev-01
    • build-cache clear [stack] - Clear the build cache. Example: altis-cli app build-cache clear example-dev-01 --yes
    • deploys [stack] - List deploys. Example: altis-cli app deploys example-dev-01
    • tasks - List, cancel, or stream running tasks. Example: altis-cli app tasks example-dev-01
    • tasks cancel <id> - Cancel a running task. Example: altis-cli app tasks cancel <id> --yes
    • tasks logs <id> - Stream logs for a running task. Example: altis-cli app tasks logs <id>
    • database-tables [stack] - List database tables. Example: altis-cli app database-tables example-dev-01
    • uploads-prefixes [stack] - List uploads prefixes. Example: altis-cli app uploads-prefixes example-dev-01
    • import database <target> --from <source> - Import database from another app. Example: altis-cli app import database example-dev-01 --from example-stag-01
    • import uploads <target> --from <source> - Import uploads from another app. Example: altis-cli app import uploads example-dev-01 --from example-stag-01
    • variables - Manage app/build variables. Example: altis-cli app variables list example-dev-01 --type app
    • domains - Manage domains. Example: altis-cli app domains list example-dev-01
    • ip-list - Manage IP allow/deny lists. Example: altis-cli app ip-list get example-dev-01 --type allow
    • ua-blocklist - Manage user-agent blocklist. Example: altis-cli app ua-blocklist get example-dev-01
    • packages [stack] - List packages. Example: altis-cli app packages example-dev-01
    • vulnerabilities [stack] - List packages with vulnerabilities. Example: altis-cli app vulnerabilities example-dev-01
    • xray [stack] - X-Ray live stats dashboard and trace browser. Examples:
      • altis-cli app xray example-dev-01 - Live auto-refreshing stats dashboard with sparklines and trace menu.
      • altis-cli app xray example-dev-01 --after "2 hours ago" - Dashboard for a custom time window.
      • altis-cli app xray list-traces example-dev-01 - List recent traces as a table.
      • altis-cli app xray list-traces example-dev-01 --errors - Filter to errors and faults.
      • altis-cli app xray list-traces example-dev-01 --slow 2 - Traces slower than 2s.
      • altis-cli app xray list-traces example-dev-01 --url-contains wp-json - Filter by URL substring.
      • altis-cli app xray list-traces example-dev-01 --group-by url - Group by URL.
      • altis-cli app xray list-traces example-dev-01 --json - Output as JSON.
      • altis-cli app xray trace <id> example-dev-01 - Show a single trace by ID.
      • altis-cli app xray trace <id> example-dev-01 --json --output trace.json - Export trace to JSON file.
      • altis-cli app xray trace-file trace.json - Inspect a local trace JSON export.
  • stack - Legacy alias for application commands
    • info [stack] - Get information for a stack.
    • scp <src> <dest> - Copy a file to/from a stack.
    • ssh [stack] - SSH into a stack.
    • php-logs [stack] - Show PHP logs for a stack.
  • instance - Instance commands
    • list - List instances. Example: altis-cli instance list
    • info <instance> - Show instance details. Example: altis-cli instance info example-dev-01
    • access list <instance> - List instance access. Example: altis-cli instance access list example-dev-01
    • access add <instance> <email> - Add or invite a user. Example: altis-cli instance access add example-dev-01 [email protected] --role developer
    • access remove <instance> <user-id> - Remove a user. Example: altis-cli instance access remove example-dev-01 42 --yes
    • maintenance get <instance> - Show maintenance details. Example: altis-cli instance maintenance get example-dev-01
    • maintenance set <instance> - Update maintenance contact. Example: altis-cli instance maintenance set example-dev-01 --contact [email protected]
    • reports <instance> - List reports. Example: altis-cli instance reports example-dev-01

Releasing

See RELEASING.md for the release process and versioning guidelines.

Credits

Created by Ryan McCue to make your day better.

Licensed under the MIT license. Copyright 2017-2023 Human Made.