
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
@carbonhost/cli
Advanced tools
The Carbon CLI (@carbonhost/cli) provides a command-line interface for managing your Carbon deployments and resources.
npm:
npm install -g @carbonhost/cli
yarn:
yarn global add @carbonhost/cli
pnpm:
pnpm add -g @carbonhost/cli
bun:
bun add -g @carbonhost/cli
# Login to Carbon CLI
carbon login
The login command opens your browser to authenticate with Carbon. It will display a verification code that you should verify matches in the browser. After successful authentication, your API key will be saved locally.
Options:
--port, -p: Specify a custom port for the local authentication server (optional)# List all your stars
carbon list
# or
carbon ls
The list command displays all your stars in a table format with key information.
Options:
--format, -f: Output format (table, json) (default: table)--columns, -c: Only show specified columns (comma-separated) (default: id,name,type,status,ram,cpu)--sort, -s: Property to sort by (default: name)Examples:
# List all stars in table format
carbon ls
# Show only name and status columns
carbon ls --columns name,status
# Sort by creation date
carbon ls --sort created
# Output as JSON
carbon ls --format json
# Deploy a file to a star
carbon deploy <localPath> <starDirectory> --star <starId> [--watch]
The deploy command uploads a local file to a specified directory on your star (server).
Arguments:
localPath: Path to the local file you want to deploystarDirectory: Target directory on the star where the file should be uploaded--star, -s: The ID of the star to deploy to--watch, -w: Watch for local file changes and auto-deploy (optional)--postDeploy, -p: Command to run after deployment (optional)--restart, -r: Restart the server after deployment (optional)Examples:
# Deploy a single file
carbon deploy ./presets/paper-global.yml /config --star abc123
# Deploy and watch for changes
carbon deploy ./build/libs/PluginPortal.jar /plugins --star abc123 --watch
# Deploy with post-deploy command
carbon deploy ./plugins/MyPlugin.jar /plugins --star abc123 --postDeploy "reload confirm"
# Deploy and restart server
carbon deploy ./server.properties /config --star abc123 --restart
Note: When using the watch flag, the CLI will monitor the specified file for changes and automatically upload new versions when detected. This is particularly useful during development.
# Get general help
carbon help
# Get help for a specific command
carbon help <command>
The help command provides detailed information about available commands and their usage.
FAQs
A CLI to interact with the carbon.host platform
The npm package @carbonhost/cli receives a total of 8 weekly downloads. As such, @carbonhost/cli popularity was classified as not popular.
We found that @carbonhost/cli demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?

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.

Security News
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.