When I run ghcup --version it says ghcup command not found

Try ghc - -version
![]()
This is what I get when I try that.
And if u try
ghcup install ghc 8.10.2
ghcup set ghc 8.10.2
Check again the ghc version
ghcup - -version

This is what happens
Did u ran the command ?
. "${HOME}/.bashrc"
Try
nano ${HOME}/.bashrc
and show me the last lines with export
Ok, u will need to delete everything except
export CNODE_HOME…
did u tried in the past another guides and it seems u have another lines configured… u are using cntools right?
after that try again
. "${HOME}/.bashrc"
ghcup install ghc 8.10.2
ghcup set ghc 8.10.2
ghcup - -version
Try again
nano ${HOME}/.bashrc
U should see a line with
[ -f “/home/user/.ghcup/env” ] && source “/home/user/.ghcup/env” # ghcu>
export CNODE_HOME=/opt/cardano/cnode
This line isn’t here. On top of that, the only thing at the bottom is the CNODE home line that I was told to leave alone.
Did u created the wallet/registered the pool?? The node is synced?
I didn’t. I wanted to import using a Mnemonic code.
Try again
cd ~/tmp
./prereqs.sh
. "${HOME}/.bashrc"
Now, if u are going back on bash file do u see the line?
nano ${HOME}/.bashrc

This is my complete file. I did not spot a GHCUP but I did see a library path being updated at the bottom.
What OS do u have? Also what provider do u use?
Ubuntu in AWS.
Tryto add those lines at the end (after last fi)
[ -f “/home/your_user/.ghcup/env” ] && source “/home/your_user/.ghcup/env” # ghcu>
export CNODE_HOME=/opt/cardano/cnode
!!! Replace your_user with your user
Replace your_user with your user (I think is cardano?) and adapt it like I sent you




