Big News: Socket raises $60M Series C at a $1B valuation to secure software supply chains for AI-driven development.Announcement
Sign In

@astroanywhere/cli

Package Overview
Dependencies
Maintainers
1
Versions
21
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@astroanywhere/cli

CLI for managing Astro projects, plans, tasks, and environments

latest
Source
npmnpm
Version
0.7.0
Version published
Maintainers
1
Created
Source

@astroanywhere/cli

Command-line interface for the Astro platform.

npm version npm downloads node version license

Website  ·  Dashboard  ·  Get Started

Manage Astro projects, plans, tasks, and environments from the terminal.

Install

npm install -g @astroanywhere/cli

Usage

# Configure server connection
astro-cli config set server-url http://localhost:3001

# Authenticate (for remote servers)
astro-cli login

# List projects
astro-cli project list

# View plan as a tree
astro-cli plan tree --project-id <id>

# Dispatch a task
astro-cli task dispatch <nodeId> --project-id <id>

# Watch task output in real time
astro-cli task watch <executionId>

Commands

CommandDescription
project list|show|create|update|delete|statsManage projects
plan tree|list|show|create-node|update-node|delete-node|stats|exportManage plan graphs
task list|show|dispatch|cancel|steer|watch|update-statusManage tasks
env list|show|remove|set-default|status|providers|clustersManage environments and machines
search <query>Search across projects, tasks, executions
activity list|watchView activity feed
trace show|observations|summary|statsView execution traces
config show|set|getManage CLI configuration
login|logout|whoamiAuthentication
completionGenerate shell completions (bash, zsh, fish)

All commands support --json for machine-readable output.

Configuration

Config is stored at ~/.astro/config.json (permissions 0600).

SettingEnv varDescription
serverUrlASTRO_SERVER_URLAstro server URL
authTokenAccess token (set via login)
defaultMachineIdDefault machine for dispatch

Resolution order: CLI flag --server-url > env var > config file > default.

Programmatic Usage

import { AstroClient } from '@astroanywhere/cli/client'

const client = new AstroClient({ serverUrl: 'http://localhost:3001' })
const projects = await client.listProjects()

License

BSL-1.1 — converts to Apache 2.0 on 2030-02-25.

astroanywhere.com

Keywords

astro

FAQs

Package last updated on 23 Apr 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts