Skip to main content
Get up and running with nodepick.ai in less than a minute. Using the np command-line tool is our recommended method for deploying and managing compute nodes directly from your terminal.

Table of Contents


Follow these steps to install the CLI, authenticate your account, provision your first node, and connect via SSH.
1

Install the CLI

Install the np CLI using uv (recommended) or pip. Learn more about uv:
2

Authenticate Your Account

If you don’t have an API key yet, create one first:
  1. Register at nodepick.ai and log in.
  2. Set up your credit card in the dashboard.
  3. In the left-hand navigation, open Developer, then go to API Keys.
  4. Click Generate, give the key a name, and copy and save the key immediately — it won’t be shown again.
Configure the CLI by saving your API key securely in the OS keyring with np auth configure:
When prompted, enter your API key. Alternatively, you can set the NODEPICK_API_KEY environment variable in your shell.Verify access and display your account details:
For more details on API key management, see Authentication.
3

Add an SSH Public Key (Recommended)

Generate and Register an SSH public key so it is automatically injected into new nodes:
4

Deploy Your First Node

Create a new compute node with a single command:
Your node is provisioned and ready in seconds.
5

Connect via SSH

List your nodes to retrieve the SSH connection command:
Alternatively, inspect detailed information for your specific node:
Run the printed SSH command to connect to your node:
For compute nodes behind a private IP address, the -p is required.
6

Clean Up

When you finish, delete the node to terminate billing immediately:

CLI Cheat Sheet


Quick Start with Python SDK

If you prefer managing compute programmatically in your code or automated pipelines, use our Python SDK or HTTP API.
1

Install the Python SDK

Install the nodepick.ai Python SDK using pip:
The SDK is compatible with Python 3.8 and above.
2

Create Your First Node

Initialize the client with your API key and call create_node(). The method returns a node object containing the node’s ID and initial status:
Your node is live within seconds of this call returning.
3

Connect via SSH

Call get_node_details() with your node ID to retrieve SSH credentials:
Use the SSH connection command from details to connect from your terminal:
You will land on your dedicated Linux node. Use sudo to gain root access.
4

Clean Up

When you finish, delete the node to stop billing immediately:
The node and all stored data are removed as soon as deletion completes.

Complete Python Example

The script below demonstrates the full lifecycle using a with block to close the client automatically:

Next Steps

CLI Reference

Explore all CLI subcommands, global options, and output formats.

API Reference

Explore the full HTTP API endpoints and SDK methods.