
Company News
Andrew Becherer Joins Socket as Chief Information Security Officer
Socket’s first CISO brings deep experience securing high-growth SaaS companies as open source supply chain threats accelerate.
@shyft-dev/cli
Advanced tools
[!IMPORTANT] Shyft is in Early Access. If you are interested in how your team can accelerate and measure AI-First development, please join us.
Command-line interface for the Shyft platform.
npm install -g @shyft-dev/cli
To uninstall:
npm uninstall -g @shyft-dev/cli
Node 18+ and npm are the only requirements.
git clone git@github.com:shyft-dev/shyft-cli.git
cd shyft-cli
bun install
bun run build
bun link
shyft [options] [command]
| Option | Description |
|---|---|
--json | Output in JSON format |
-V | Show version number |
-h | Show help |
loginAuthenticate with the Shyft platform. Opens a browser by default for OAuth authentication.
# Browser-based login (default)
shyft login
# Print the auth URL instead of opening a browser
shyft login --no-browser
# Authenticate with an API key (for CI/scripts)
shyft login --api-key <key>
logoutLog out and clear stored credentials.
shyft logout
statusShow current authentication status including email, team, and auth method.
shyft status
configView or modify CLI configuration.
# View all configuration (sensitive values redacted)
shyft config
# Get a specific value
shyft config get <key>
# Set a value (currently only apiUrl is settable)
shyft config set apiUrl https://custom-api.example.com
# Reset configuration to defaults (preserves auth)
shyft config reset
~/.shyft/config.json)Stores authentication credentials and API settings. Created by shyft login. The API endpoint defaults to https://api.shyft.dev and can be overridden via:
shyft config set apiUrl <url>SHYFT_API_URL environment variable.shyft/config.json)Created by shyft init. Associates the current project directory with a Shyft product. Contains the productId used by commands like shyft features and shyft analytics. This file should be committed to version control so all contributors share the same product association.
.shyft/context.json)Transient working state for the current session. Stores the active feature ID (set via shyft context set --feature <id>) and phase timing data (managed by shyft analytics start-phase / end-phase). This file is automatically added to .gitignore by shyft init and should not be committed.
All commands support --json for machine-readable output, useful for scripting and CI pipelines:
shyft status --json
shyft login --api-key "$SHYFT_API_KEY" --json
# Watch mode
bun run dev
# Build
bun run build
# Run tests
bun test
# Type check
bun run typecheck
# Lint
bun run lint
| Code | Meaning |
|---|---|
| 0 | Success |
| 1 | General error |
| 2 | Auth required |
| 3 | Auth failed |
| 4 | API error |
| 5 | Validation error |
| 6 | Timeout |
FAQs
CLI for the Shyft platform
The npm package @shyft-dev/cli receives a total of 17 weekly downloads. As such, @shyft-dev/cli popularity was classified as not popular.
We found that @shyft-dev/cli demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 2 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.

Company News
Socket’s first CISO brings deep experience securing high-growth SaaS companies as open source supply chain threats accelerate.

Company News
Replit is integrating Socket Firewall into its AI-powered development experience to help protect builders from malicious open source packages.

Security News
npm confirmed a tooling bug incorrectly marked several one-character packages as security holders and said it was working on a rollback.