# nodus open

> Open a resource's console page, or a port of its container, in the browser

Source: https://nodus-platform-site.pages.dev/docs/reference/cli/nodus_open/
Build revision: 211ad9f836655b1c3a2668c4693e442471f28614

## nodus open

Open a resource’s console page, or a port of its container, in the browser

### Synopsis

Without a port flag, open shows the resource’s console page. With –vscode, –jupyter or –port, it mints a preview of that container port (a single-use link valid for 60 seconds that signs the browser in for an hour) and opens it.

```plaintext
nodus open KIND/NAME [--vscode | --jupyter | --port N] [flags]
```

### Examples

```plaintext
  nodus open job/train
  nodus open ws/lab --vscode
  nodus open sb/dev --port 3000 --print
```

### Options

```plaintext
  -h, --help       help for open
      --jupyter    Open Jupyter (port 8888)
      --port int   Open this container port
      --print      Print the link instead of opening a browser
      --vscode     Open VS Code in the browser (port 8080)
```

### Options inherited from parent commands

```plaintext
      --context string   Context from the config file to use
      --org string       Organization (selects the context for that org)
  -p, --project string   Project to work in
  -v, --verbose          Log each API request (never credentials)
```

### SEE ALSO

* [nodus](https://nodus-platform-site.pages.dev/docs/reference/cli/nodus/) - Run compute Jobs on Nodus

### Tested examples

These invocations run in CI against the CLI’s fake API.

Terminal window

```sh
nodus open job/train --print
nodus open job/train
nodus open sb/dev --vscode --print
nodus open sb/dev --jupyter --print
nodus open sb/dev --port 3000
nodus open job/train --port 6006
```
