ReferenceCLI

nevia new

Create a computer in the selected workspace

nevia new [FLAGS] [NAME]

  • Aliases: create

Arguments

  • [NAME] - Name of the new computer (generated if omitted)

Options

  • --image <REF> - Image to run, one that nevia images lists (the platform default if omitted)

  • -p, --https-port <MAPPING> - HTTPS port mapping PUBLISHED[:TARGET][/h2], e.g. 443:3000/h2 (repeatable; published 443 or 8000-30000). See Computer ports and URLs in the reference

  • -e, --env <KEY=VALUE> - Environment variable as KEY=VALUE, e.g. API_KEY={{secrets.API_KEY}} (repeatable). See Computer environment variables in the reference

  • --project <PROJECT> - Project to create it in, by id or name, or none. If omitted, none for a workspace member, else your only editable project there (several need the flag)

  • --protected - Refuse deletion until cleared with nevia set --protected false

  • --wait - Wait until the work finishes or fails

  • --timeout <DURATION> - How long --wait waits before exiting 6 (e.g. 10m, 300s)

    Default: 10m

  • -h, --help - Print help

On this page