Skip to content
This repository was archived by the owner on Nov 7, 2026. It is now read-only.
pockethostPublic archive

About

Archived: phio is now pockethost (npm i -g pockethost). CLI lives in pockethost/pockethost/packages/cli

Resources

Stars

5 stars

Watchers

1 watching

Forks

Latest commit

 

History

54 Commits

Folders and files

Repository files navigation

Important

phio is now pockethost. This repo is archived and the phio npm package is deprecated.

npm rm -g phio && npm i -g pockethost

The CLI now lives in the main repo at pockethost/pockethost › packages/cli. Docs: https://pockethost.io/docs/cli

phio: the pockethost.io CLI

Auth

bunx phio login
bunx phio logout
bunx phio whoami

List instances

bunx phio list

Watch and push local changes instantly

bunx phio dev [instance]

Deploy to remote

bunx phio deploy [instance]

Tail logs

bunx phio logs [instance]

Configuration

Use pockethost in your package.json to save your instance name so you don't need to keep typing it:

// package.json
{
  "pockethost": {
    "instanceName": "all-your-base"
  }
}

-or-

Use pockethost.json to save your instance name so you don't need to keep typing it.

{
  "instanceName": "all-your-base"
}

Environment Variables

The following environment variables can be used to override any saved configuration:

  • PHIO_USERNAME - Override saved username
  • PHIO_PASSWORD - Override saved password
  • PHIO_INSTANCE_NAME - Override saved instance name

Environment variables take precedence over configuration in package.json or pockethost.json.

About

Archived: phio is now pockethost (npm i -g pockethost). CLI lives in pockethost/pockethost/packages/cli

Resources

Stars

5 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages