Parton CLI is in early alpha (v0.1.0)

Things may break or change between releases. We don't recommend using Parton on production projects yet. If you run into anything unexpected, we'd genuinely appreciate your feedback — it helps us make Parton better for everyone.

Updating Parton

Parton includes a built-in self-update command.

Check for updates

parton update --check

This checks GitHub for the latest release and compares it to your installed version. No files are changed.

Example output:

Current version: 0.1.0
Checking for updates...
New version available: 0.2.0

Run 'parton update' to install.

If you are already on the latest version:

Current version: 0.2.0
Checking for updates...
Already up to date.

Update to the latest version

parton update

This will:

  • check GitHub for the latest release
  • detect your platform (macOS arm64, macOS x64, Linux x64)
  • download the correct binary
  • replace the current binary atomically
  • print the new version

Example output:

Current version: 0.1.0
Checking for updates...
New version available: 0.2.0
Downloading parton-darwin-arm64 from v0.2.0...
Installing to /usr/local/bin/parton...
✔ Updated to parton 0.2.0

Verify after update

parton version

Alternative: reinstall via script

You can also update by running the install script again:

curl -fsSL https://parton.run/install.sh | sh

Both methods produce the same result.

Supported platforms

The update command supports the same platforms as the initial install:

  • macOS Apple Silicon (arm64)
  • macOS Intel (x86_64)
  • Linux x64

Troubleshooting

Permission denied

If the binary is installed in a system directory (e.g. /usr/local/bin), you may need to run with elevated permissions or reinstall to a user-writable path like ~/.local/bin.

Network error

The update command requires internet access to reach GitHub. If you are behind a proxy or firewall, the download may fail. In that case, download the binary manually from https://cdn.parton.run/v{version}/parton-{platform}-{arch} and replace the existing binary.

Unsupported platform

If you see "Unsupported platform", your OS/architecture combination is not yet supported. Check the installation page for the current list.

Related