This simple weather app fetches current weather information using the OpenWeatherMap API and displays it in the console.
-
Clone the repository:
git clone https://github.com/peterabrahamdev/weather-bun-cli.git
-
Install dependencies
bun install -D @types/inquirer
bun install axios
-
Set your OpenWeatherApp API key:
Create a.env
file in the root folder of your project and add your API key:API_KEY=<your_api_key>
Run the application:
bun run index.ts