SLEK AI CLI
Install & usage guide

Chat with AI from your terminal — Google sign-in, eight models, and automatic web search when needed. The VS Code extension uses a separate API key; the CLI authenticates with a Firebase token (free chat).

npm install -g slek-ai-cli

Requirements

  • Node.js 18 or newer (nodejs.org)
  • npm (included with Node)
  • Internet connection
  • Google account (for sign-in)

Works on Windows, macOS, and Linux.

Install

Method 1 — npm (all platforms)

npm install -g slek-ai-cli

Verify the install:

slek --version

Method 2 — Windows one-line installer

PowerShell (admin not required):

irm https://slek-ai-portal.vercel.app/install.ps1 | iex

The installer tries to fix npm on your PATH. Open a new terminal and run slek.

Sign in (Google)

  1. Run in your terminal:
slek login
  1. Your browser opens — choose a Google account and sign in
  2. When you see “Login Successful”, return to the terminal
  3. Start chatting: slek
Where is the token stored?
Windows: %APPDATA%\.slek-auth.json
macOS/Linux: ~/.slek-auth.json

Other auth commands

CommandAction
slek statusCheck whether you are signed in
slek logoutSign out and delete the stored token

Main commands

CommandDescription
slek loginSign in with Google (first time or new session)
slekStart interactive AI chat
slek logoutSign out
slek statusShow the current account

In chat mode, type any question. Commands start with / (see list below).

Chat commands (while slek is running)

CommandAction
/helpList all commands
/modelSwitch AI model (1–8)
/clearClear chat history
/historyView previous messages
/saveSave chat to chat-*.txt
/infoUser, model, and API URL
/exit or /quitExit the CLI

For news, scores, weather, and similar topics, the CLI may automatically use web search.

Available AI models

Run /model and enter a number:

#ModelBest for
1Gemma 3n E4BGeneral chat
2Llama 3.3 70BStrong text
3Llama 3.2 90B VisionVision / images
4Llama 3.2 11B VisionLighter vision
5Llama 3.1 70BFast and balanced
6Llama 3.2 3BQuick replies
7Llama 3.2 1BLightest option
8Llama 4 Maverick 17BDefault (recommended)

Quick start

1 npm install -g slek-ai-cli
2 slek login
3 slek