1.0.1 • Published 2 years ago
weather-simple-cli v1.0.1
Weather Simple CLI
With this package you can check the weather in your city through the terminal
Prerequisites
This project requires NodeJS (version 14 or later) and NPM. Node and NPM are really easy to install. To make sure you have them available on your machine, try running the following command.
$ npm -v && node -v
6.4.1
v8.16.0
Installation
Start with cloning this repo on your local machine:
$ https://github.com/marknik139/weather-simple-cli.git
$ cd weather-simple-cli
To install and set up the library, run:
$ npm install -g weather-simple-cli
Or if you prefer using Yarn:
$ yarn global add weather-simple-cli
Get a free API Key at openweathermap.com
Usage
Set api token
$ weather -t [API_KEY]
Set your city
$ weather -s [CITY]
Run the app
$ weather
License
ISC License