Requirements
- macOS or Linux, with a POSIX shell.
- Node.js 20.19 or newer, and
npm(it comes with Node.js). curlorwget.
Install
- Checks for Node.js 20.19+ and
npm. - Downloads the CLI package and checks its SHA-256 checksum. If the checksum differs, nothing is installed.
- Installs the package into
~/.olostep. Nosudois needed. - Links
olostepinto a writable directory that is already on yourPATH. If there is none, it links into~/.local/binand adds that directory to your shell’s startup file (~/.zshrc,~/.bashrcor~/.bash_profile, fish’sconf.d, or~/.profile).
Installed olostep <version> in ~/.olostep/bin. If it had to change your PATH, open a new terminal first. Then run:
Install somewhere else
SetOLOSTEP_HOME to an absolute path to install there instead of ~/.olostep:
The script stops if another
olostep command is already on your PATH and was not installed by this script. Remove the other one first, then run the script again. The older npm package olostep-cli is a separate, older tool and is not covered by these docs.Update
Run:olostep update runs the install script again: curl -fsSL https://cli.olostep.com | sh. Running the script yourself does the same thing.
When a newer version is out, the CLI tells you after a command finishes:
CI is set, or with --json.
Uninstall
1
Sign out
2
Remove the linked command
olostep link the installer put on your PATH.3
Remove the installation
OLOSTEP_HOME path instead if you set one.4
Remove the CLI's settings
olostep chat conversation reference.PATH line to your shell’s startup file, it sits under the comment # olostep CLI. Delete both lines.