Product

Overview

How it works Watch it work All 35 features Screenshots How ForgeRepo™ is secured

Keep bad packages out

Malware scanning Typosquat detection Dependency confusion protection Cooling off new releases Allow lists and block lists

When something goes wrong

Kill switch Who has it Lockdown and degraded modes Vulnerability monitoring

Developers and approvals

Requests and auto approve Check, walk and review Waivers Dry run
Formats

Languages

Private npm registry PyPI proxy and private index Private NuGet feed and proxy Maven repository proxy RubyGems mirror Composer and Packagist proxy

Apple, containers and Linux

CocoaPods CDN mirror Swift package registry Docker registry mirror RPM mirror for dnf and yum APT mirror for Debian and Ubuntu

Use it as

An npm firewall Artifacts, SBOMs and lifecycle More than one node SSO, roles and allow lists
Learn

Guides

Learn secure development Secure coding Secure pipelines Unsafe vs safe Security and development

Supply chain

Supply chain attacks, 2016 to 2026 Software supply chain security
Compare Side by side, all four ForgeRepo™ vs JFrog ForgeRepo™ vs Sonatype ForgeRepo™ vs Cloudsmith
Docs

Start

Getting started Download All documentation Questions

For developers

npm setup pip setup docker login Push a Docker image CI basics

For administrators

First setup Rules and their order Six incidents, walked through Backup and upgrade
Pricing Install it

Ruby, gem and Bundler

Set up Bundler

Send every gem through ForgeRepo™ with a Bundler mirror, and keep your Gemfile as it is.

The ForgeRepo™ gem source is at https://packages.example.com/rubygems/. Tell Bundler to use it in place of rubygems.org, with your token as the password:

Set up Bundler to use ForgeRepo™
$ bundle config set --global mirror.https://rubygems.org https://packages.example.com/rubygems/
$ bundle config set --global packages.example.com your-user-name:"$REPO_TOKEN"
$ cat Gemfile
source "https://rubygems.org"

gem "sinatra", "~> 4.0"

Captured by running these commands against a real ForgeRepo™.

  • The Gemfile keeps source "https://rubygems.org". Bundler sends every request to the mirror instead.
  • The second command stores your token for the mirror. In a pipeline, run the same two commands with the token from a secret variable.

Then install as usual:

Install gems
$ bundle install
...
Installing rack-session 2.1.2
Installing rack-protection 4.2.1
Fetching sinatra 4.2.1
Installing sinatra 4.2.1
Bundle complete! 1 Gemfile dependency, 9 gems now installed.
Use `bundle info [gemname]` to see where a bundled gem is installed.

Captured by running these commands against a real ForgeRepo™.