# Command 'grin' not found, did you mean: Your a Linux noob -yes, I am

**URL:** <https://forum.grin.mw/t/command-grin-not-found-did-you-mean-your-a-linux-noob-yes-i-am/2269>\
**Category:** Tech Support\
**Created:** [January 15, 2019, 8:53pm UTC](https://forum.grin.mw/t/command-grin-not-found-did-you-mean-your-a-linux-noob-yes-i-am/2269 "2019-01-15T20:53:33Z")\
**Posts on this page:** 14\
**Page:** 1

<div class="post-metadata">

**Author:** ![TaraHadrian](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.grin.mw/tarahadrian/32/590_2.png) [@TaraHadrian](https://forum.grin.mw/u/TaraHadrian)\
**Post date:** [January 15, 2019, 8:53pm UTC](https://forum.grin.mw/t/command-grin-not-found-did-you-mean-your-a-linux-noob-yes-i-am/2269/1 "2019-01-15T20:53:33Z")

</div>

Hey everbody, I have ubuntu as WSL installed yesterday.

Followed the instructions from this page: [https://github.com/mimblewimble/grin/blob/master/doc/build.md](https://github.com/mimblewimble/grin/blob/master/doc/build.md)

- Everything downloaded without errors.
- Even this works fine:  
git clone [https://github.com/mimblewimble/grin.git](https://github.com/mimblewimble/grin.git)  
cd grin  
cargo build --release

But now, I get this (I am a total noob, I dont know how to start the node or install the wallet):

vox@DESKTOP-MAMAXR0:~/grin/target/release$ ls  
build deps examples grin grin.d incremental native  
vox@DESKTOP-MAMAXR0:~/grin/target/release$ grin

Command ‘grin’ not found, did you mean:

command ‘grpn’ from deb grpn  
command ‘gcin’ from deb gcin  
command ‘grn’ from deb groff  
command ‘grind’ from deb wordnet-grind  
command ‘grip’ from deb grip  
command ‘grun’ from deb grun  
command ‘gri’ from deb gri  
command ‘grig’ from deb grig

Try: sudo apt install

vox@DESKTOP-MAMAXR0:~/grin/target/release$ $HOME/grin/target/release/grin

vox@DESKTOP-MAMAXR0:~/grin/target/release$ ls  
build deps examples grin grin.d incremental native

… is everything build correct?

vox@DESKTOP-MAMAXR0:/home$ cd vox  
vox@DESKTOP-MAMAXR0:~$ ls

Downloads grin  
vox@DESKTOP-MAMAXR0:~ cd grin vox@DESKTOP-MAMAXR0:~/grin ls  
CODE\_OF\_CONDUCT.md Cargo.lock LICENSE SECURITY.md chain core etc p2p rustfmt.toml src target wallet  
CONTRIBUTING.md Cargo.toml README.md api config doc keychain pool servers store util  
vox@DESKTOP-MAMAXR0:~/grin$

Help is appreciated

---

<div class="post-metadata">

**Author:** ![kargakis](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.grin.mw/kargakis/32/48_2.png) [@kargakis](https://forum.grin.mw/u/kargakis)\
**Post date:** [January 15, 2019, 9:38pm UTC](https://forum.grin.mw/t/command-grin-not-found-did-you-mean-your-a-linux-noob-yes-i-am/2269/2 "2019-01-15T21:38:25Z")

</div>

> [@TaraHadrian](#):
>
> vox@DESKTOP-MAMAXR0:~/grin/target/release$ grin

Instead of `grin` try `./grin`

---

<div class="post-metadata">

**Author:** ![MerlinsBeard](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.grin.mw/merlinsbeard/32/2863_2.png) [@MerlinsBeard](https://forum.grin.mw/u/MerlinsBeard)\
**Post date:** [January 15, 2019, 10:09pm UTC](https://forum.grin.mw/t/command-grin-not-found-did-you-mean-your-a-linux-noob-yes-i-am/2269/3 "2019-01-15T22:09:18Z")

</div>

The reason you need to write `./grin` instead of simply `grin` is to specify that it is not a global script (which is how it is interpreted with the latter syntax), but a script that resides in the current working directory (represented by `.`).

---

<div class="post-metadata">

**Author:** ![tromp](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.grin.mw/tromp/32/22_2.png) [@tromp](https://forum.grin.mw/u/tromp)\
**Post date:** [January 15, 2019, 11:01pm UTC](https://forum.grin.mw/t/command-grin-not-found-did-you-mean-your-a-linux-noob-yes-i-am/2269/4 "2019-01-15T23:01:20Z")

</div>

Best add the directory containing the grin executable ro your $PATH …

---

<div class="post-metadata">

**Author:** ![TaraHadrian](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.grin.mw/tarahadrian/32/590_2.png) [@TaraHadrian](https://forum.grin.mw/u/TaraHadrian)\
**Post date:** [January 15, 2019, 11:48pm UTC](https://forum.grin.mw/t/command-grin-not-found-did-you-mean-your-a-linux-noob-yes-i-am/2269/5 "2019-01-15T23:48:02Z")

</div>

even ./grin has no effect, hm.

Adding the directory with the grin executable to my Path …~/grin$ echo export PATH=/home/vox/grin/target/release:$PATH works. But does not help.

Have tried it this way: [https://github.com/mimblewimble/docs/wiki/how-to-run-a-grin-node](https://github.com/mimblewimble/docs/wiki/how-to-run-a-grin-node) (downloading: tar xzf grin-v0.5.2-478131988-linux-amd64.tgz), same problem. Maybe it has something to do with WSL.

Nevertheless many thanks

---

<div class="post-metadata">

**Author:** ![FirsArgentum](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.grin.mw/firsargentum/32/736_2.png) [@FirsArgentum](https://forum.grin.mw/u/FirsArgentum)\
**Post date:** [January 15, 2019, 11:57pm UTC](https://forum.grin.mw/t/command-grin-not-found-did-you-mean-your-a-linux-noob-yes-i-am/2269/6 "2019-01-15T23:57:58Z")

</div>

There are better guides now at the below link to install node and wallet using the binaries…if you’re a noob to Linux like I was a few weeks ago and unless you enjoy fiddling around with a lot of unfamiliar commands and guide that assumes you have good tech. understanding it’s prob. a lot less frustrating …😉

> **[mimblewimble/docs](https://github.com/mimblewimble/docs/wiki/How-to-run-a-Grin-node)**
>
> How-to-run-a-Grin-node

---

<div class="post-metadata">

**Author:** ![FirsArgentum](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.grin.mw/firsargentum/32/736_2.png) [@FirsArgentum](https://forum.grin.mw/u/FirsArgentum)\
**Post date:** [January 16, 2019, 12:03am UTC](https://forum.grin.mw/t/command-grin-not-found-did-you-mean-your-a-linux-noob-yes-i-am/2269/7 "2019-01-16T00:03:33Z")

</div>

Oops… Sorry- I see you tried that too ☹

---

<div class="post-metadata">

**Author:** ![TaraHadrian](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.grin.mw/tarahadrian/32/590_2.png) [@TaraHadrian](https://forum.grin.mw/u/TaraHadrian)\
**Post date:** [January 16, 2019, 8:25am UTC](https://forum.grin.mw/t/command-grin-not-found-did-you-mean-your-a-linux-noob-yes-i-am/2269/8 "2019-01-16T08:25:36Z")

</div>

Ya, sadly that does not work, but thanks

---

<div class="post-metadata">

**Author:** ![FirsArgentum](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.grin.mw/firsargentum/32/736_2.png) [@FirsArgentum](https://forum.grin.mw/u/FirsArgentum)\
**Post date:** [January 16, 2019, 9:17am UTC](https://forum.grin.mw/t/command-grin-not-found-did-you-mean-your-a-linux-noob-yes-i-am/2269/9 "2019-01-16T09:17:38Z")

</div>

This guy gives a fairly decent step-by-step guide on how to set things up using a self-build approach rather than using the bnaries - it’s from when testnet 3 was up a couple of months ago but the principles are the same - it helped me get things mostly working…

> **[Getting Set Up With Grin – The Applicationist – Medium](https://medium.com/@applicationist/getting-set-up-with-grin-ce76fa96a5fb)**
>
> In this article, I’m going to describe how to get set up with Grin (TestNet 3)

---

<div class="post-metadata">

**Author:** ![FirsArgentum](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.grin.mw/firsargentum/32/736_2.png) [@FirsArgentum](https://forum.grin.mw/u/FirsArgentum)\
**Post date:** [January 16, 2019, 9:25am UTC](https://forum.grin.mw/t/command-grin-not-found-did-you-mean-your-a-linux-noob-yes-i-am/2269/10 "2019-01-16T09:25:23Z")

</div>

This guide also looks suitably detailed (disclaimer: I have not used it mysefl):

> [@Grin v1.0 Step by Step Miner Guide on Ubuntu \[English version\]](https://forum.grin.mw/t/grin-v1-0-step-by-step-miner-guide-on-ubuntu-english-version/1635):
>
> Grin v1.0 Step by Step Miner Guide on Ubuntu Good luck for all miners Author: ChainMaster Attention⚠️ Only for Grin v1.0 mainnet Operate on Ubuntu 18.04 Command line knowledge required A. Install required softwares and packages Open a terminal session Install the newest RUST v1.31.1 curl https://sh.rustup.rs -sSf | sh; source $HOME/.cargo/env Confirm version of RUST rustc —version (If you already had old version R…

---

<div class="post-metadata">

**Author:** ![Lupin](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.grin.mw/lupin/32/816_2.png) [@Lupin](https://forum.grin.mw/u/Lupin)\
**Post date:** [January 16, 2019, 10:03am UTC](https://forum.grin.mw/t/command-grin-not-found-did-you-mean-your-a-linux-noob-yes-i-am/2269/11 "2019-01-16T10:03:34Z")

</div>

You can simply create eg a `grin` directory in your home directory.  
Then copy your nice compiled grin in `~/grin`  
Make sure to have `~/grin` in your `$PATH`, and that should work.

---

<div class="post-metadata">

**Author:** ![TaraHadrian](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.grin.mw/tarahadrian/32/590_2.png) [@TaraHadrian](https://forum.grin.mw/u/TaraHadrian)\
**Post date:** [January 22, 2019, 3:10pm UTC](https://forum.grin.mw/t/command-grin-not-found-did-you-mean-your-a-linux-noob-yes-i-am/2269/12 "2019-01-22T15:10:33Z")

</div>

That was the problem: Node and wallet do not work with with Windows Subsystem Linux (WSL).  
And I use WSL.

Source: [https://github.com/mozkomor/GrinGoldMiner](https://github.com/mozkomor/GrinGoldMiner)

---

<div class="post-metadata">

**Author:** ![danish](https://avatars.discourse-cdn.com/v4/letter/d/e9a140/32.png) [@danish](https://forum.grin.mw/u/danish)\
**Post date:** [February 19, 2019, 11:07am UTC](https://forum.grin.mw/t/command-grin-not-found-did-you-mean-your-a-linux-noob-yes-i-am/2269/14 "2019-02-19T11:07:29Z")

</div>

try sudo su first  
then run grin  
it would work. This error occurs because your grin folder is in root directory and you cannot access it without superuser privileges  
I had written full node setup and other errors if you are facing any you can check them at

> **[Grin Wallet Setup & Grin Node Setup Errors | Sedn/recieve Grin Coins](http://www.webleone.com/grin-wallet-setup/)**
>
> Grin wallet installtion, grin wallet windows, grin wallet installation errors, Grin Node setup errors, send/recieve funds in grin wallet

---

<div class="post-metadata">

**Author:** ![nikito7](https://avatars.discourse-cdn.com/v4/letter/n/e5b9ba/32.png) [@nikito7](https://forum.grin.mw/u/nikito7)\
**Post date:** [February 20, 2019, 6:56pm UTC](https://forum.grin.mw/t/command-grin-not-found-did-you-mean-your-a-linux-noob-yes-i-am/2269/15 "2019-02-20T18:56:55Z")

</div>

WSL isn’t perfect.  
Use virtualbox.  
And then ssh

use screen or tmux for multi tabs
