Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

electron-swan

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

electron-swan

A cli tool for managing local Electron release artifacts

  • 1.0.0-beta.0
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
0
Maintainers
1
Weekly downloads
 
Created
Source

🦢 electron-swan

A cli tool for managing local Electron release artifacts

license

npm i -g electron-swan

Features

  • List all local artifacts and disk usage
  • Clean up by version range to save disk space
  • Check for updates by version range
  • Make Electron installation faster

Usage

See swan --help for more details

swan list

Aliases: swan ls.

List all local artifacts.

OptionsDescription
-p, --platfromspecify platform, e.g. darwin, win32, linux
-a, --archspecify architecture, e.g. x64, ia32, arm64
-d, --detailshow all archives (default: false)

Specify arch or platform

Show all archives

swan remove <version>

Aliases: swan rm <version>.

Clean up local artifacts by version range. The version is required and is satisfied by the version range according to semver.

You can use -f, --force option to remove directly without confirmation.

swan check [version]

Check for updates by version prefix. You can use --tag option to check prerelease version, the tag must be beta or alpha.

swan install [version]

Aliases: swan i, swan add.

Download the newer version that is satisfied by the version range according to semver. If no version range is specified, the latest version will be downloaded.

OptionsDescription
-p, --platfromspecify platform, e.g. darwin, win32, linux
-a, --archspecify architecture, e.g. x64, ia32, arm64
--mirrorspecify mirrors to download Electron release artifacts (default: npm mirror)

License

MIT © alex.wei

FAQs

Package last updated on 20 Jan 2024

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc