The CLI is your primary interface when doing local development with Nhost.
npm install -g nhost
To quickly get started, run the following commands:
nhost login # Login cd <PROJECT> # Change directory to your project nhost init # Only run once to initiate project locally nhost dev # Start local Nhost backend nhost link # Link with existing Nhost project nhost env [ls, pull] # List or pull environment variables from Nhost
- [x] MacOS
- [x] Linux
- [ ] Windows (coming soon)
For details on how to use Nhost CLI, check out our documentation.