Skip to main content
Command Line Interface

tsci update

tsci update updates tscircuit packages in your project. When given a package specifier, it updates only that package. When run without arguments, it updates all dependencies in package.json that start with @tsci/ or @tscircuit/.

Usage

tsci update [packageSpec]

Arguments

  • packageSpec (optional) – a package to update (e.g. @tscircuit/math-utils). When omitted, updates all @tsci/* and @tscircuit/* dependencies found in dependencies and devDependencies.

Examples

Update a specific package:

$ tsci update @tscircuit/math-utils
Updating @tscircuit/math-utils...
> bun update @tscircuit/math-utils
✓ Updated @tscircuit/math-utils successfully

Update all tscircuit packages:

$ tsci update
Updating 2 packages: @tscircuit/math-utils @tscircuit/props...
> bun update @tscircuit/math-utils @tscircuit/props
✓ Updated all tscircuit packages successfully