Installation
Devark is distributed as an npm package and can be installed globally or used directly withnpx. This guide covers all installation methods and helps you verify your setup.
System Requirements
Before installing Devark, ensure your system meets these requirements:- Node.js version 18 or higher
- One of the following package managers:
- npm (comes with Node.js)
- pnpm
- yarn
- bun
Check your Node.js version with
node --version. If you need to upgrade, visit nodejs.org.Installation Methods
Using npx (Recommended)
The easiest way to use Devark is withnpx, which doesn’t require installation:
Global Installation
For frequent use, install Devark globally to use it anywhere:devark command is available system-wide:
Local Project Installation
You can also install Devark as a dev dependency in your project:Verify Installation
Confirm Devark is installed correctly by checking the version:Troubleshooting
Command not found
If you getdevark: command not found after global installation:
For npm:
Permission errors (Linux/macOS)
If you encounter permission errors during global installation:Windows installation issues
On Windows, you may need to run your terminal as Administrator for global installations. Alternatively, use a package manager like Scoop or Chocolatey to manage Node.js and avoid permission issues.Module not found errors
If Devark runs but shows “Module not found” errors:- Ensure you’re in a Node.js project directory with
package.json - Run
npm installto ensure all dependencies are installed - Try reinstalling Devark
Development Setup
If you want to contribute to Devark or test local changes:Updating Devark
To update to the latest version:Next Steps
Now that Devark is installed, you’re ready to start adding features to your project:Quickstart Tutorial
Follow a step-by-step guide to add Google OAuth to your project

