mwala create-project <projectName> ? Create a new MVC project. mwala app.mjs ? Start the main application file. Database Commands: - mwala create-db ? Create database. - mwala create-table <name> ? Create a table. - mwala drop-table <name> ? Drop a table. - mwala migrate all ? Run migrations. - mwala rollback all ? Undo last migration. Code Generation: - mwala generate model <name> - mwala generate controller <name> - mwala generate route <name> - mwala generate view <name> - mwala generate midware <name> mwala serve ? Start local server. mwala help ? List all available commands.
MwalaJS is a lightweight and modular JavaScript framework designed for building scalable server-side applications using modern Node.js features.
Install MwalaJS globally to use CLI tools:
npm install -g mwalajs
If you're using it in a specific project, install locally:
npm install mwalajs
Note: In case of errors regarding missing fs-extra
, you can install it manually:
npm install -g fs-extra
Note 2: NOW MWALAJS IS ONE OF NPM PACKAGE NO NEED TO DOWNLOAD .ZIP, .RAR OR .EXE FILES
, you can install it BY npm install -g mwalajs:
also no need to run mwala init in version 1.0.4 or above
before any create a .json file by running npm init
make sure in your .json file you have "dependencies": {
"mwalajs": "^1.0.5"
}
and "type": "module", these are more important to be set before run mwala serve
Once installed globally, you can use the CLI command:
mwala
Or check the version:
mwala -v
Command | Description |
---|---|
mwala create-project |
Create a new project using MwalaJS |
mwala init |
initialization of mwalajs |
mwala serve |
Run the project in development mode |
mwala help |
Display help instructions |
npm audit
regularly.MIT License © 2025 Hekima Mwala and MwalaJS Team
Version: Latest
Official Website: https://mwalajs.biasharabora.com
MwalaJS.zip
MwalaJS.rar
mwalajs
. Copy or cut this folder.mwalajs
folder inside.mwala
command from any terminal window.Path
and click Edit.C:\Program Files\mwalajs
cmd
? Enter).mwala
mwala
is not recognized:
mwalajs
folder contains a file like mwala.mjs
.Issue | Solution |
---|---|
mwala is not recognized |
Recheck environment path, restart CMD |
File won’t extract | Install 7-Zip or WinRAR |
Node.js not found | Download from Node.js official site |
MwalaJS.zip
MwalaJS.tar.gz
cd ~/Downloads
unzip MwalaJS.zip
tar -xvzf MwalaJS.tar.gz
sudo mv mwalajs /opt/
sudo chmod +x /opt/mwalajs/mwala.mjs
sudo ln -s /opt/mwalajs/mwala.mjs /usr/local/bin/mwala
mwala
If everything is set up correctly, you’ll see a welcome message or command list.
Issue | Solution |
---|---|
mwala: command not found |
Check if the symlink is correct: ls -l /usr/local/bin/mwala |
Node.js not installed | Install Node.js using:
sudo apt install nodejs npm |
Permission denied | Try using sudo or ensure the file has executable permission |