Gradient Docs
Gradient HomeHelp DeskCommunitySign up free
Gradient Next
Gradient Next
  • About Gradient
  • Get Started
    • Quick Start
      • Install the Gradient CLI
    • Core Concepts
    • Organizing Projects
      • Secrets
      • Storing an API key as a Secret
    • Tutorials
      • Gradient Notebooks Tutorial
      • Gradient Workflows Tutorial
      • Gradient Deployments Tutorial
    • FAQ
    • Common Errors
  • Gradient Platform
    • Gradient Notebooks
      • Runtimes
      • Files and storage
      • Machines
      • Terminal
      • Shortcuts
      • Sharing
      • TensorBoard
      • Run on Gradient
    • Gradient Workflows
      • Basic operations
      • Understanding Inputs & Outputs
      • Workflow Spec
      • Gradient Actions
      • Environment Variables
      • Using YAML for Data Science
    • Gradient Deployments
      • Basic operations
      • Deployment Spec
  • Artifacts
    • Container Management
      • Custom Containers
    • Data
      • Versioned Data
        • Public Datasets Repository
        • Storage Providers
      • Persistent Storage
    • Models
      • Managing Models
        • Model Types & Metadata
        • Public Models
    • Code
    • Metrics
      • Push Metrics
      • View & Query Metrics
  • Gradient Cluster
    • Overview
      • Setup
        • Managed Private Clusters
        • Self-Hosted Clusters
          • Pre-installation steps
          • Gradient Installer CLI
          • Terraform
            • Pre-installation steps
            • Install on AWS
            • Install on bare metal / VMs
            • Install on NVIDIA DGX
          • Let's Encrypt DNS Providers
          • Updating your cluster
      • Usage
  • More
    • SDK
      • Projects Client
      • Models Client
      • Deployments Client
      • Workflows Client
      • SDK Examples
      • Full SDK Reference
    • Machine Types
      • Machine Tiers
      • Free Machines (Free Tier)
    • Your Account
      • Teams
        • Creating a Team
        • Upgrading to a Team Plan
      • Hotkeys
      • Billing & Subscriptions
        • Storage Billing
      • Public Profiles
    • Release notes
    • Roadmap
Powered by GitBook
On this page
  • Introduction to notebook terminal
  • How to gain terminal access in Gradient Notebooks
  • How to use bash in the terminal
  1. Gradient Platform
  2. Gradient Notebooks

Terminal

This guide explains how to use the terminal in Gradient Notebooks

PreviousMachinesNextShortcuts

Last updated 3 years ago

Introduction to notebook terminal

Terminals are useful for interacting with the underlying OS environment to perform a variety of tasks such as installing packages, organizing files, and more.

In Gradient Notebooks, the terminal has root access to the underlying machine, which can be useful for a variety of tasks.

How to gain terminal access in Gradient Notebooks

To open a terminal, use the Terminal icon in the sidebar. The notebook must be in the Running state.

To create a new terminal instance, use the + button in the left sidebar.

There is no limit on the number of terminal windows that may run simultaneously.

How to use bash in the terminal

Some users report that using bash in the terminal improves their work and reduces unexpected errors.

To use bash, enter the following command in the default shell:

bash

The terminal is now using bash.

The terminal is currently available to Pro and Growth plan subscribers. provides a more detailed description of what else is available on upgraded plans, including superior free instance types and availability, additional storage, and more.

Gradient Pricing
The terminal is available on Pro and Growth plan subscriptions in Gradient.
The Terminal button on the left sidebar provides terminal access.
Use the the + button in the terminal to create a new terminal window.
To use bash in the terminal enter the bash command in the default terminal shell.