npm install -g graphiql graphiql
This will install GraphiQL globally on your machine, allowing you to run it from anywhere. graphiql install