graphiql-app
graphiql-app copied to clipboard
Ubuntu install instructions
Are there some ubuntu install instructions somewhere? am I missing them? the brew method only works on MacOS, not on ubuntu with linuxbrew.
I'm here also looking for Ubuntu instruction to install.
I found this graphiql-app.AppImage file on the release page.
Download and install to your Ubuntu, I think it should work fine.
Here's my solution. Probably not the most elegant one, but it works. Also, it works for Linux Distros in general, I'm using Arch.
First, create a shell script -- in my case graphiql-app.sh
-- with the following contents:
#!/usr/bin/env bash
NPM_START="/your/path/to/npm start"
GRAPHIQL_PATH=/path/to/graphiql-app/folder
cd $GRAPHIQL_PATH && $NPM_START
Notice that you'll need to change the paths according to your system. To find out your npm
path, you can type which npm
Then you create a .desktop
file inside ~/.local/share/applications/
:
[Desktop Entry]
Comment=
Terminal=false
Name=GraphiQL
Exec=/path/to/your/script/created/above/graphiql-app.sh
Type=Application
Icon=/graphiql-app path/build/icon.ico
StartupWMClass=graphiql
This way you'll have both CLI shortcuts (assuming your graphiql-app.sh
is somewhere inside your $PATH
and a GUI shortcut.
GNOME3 Example:
Before the guide from @trinaldi will work (see above), remember to run npm install
and npm run build
- otherwise you will get errors :+1:
Anyone mind turning this into a section in the README please? Thank you.