
Security News
Axios Supply Chain Attack Reaches OpenAI macOS Signing Pipeline, Forces Certificate Rotation
OpenAI rotated macOS signing certificates after a malicious Axios package reached its CI pipeline in a broader software supply chain attack.
@flash-install/cli
Advanced tools
A fast, drop-in replacement for npm install with deterministic caching
A blazingly fast replacement for npm install with deterministic caching
npm install -g @flash-install/cli
# Install dependencies
flash-install install
# Create a snapshot for faster future installs
flash-install snapshot
# Restore from a snapshot (ultra-fast)
flash-install restore
# Clean up
flash-install clean
| Command | Description |
|---|---|
flash-install | Install dependencies (default) |
flash-install install | Install dependencies |
flash-install snapshot | Create a snapshot of node_modules |
flash-install restore | Restore node_modules from a snapshot |
flash-install clean | Remove node_modules and snapshot |
flash-install clean-modules | Remove only node_modules (preserves snapshot) |
flash-install clean-snapshot | Remove only snapshot (preserves node_modules) |
flash-install sync | Synchronize dependencies with lockfile |
# Use offline mode
flash-install --offline
# Specify package manager
flash-install --package-manager yarn
# Skip dev dependencies
flash-install --no-dev
# Enable workspace support for monorepos
flash-install -w
| Scenario | npm install | flash-install | Speedup |
|---|---|---|---|
| First install (small project) | 30-60s | 10-15s | 3-4x |
| First install (large project) | 3-5min | 1-2min | 2-3x |
| Subsequent install (from cache) | 30-60s | 5-10s | 6-10x |
| Subsequent install (from snapshot) | 30-60s | 1-3s | 20-30x |
| CI/CD environment | 1-3min | 5-15s | 10-20x |
Share caches across your team or CI/CD environments:
flash-install --cloud-cache --cloud-provider=s3 --cloud-bucket=your-bucket-name
Efficiently manage monorepo dependencies:
flash-install -w
Work without an internet connection:
# Create a snapshot while online
flash-install snapshot
# Later, restore dependencies while offline
flash-install restore --offline
# Use with Yarn
flash-install --package-manager yarn
# Use with PNPM
flash-install --package-manager pnpm
# Use with Bun
flash-install --package-manager bun
Here are some of the most useful options you can use with flash-install:
--offline: Use offline mode (requires cache or snapshot)--no-cache: Disable cache usage--concurrency <number>: Number of concurrent installations--package-manager <manager>: Package manager to use (npm, yarn, pnpm, bun)--no-dev: Skip dev dependencies--verbose: Enable verbose logging--quiet: Suppress all output except errors--workspace or -w: Enable workspace support for monorepos--workspace-filter <packages...>: Filter specific workspace packages--cloud-cache: Enable cloud cache integration--cloud-provider <provider>: Cloud provider type (s3, azure, gcp)--cloud-bucket <name>: Cloud provider bucket name--cloud-region <region>: Cloud provider regionFor a complete list of all available options, run:
flash-install --help
Add Flash Install to your GitHub Actions workflow:
steps:
- uses: actions/checkout@v3
- name: Install dependencies with Flash Install
uses: flash-install-cli/flash-install-action@v1
with:
# Optional parameters (shown with defaults)
command: 'install' # Command to run (install, restore, snapshot, clean)
cache-enabled: 'true' # Enable GitHub Actions caching
package-manager: 'npm' # Package manager to use (npm, yarn, pnpm, bun)
concurrency: '4' # Number of concurrent downloads
.flashpack snapshot exists.flashpack snapshot with fingerprinting for future useFor more detailed documentation, see the docs directory:
Contributions are welcome! Please feel free to submit a Pull Request.
git checkout -b feature/amazing-feature)git commit -m 'Add some amazing feature')git push origin feature/amazing-feature)MIT
FAQs
A fast, drop-in replacement for npm install with deterministic caching
We found that @flash-install/cli demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer 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
OpenAI rotated macOS signing certificates after a malicious Axios package reached its CI pipeline in a broader software supply chain attack.

Security News
Open source is under attack because of how much value it creates. It has been the foundation of every major software innovation for the last three decades. This is not the time to walk away from it.

Security News
Socket CEO Feross Aboukhadijeh breaks down how North Korea hijacked Axios and what it means for the future of software supply chain security.