New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

@squaredup/cli

Package Overview
Dependencies
Maintainers
6
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@squaredup/cli

CLI tool for managing SquaredUp plugins

latest
Source
npmnpm
Version
0.2.4
Version published
Weekly downloads
549
18200%
Maintainers
6
Weekly downloads
 
Created
Source

@squaredup/cli

CLI tool for validating and deploying plugins to the SquaredUp platform.

Installation

npm install -g @squaredup/cli
# or
pnpm add -g @squaredup/cli

Requires Node.js 20 or later

Authentication

Before deploying plugins you need to authenticate with your SquaredUp API key. You can generate one at app.squaredup.com → Settings → Advanced → API.

Interactive login (prompts for key and region):

squaredup login

Non-interactive login (useful in CI):

squaredup login --apiKey <your-api-key> --region eu
OptionValuesDefaultDescription
--apiKeystringYour SquaredUp API key
--regionus, euusTarget region

Check your current authentication status:

squaredup status

Log out and clear stored credentials:

squaredup logout

Commands

CommandStatusDescription
loginAvailableAuthenticate with the SquaredUp platform
logoutAvailableClear stored credentials
statusAvailableShow current authentication status
deployAvailableDeploy a plugin to the platform
validateAvailableValidate a plugin package or folder
listAvailableList deployed plugins for your tenant
deleteAvailableDelete a deployed plugin by ID

Global flags

FlagDescription
--silentSuppress all output
--debugEnable verbose debug output
--versionPrint CLI version
--helpShow help

Development

Prerequisites: Node.js ≥20, pnpm

git clone <repo>
cd plugin-cli
pnpm install
ScriptCommandDescription
Buildpnpm buildCompile TypeScript to dist/
Devpnpm devWatch mode — rebuild on file changes
Lintpnpm lintRun ESLint
Testpnpm testRun tests with Vitest

After building, you can run the CLI locally:

node dist/index.js --help

To use the squaredup command globally from your local checkout, link the package after building:

pnpm build
pnpm link --global

The squaredup command will now resolve to your local dist/index.js. To unlink when you're done:

pnpm unlink --global @squaredup/cli

Credential storage

Credentials (API key, region, tenant name) are stored in the OS-specific user config directory managed by the conf package under the project name squaredup-cli. The config file is written with 0o600 permissions (owner read/write only).

FAQs

Package last updated on 01 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