JSPM

  • Created
  • Published
  • Downloads 71433
  • Score
    100M100P100Q158064F
  • License SEE LICENSE IN LICENSE

CLI for managing e2b environments

Package Exports

    This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@e2b/cli) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

    Readme

    e2b CLI (WIP)

    Command line interface for e2b.

    Installation

    npm install -g @e2b/cli

    Then you can use the CLI with

    e2b --help

    You will need to authenticate to use the e2b CLI.

    e2b login
    Authenticate without the ability to open browser

    To authenticate without the ability to open browser, you can provide E2B_ACCESS_TOKEN as an environment variable. Obtain your E2B_ACCESS_TOKEN from at e2b.dev/docs.

    E2B_ACCESS_TOKEN=sk_e2b_... e2b login

    Commands

    🔜 All commands can be called with a --path <path-to-dir> flag that changes the directory where the command will be called, without the need to call cd.

    -V, --version    Display e2b CLI version
    -h, --help       display help for command
    help [command]   display help for command
    
    login            Login to e2b
    logout           Logout of e2b
    
    env|environment  Manage e2b environments
      create|cr [options]      Create new environment and e2b.json config
      list|ls                  List environments
      shell|cn [options] [id]  Connect terminal to environment