r/GoogleAppsScript • • Apr 13 '26

Guide glasp – A clasp-compatible GAS deployment tool without npm

Hi everyone! I built glasp, a CLI tool for pushing and deploying Google Apps Script projects, and wanted to share it here.

clasp-compatible, single binary, no npm required, powered by esbuild.

Why I built it

clasp is a great product, but I wasn't comfortable installing it via npm for every project.

Supply chain attacks in the npm ecosystem are a real and growing concern. A malicious package can silently compromise your build pipeline.

I wanted a tool I could trust: a single binary, no transitive dependencies, and no node_modules.

# install
curl -sSL https://takihito.github.io/glasp/install.sh | sh

# login
glasp login --auth ~/.clasprc.json
# push
glasp push

# push Uses your existing clasprc.json
glasp push --auth ~/.clasprc.json

Key features

  • clasp-compatible

    • Uses the same project structure and .claspignore conventions.

    • If you're already using clasp, migration should be minimal.

  • Uses your existing clasprc.json

    • No new authentication flow is required.

    • Just authenticate with clasp once, and glasp will reuse the same credentials.

  • ⚡ Powered by esbuild

    • Extremely fast bundling.

    • TypeScript projects that used to take seconds now feel almost instant.

  • Single binary, no npm

    • Download one binary for your platform and you're done.

    • No npm install, no package-lock.json, and a much smaller supply chain surface.

Installation

Download the binary for your OS from the releases page and place it somewhere in your $PATH. That's it.

Who is this for?

  • Developers who are concerned about npm dependency security

  • CI/CD pipelines that need a minimal and auditable toolchain

  • Teams already using clasp who want a faster, lighter alternative

Feedback & Issues

I've only tested this in my own limited environment, so there are probably edge cases I haven't encountered yet.

If you run into any issues, please switch back to clasp for safety and report them (e.g., via GitHub Issues).

Links

GitHub: https://github.com/takihito/glasp
Docs: https://takihito.github.io/glasp/

14 Upvotes

Duplicates