---
title: "@vltpkg/url-open"
description: "Documentation for the vlt client and the vlt registry."
url: "https://docs.vlt.io/client/api-reference/url-open"
image: "https://docs.vlt.io/og/client/api-reference/url-open"
lang: "en"
---

# @vltpkg/url-open

# @vltpkg/url-open

Open URLs using the system default web browser, for logging into registries and minting OTP tokens and such.

**[Usage](https://docs.vlt.io/client/api-reference/url-open#usage)**

## Overview

Give it a URL, and it'll try to open it in the user's default web browser.

## Usage

```js
import { urlOpen } from '@vltpkg/url-open'

await urlOpen('https://example.com/')

// url has now been open, or an error was thrown
```
