System Requirements
- Node.js: Version 16.x or higher
- npm: Included with Node.js
- Operating System: macOS, Linux, or Windows
Installation
Install the 2501 CLI globally to access it from anywhere:@2501
command available system-wide.
Verify Installation
Confirm the CLI is installed:Next Steps
After installation, authenticate the CLI with your 2501 account:- Get your API key from accounts.2501.ai
- Follow the Authentication guide
- Start using the CLI with the Commands reference
Updating
Update to the latest version:Troubleshooting
Permission Errors on macOS/Linux If you encounter permission errors, you may needsudo
:
sudo
by following npm’s documentation.
Command Not Found
If the @2501
command isn’t recognized after installation, verify the installation completed successfully. Check that npm’s global bin directory is in your PATH, restart your terminal, and try reinstalling if needed.
Windows Installation Issues
On Windows, you may need to run your terminal as Administrator, use PowerShell or Command Prompt instead of Git Bash, or ensure npm is properly configured for global installations.
For additional support, visit our Discord community or contact hello@2501.ai.