How to install the Picsart CLI on Mac, Linux, and Windows
Install gen-ai CLI in under 3 minutes and start generating images, video, and audio from your terminal.
- Category: CLI
- Reading time: 3 min
- Difficulty: Beginner
What you'll learn
- Install the CLI using shell script, PowerShell, or npm
- Verify your installation works correctly
- Understand which install method to use for your operating system

Install the CLI step by step
STEP 1: Choose your install method
- On macOS/Linux: Copy the shell install command from picsart.com/cli
- On Windows: Copy the PowerShell install command, or use npm install -g @picsart/gen-ai
STEP 2: Run the install command
Paste the command into your terminal and press Enter:
- Shell script (Mac/Linux): Downloads and installs the CLI automatically
- PowerShell (Windows): Downloads and adds gen-ai to your PATH
- npm: Installs globally if you already have Node.js
- Installation takes 10-30 seconds depending on your connection speed

STEP 3: Verify the installation
Close and reopen your terminal, then run gen-ai --version. You should see a version number like 1.0.0. If you see 'command not found', restart your terminal or check that the install script completed without errors.
STEP 4: Confirm everything works
Check that the CLI responds correctly: Not working? Try running the install command again, or check that your PATH includes the CLI directory.
- Run gen-ai --help to see all available commands
- Verify you see commands like generate, login, and pricing
- If you see a help menu, you're ready to authenticate and start generating
Tips for best results
Use npm if you already have Node.js
If you're a developer with Node installed, npm install -g @picsart/gen-ai is the fastest method. You can update later with npm update -g @picsart/gen-ai.
Restart your terminal after installing
The install script modifies your PATH, but your current terminal session won't pick up the change until you close and reopen it.
Check your shell config if gen-ai isn't found
If the command still doesn't work after restarting, the installer may have added the PATH line to the wrong config file. Check ~/.zshrc (Mac) or ~/.bashrc (Linux) and add the gen-ai path manually if needed.
Frequently asked questions
- No dependencies required for the shell or PowerShell install methods. If you choose the npm method, you'll need Node.js 18 or later installed first. The shell script installs a standalone binary that works on any modern Mac or Linux system. Windows users can use PowerShell or npm — both work equally well.
