Coinbase Developer Documentation home page
Search...
⌘K
Ask AI
Get help
Dev portal
Dev portal
Search...
Navigation
Staking with NEAR CLI
1. Install NPM and NEAR-CLI
Docs
API Reference
SDKs
GET STARTED
Home
Quickstart
Use AI Tooling
Supported Networks
Authentication
Demo Apps
CDP Portal
Changelog
WALLETS
Comparing Our Wallet Products
Server Wallet
v2
Server Wallet
v1
Embedded Wallet
PAYMENTS
Send & Receive
Onramp & Offramp
x402
TRADING
Trade API
Beta
BASE TOOLS
Base Account
Paymaster
Appchains
Onchainkit
DATA
Introduction
Node
Address History
Token Balances
Beta
Webhooks
Alpha
Smart Contract Events
Verifications
AI
AgentKit
STAKING
Staking API
Staking Delegation Guides
Welcome
Safety Precautions
Coinbase Staking FAQ
Aleo
Aptos
Avalanche
Axelar
Cardano
Celestia
Cosmos
Eigenlayer
Near
Near Delegation Guide
Staking with NEAR Web Wallet
Staking with NEAR CLI
Staking with NEAR CLI
1. Install NPM and NEAR-CLI
2. Stake to Coinbase with NEAR CLI
Near FAQ
Polkadot
Polygon
Solana
Sui
FAUCET
Using Faucets
CONSUMER APIS
Coinbase App
Coinbase Wallet
Coinbase Mesh
BUSINESS APIS
Coinbase Business
Coinbase Commerce
INSTITUTIONAL APIS
Overview
Coinbase Exchange
Coinbase International Exchange
Coinbase Prime
Coinbase Derivatives
Staking with NEAR CLI
1. Install NPM and NEAR-CLI
Copy page
Copy page
Install NPM and NEAR-CLI
Download and install the node.js most compatible with your system:
https://nodejs.org/en/download/
. We recommend the LTS version.
Confirm the installation by running this command in your terminal:
Copy
Ask AI
node
-v
A successful installation returns a version number.
Install
Near-shell
:
Copy
Ask AI
sudo
npm
install
-g
near-cli
near
--version
A successful installation returns a version number.
Was this page helpful?
Yes
No
Staking with NEAR CLI
Previous
2. Stake to Coinbase with NEAR CLI
Next
Assistant
Responses are generated using AI and may contain mistakes.