How to Install Nhost on Kali Linux Latest
Nhost is a powerful serverless backend that supports PostgreSQL, Hasura GraphQL engine, and auth with JWT and OAuth. In this tutorial, we will show you step-by-step how to install Nhost on Kali Linux.
Prerequisites
- Kali Linux must be installed with the latest updates.
- Node.js and npm should be installed on Kali Linux.
Step 1 - Install Docker on Kali Linux
To run Nhost, we need to install Docker. Run the following commands to install Docker on Kali Linux.
sudo apt-get update
sudo apt-get install apt-transport-https ca-certificates curl gnupg-agent software-properties-common -y
curl -fsSL https://download.docker.com/linux/debian/gpg | sudo gpg --dearmor -o /usr/share/keyrings/docker-archive-keyring.gpg
echo \
"deb [arch=amd64 signed-by=/usr/share/keyrings/docker-archive-keyring.gpg] https://download.docker.com/linux/debian \
$(lsb_release -cs) stable" | sudo tee /etc/apt/sources.list.d/docker.list > /dev/null
sudo apt-get update
sudo apt-get install docker-ce docker-ce-cli containerd.io -y
Step 2 - Install Nhost via NPM
In this step, we will install Nhost via npm.
npm i -g nhost
Step 3 - Initialize Nhost
In this step, we will initialize Nhost.
nhost init
This command will ask you to enter the project name, then it will create a new project directory and initialize it with Nhost.
Step 4 - Start Nhost
In this step, we will start Nhost.
nhost dev
This command will start Nhost on your machine. You can access Nhost on your browser using the URL http://localhost:3000.
Congratulations! You have successfully installed Nhost on Kali Linux Latest.