Installation
Get started with Teenode by installing the CLI tool. The CLI is the primary way to interact with the Teenode platform.
Install via npm
The easiest way to install the Teenode CLI is through npm:
npm install -g teenode-cliVerify the installation:
teenode --versionInstall via Homebrew (macOS)
If you’re on macOS, you can install via Homebrew:
brew tap teenode/tap
brew install teenode-cliInstall via Binary
Download the latest binary for your platform from our releases page:
# Linux
curl -L https://github.com/teenode/cli/releases/latest/download/teenode-linux-amd64 -o teenode
chmod +x teenode
sudo mv teenode /usr/local/bin/
# macOS
curl -L https://github.com/teenode/cli/releases/latest/download/teenode-darwin-amd64 -o teenode
chmod +x teenode
sudo mv teenode /usr/local/bin/
# Windows (PowerShell)
Invoke-WebRequest -Uri https://github.com/teenode/cli/releases/latest/download/teenode-windows-amd64.exe -OutFile teenode.exeSystem Requirements
- Node.js 18 or later (for npm installation)
- macOS, Linux, or Windows
- Terminal or command line access
Verify Installation
Run the following command to ensure the CLI is properly installed:
teenode doctorThis will check your system configuration and verify that everything is set up correctly.
Shell Completion (Optional)
Enable shell completion for a better CLI experience:
Bash
teenode completion bash > /etc/bash_completion.d/teenode
source ~/.bashrcZsh
teenode completion zsh > "${fpath[1]}/_teenode"
source ~/.zshrcFish
teenode completion fish > ~/.config/fish/completions/teenode.fish
source ~/.config/fish/config.fishNext Steps
Now that you have the CLI installed, continue to the Quickstart Guide to create your first project.