Skip to content
Talk to an engineerRequest access

Install the CLI

Get the useval command on your machine.

The CLI includes its browser preview. You don’t need Rust, Node.js, Flutter or Docker to build and preview components.

  1. Download the release.

    Terminal window
    gh release download \
    sdk-candidate-c706f3d6d565cf846722363e67ab61cd1a39d9c17f3899baa1a54453bd156455 \
    --repo Infinitix-LLC/val_gen_ui --dir useval-download
    cd useval-download
  2. Verify and extract for your machine. Every checksum should say OK.

    Terminal window
    shasum -a 256 -c SHA256SUMS
    unzip -q cohort-macos-arm64.zip -d sdk
    (cd sdk && shasum -a 256 -c SHA256SUMS)
    tar -xzf sdk/useval-aarch64-apple-darwin.tar.gz
  3. Put it on your PATH. No sudo needed.

    Terminal window
    mkdir -p "$HOME/.local/bin"
    install -m 755 useval/useval "$HOME/.local/bin/useval"
    export PATH="$HOME/.local/bin:$PATH"
  4. Check it works.

    Terminal window
    useval --version
✓ You should see a version number. Add the export PATH=… line to /.zshrc or /.bashrc so new terminals find it too.