How to install the Picsart CLI on Mac, Linux, and Windows

What you'll learn
What is the Picsart CLI?
Common use cases
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

Ready to authenticate?
You've installed the CLI. Now sign in and generate your first image in under a minute.
Authenticate CLI