- Get started
- Installer output
Installer output
See what the installer prints
Section titled “See what the installer prints”On a developer machine, run the one-liner for your shell from Install OCX.
This is the whole output of the POSIX installer, recorded on a fresh x86-64 Linux user.
The installer prints the first six lines and the closing message.
ocx self setup prints what lies between: its progress and a table of what it changed.
The version is the release that was current when the recording was made.
curl -fsSL https://setup.ocx.sh/sh | shocx-install: Detected platform: x86_64-unknown-linux-gnuocx-install: Resolving latest version...ocx-install: Installing ocx v0.6.5...ocx-install: Downloading ocx-x86_64-unknown-linux-gnu.tar.gz...ocx-install: Checksum verified.ocx-install: Running ocx self setup...pulling count=1Downloading layer sha256:f45ad2e46655 to /home/runner/.ocx/temp/28a37a3033a5Setup re-source your shell profile (or open a new shell) to activate ocxSetup log out and back in for the session PATH to reach programs started outside a shellField ValueStatus completedBootstrap pulled 0.6.5Digest sha256:853a43059f4205e84dc2f9bb62210cbd93159268e1d8fe3a54837332e4936250Shims /home/runner/.ocx/env.sh /home/runner/.ocx/env.fish /home/runner/.ocx/env.ps1 /home/runner/.ocx/env.nu /home/runner/.ocx/env.elvProfiles /home/runner/.profile (completed) /home/runner/.bashrc (completed) /home/runner/.zprofile (completed) /home/runner/.zshrc (completed) /home/runner/.config/powershell/profile.ps1 (completed)Session PATH /home/runner/.config/environment.d/ocx.conf (written)
ocx 0.6.5 installed successfully!
Restart your shell, then verify with:
ocx about
To uninstall, remove the OCX home directory:
rm -rf /home/runner/.ocxRun the same command again, and the installer exits 0 with the version it finds when it would install that same version.
OCX_INSTALL_FORCE reinstalls anyway.
An unpinned rerun after a release upgrades to that release.
Watch the install in each shell
Section titled “Watch the install in each shell”Each recording below runs the one-liner for that shell on a fresh Linux user and plays back what it printed.
The PowerShell recording ran PowerShell 7 on Linux, so it downloads the Linux archive.
On Windows the installer downloads a .zip for x86_64-pc-windows-gnullvm (releases before the rename publish x86_64-pc-windows-msvc, which it falls back to).
The Nushell and Elvish recordings use the form for a POSIX shell, as Install OCX shows. Each installer ends with a closing message.