ReferenceCLI

nevia shell

Open the computer's shell

nevia shell [-e --env <KEY=VALUE>] [--ttl <DUR>] [COMPUTER]

Runs the image's SHELL, or /bin/sh, with the image ENTRYPOINT cleared. It needs a terminal on stdin and stdout, so run commands from a pipe or a script with nevia exec -i -- sh instead. The computer must be running: shell never wakes it, so run nevia awake first.

Arguments

  • [COMPUTER] - Computer ID or name (optional when the workspace has one computer)

Options

  • -e, --env <KEY=VALUE> - Environment variable as KEY=VALUE for this shell only (repeatable). See Computer environment variables in the reference
  • --ttl <DUR> - Lifetime of the session URL, up to 12h (default 1h)
  • -h, --help - Print help

On this page