Toolforge Docs
DocsGuidesDeployment

Deployment

Learn how to deploy your Tool Forge application using the CLI

This guide walks you through deploying your Tool Forge project to production using the CLI.

Prerequisites

Before deploying, ensure you have:

  • A Tool Forge account
  • A Tool Forge project initialized in your directory

Deployment Process

Authenticate with Tool Forge

Run the login command to authenticate your CLI with Tool Forge:

bunx toolforge login

This command will:

  1. Generate a unique verification code
  2. Open your browser to the Tool Forge authentication page

If your browser doesn't open automatically, copy the URL displayed in your terminal and paste it into your browser.

Tool Forge login screen

Verify the code shown in your terminal:

Verification code input

Once you approve the authentication request, you'll see a confirmation:

Login approved confirmation

Deploy Your Application

Once authenticated, deploy your application with a single command:

bunx toolforge deploy

The CLI will:

  • Bundle your application
  • Upload your code to Tool Forge
  • Provision necessary resources
  • Provide you with a deployment URL

On this page