Clatter LabsHelp Center

How do I install Line CLI in a CI pipeline?

How-toUpdated

Install with the usual script in a CI step, skipping profile edits, and add the folder to PATH for later steps.

curl -fsSL https://install.clatterlabs.xyz/line | LINE_NO_MODIFY_PATH=1 LINE_VERSION=0.9.0-beta sh
export PATH="$HOME/.line/bin:$PATH"
line --version

Tips#

  • Pin LINE_VERSION if you want the same version on every run; leave it out to always get the latest.
  • Run Line in print mode (line -p) with --output-format json so your pipeline can read the result.
  • Use --max-turns and --max-budget-usd to cap runs, and --permission-mode or --allowed-tools to control what it may do without a person approving.
  • Sign-in on CI machines needs care: device sign-in requires a person to confirm a code. Keep sign-in files secret if you reuse them.

See Scripting and automation.

Related articles

Still need help?

Tried the steps above and still stuck? Email us. We usually reply within the first hour, and always within 24 hours. A full support team is with you.

Infrastructure questions, or permanent deletion of your data
infrastructure@clatterlabs.xyz
For deleting your whole account or the data of one service.