glab(1)

πŸ“¦
version 1.128.0 Β· 2 versions
, in arch rolling

✨ glab(1) β€” the dependency firewall glow-up ✨

Okay bestie, this is the <pink>glab(1)</pink> manual page, and today we're talking about the npm-flavored Dependency Firewall. Yes, it's still in beta. No, that doesn't make it any less iconic. πŸ’…


🌸 NAME 🌸

glab-dependency-firewall-npm β€” run npm through the GitLab Dependency Firewall. (BETA) πŸ‘‘


πŸ¦‹ SYNOPSIS πŸ¦‹

glab dependency-firewall npm  [flags]

That's it. That's the whole vibe check. ✨


πŸ’– DESCRIPTION πŸ’–

So basically: this command runs the npm binary through the GitLab Dependency Firewall. Every single package download and upload gets checked against the policy for the current project. If a package is blocked? It gets refused, periodt. 🚫 And after the whole run finishes, it hits you with a summary of the results. Obsessed.

It uses your package manager's registry or index configuration β€” and it does not modify it. Not touching your config. Never. That's main character restraint. 🫢

All arguments are forwarded to npm verbatim. Like, word for word, no editing, no remixing. πŸŽ€

⚠️ Heads up bestie: this feature is in beta and might not be ready for production use. It might be unstable, and breaking changes can occur outside of major releases. For more information, see https://docs.gitlab.com/policy/development_stages_support/.

No cap, read that link before you ship it to prod. 😭


πŸŽ€ OPTIONS INHERITED FROM PARENT COMMANDS πŸŽ€

  • -h, --help[=false] β€” show help for this command. The classic. The goat. When in doubt, ask for help. πŸ™ˆ

🌈 EXAMPLE 🌈

Here's where it gets fun. Actual commands, actual slay. πŸ”₯

Install dependencies through the Dependency Firewall:

# Install dependencies through the Dependency Firewall
glab dependency-firewall npm install

Install a package through the Dependency Firewall:

# Install a package through the Dependency Firewall
glab dependency-firewall npm install left-pad

Clean install from the lockfile through the Dependency Firewall:

# Clean install from the lockfile through the Dependency Firewall
glab dependency-firewall npm ci

Publish a package through the Dependency Firewall:

# Publish a package through the Dependency Firewall
glab dependency-firewall npm publish

left-pad as the example package? The dev who wrote this is a person of culture, fr fr. 😌


🧚 SEE ALSO 🧚


And that's the page!! This beautiful thing was auto generated by spf13/cobra back in Nov 2026, and it's serving glab(1) energy from the very first line to the last. Mwah. πŸ’œβœ¨πŸŽ€

πŸ“¦ where this page comes from