Install and update
Install
Section titled “Install”| System | Command |
|---|---|
| macOS and Linux | curl -fsSL https://sort.do/install | bash |
| Windows (PowerShell) | irm https://sort.do/install.ps1 | iex |
| Any system with Node.js 18 or later | npm install -g sortdo |
| Homebrew | brew install sortdo/tap/sortdo |
| winget | winget install Sort.sortdo |
sortdo runs on macOS, Linux and Windows, on x64 and arm64 processors. It is one program with no other requirements.
The install scripts:
- Download the release for your system from github.com/sortdo/cli/releases.
- Check its SHA-256 against the release’s
checksums.txt. A file that does not match is not installed. - Put
sortdoin~/.local/bin(Windows:%LOCALAPPDATA%\Programs\sortdo), so no administrator rights are needed. - Add that folder to your
PATH, and offer to teach your coding agents to usesortdo.
Read a script before you run it: install.sh, install.ps1. https://trysort.com/install gives the same script to curl and PowerShell; in a browser, it is the page with every way to get Sort’s apps.
Options
Section titled “Options”Set these before the command, for example curl -fsSL https://sort.do/install | SORTDO_VERSION=0.2.0 bash.
| Variable | Effect |
|---|---|
SORTDO_VERSION |
Install this version instead of the latest. |
SORTDO_INSTALL_DIR |
Install into this folder. |
SORTDO_NO_MODIFY_PATH=1 |
Do not change your shell profile. |
SORTDO_INSTALL_SKILL=1 or 0 |
Install the agent skill without asking, or skip it. |
Update
Section titled “Update”sortdo tells you once a day, in a terminal, when a new version is out.
- Installed with the script:
sortdo update. It checks the download’s SHA-256 before it replaces the program. - npm:
npm install -g sortdo@latest. Homebrew:brew upgrade sortdo. winget:winget upgrade Sort.sortdo.sortdo updateprints the right command.
More than one copy
Section titled “More than one copy”Each way to install puts sortdo in its own folder, so two ways give two copies. They share the sign-in and the settings, but only the first one on your PATH runs, and an update changes only one. sortdo status and sortdo update list the copies when there is more than one. Keep one, and remove the others with the tool that installed them.
Check a download
Section titled “Check a download”Every release has a checksums.txt, its signature checksums.txt.minisig, and a build attestation from GitHub:
minisign -Vm checksums.txt -P RWQsuyzz4q/CJYGDrRz9vMHXgekMewZ+HVM3ux70Ft+oaNjrhxfCL+KLsha256sum -c checksums.txt --ignore-missinggh attestation verify sortdo_linux_amd64.tar.gz --repo sortdo/clisortdo update makes the same signature check before it installs a new version, and refuses a release that fails it.
On macOS, the program is also signed by Sort Works Ltd and notarized by Apple. codesign -dvv "$(command -v sortdo)" shows Authority=Developer ID Application: Sort Works Ltd (KDLWZ98LA3).
Uninstall
Section titled “Uninstall”sortdo uninstallIt signs out, and removes the agent skill, the settings and the program. When npm, Homebrew or winget installed sortdo, it prints the command that removes the program: npm uninstall -g sortdo, brew uninstall sortdo or winget uninstall Sort.sortdo. A coding agent runs sortdo uninstall --yes.
The install script also added its folder to your PATH. That line stays; it does no harm.