LangStream CLI
Use the CLI to test, verify and deploy applications.
For LangStream CLI commands, see CLI commands. To configure the LangStream CLI, see CLI configuration.
Installation
Mac
Install the latest version
Install a specific version
To upgrade
To upgrade to a specific version
Linux
Install the latest version
Install a specific version
To upgrade the CLI version, you can run the installer again.
Windows
Use WSL.
Alternatively, you can run the .bat
file present inside the CLI tarball. You can download the tarball from Github Releases
Want to get started a little quicker? Check out the LangStream VSCode Extension for pre-made applications and agent code snippets.
Confirm the installation
Once installed you can test the CLI with the following command.
Enable auto-completion
Installing the binary directly will enable auto-completion for the CLI.
If you installed the CLI with Homebrew, you can enable auto-completion with the following command:
ZSH
Bash
Step by step guide on Amazon Linux VM
If for some reasons you prefer to install the CLI and test the applications on a remote machine, this is setup you need to go through.
After creating the VM on EC2, you can run the following commands:
Last updated