mirror of
https://github.com/hasura/graphql-engine.git
synced 2024-12-17 20:41:49 +03:00
36 lines
781 B
ReStructuredText
36 lines
781 B
ReStructuredText
Uninstalling the Hasura CLI
|
|
===========================
|
|
|
|
.. contents:: Table of contents
|
|
:backlinks: none
|
|
:depth: 1
|
|
:local:
|
|
|
|
Uninstall a binary
|
|
------------------
|
|
|
|
If you installed the binary directly on your system (probably through shell script),
|
|
delete the binary file from its installation location.
|
|
|
|
.. code-block:: bash
|
|
|
|
# By default, the binary is installed at /usr/local/bin/hasura
|
|
$ which hasura
|
|
/usr/local/bin/hasura
|
|
|
|
# use sudo if required
|
|
$ rm /usr/local/bin/hasura
|
|
|
|
|
|
Uninstall an npm package
|
|
------------------------
|
|
|
|
If you installed the CLI as an npm package, use npm (or yarn).
|
|
|
|
.. code-block:: bash
|
|
|
|
# if installed as a project dependency
|
|
npm uninstall hasura-cli
|
|
|
|
# if installed as a global package
|
|
npm uninstall --global hasura-cli |