<p>Daedalus has its own <code>cardano-node</code> instance, so you can specify the node's socket variable and use it for <code>cardano-cli</code> purposes.</p>
<p>First, launch Daedalus, and click on Help &gt; Daedalus Diagnostics. Under the &quot;Core Info&quot; section, the &quot;Daedalus State Directory&quot; specifies the filepath that Daedalus uses on your computer. There should be a socket variable (likely named <code>cardano-node.socket</code>) in this directory which you can point to in your <code>bashrc</code> file.</p>
<p>In your CLI, run: <code>nano ~/.bashrc</code></p>
<p>Now, scroll down and add the following line to the bashrc file:</p>
<p><code>export CARDANO_NODE_SOCKET_PATH=&lt;PATH_TO_SOCKET_IN_DAEDALUS_STATE_DIRECTORY&gt;</code></p>
<p>Exit the bashrc file and run: <code>source ~/.bashrc</code></p>
<p>Make sure cardano-cli is installed and is in your $PATH. You should now be able to run <code>cardano-cli</code> commands using Daedalus' <code>cardano-node</code> instance.</p>

CC BY-SA 4.0
2022-06-20T05:00:41.320Z
Is there a quick command to check if its using deadulus? I have both the repo and Deadlus installed and cant seem to figure out which one node its using (also I have verified all the steps were done exactly as you said and its a beautiful and succinct explanation thanks man).
KryptoKing
CC BY-SA 4.0
2022-06-20T13:43:10.773Z
Not sure if there is a "quick" command for this. `cardano-cli` will connect with whichever node's socket variable is specified in the `bashrc` file. You can probably use commands like `ps aux` or `htop` to query which processes are running, but if both are running simultaneously, I would just check the bashrc file with `nano ~/.bashrc`
zhekson
CC BY-SA 4.0
2022-06-21T12:16:52.403Z
thanks man i think i might turn this into a bash script
KryptoKing
CC BY-SA 4.0
2023-08-30T00:17:39.837Z
Can't seem to run cardano-cli because it says not found, how do you run it? I think it's not found because it's part of nix maybe?
Joseph Astrahan
CC BY-SA 4.0
2022-06-17T13:58:28.877Z
2022-06-17T13:58:28.877Z
zhekson
<p>Go to the Deadalus menu, and you should see a menu item that says &quot;Open a Marlowe terminal&quot;, and a terminal will open with Marlowe Cli installed.</p>

CC BY-SA 4.0
2022-06-17T13:41:26.067Z
is the marlowe terminal diffrent from the CLI or the same thing with a different name?
KryptoKing
CC BY-SA 4.0
2022-06-17T13:39:33.570Z
2022-06-17T13:39:33.570Z
ladamesny
<p>I have a Daedalus wallet running which is a full node so in theory, I should get all the CLI functionality from that one install, how do I access it?</p>

<cardano-cli><cardano-node><node>
How to get CLI access from Daedalus installation?
# How to get CLI access from Daedalus installation?

(Asked by: username_0 on 2022-06-17)

I have a Daedalus wallet running which is a full node so in theory, I should get all the CLI functionality from that one install, how do I access it?

**Tags:** cardano-cli, cardano-node, node

---

## 2 answers

### Answer by username_1 on 2022-06-17. Score: 4 | Accepted answer

Daedalus has its own `cardano-node` instance, so you can specify the node's socket variable and use it for `cardano-cli` purposes.

First, launch Daedalus, and click on Help > Daedalus Diagnostics. Under the "Core Info" section, the "Daedalus State Directory" specifies the filepath that Daedalus uses on your computer. There should be a socket variable (likely named `cardano-node.socket`) in this directory which you can point to in your `bashrc` file.

In your CLI, run: `nano ~/.bashrc`

Now, scroll down and add the following line to the bashrc file:

`export CARDANO_NODE_SOCKET_PATH=`

Exit the bashrc file and run: `source ~/.bashrc`

Make sure cardano-cli is installed and is in your $PATH. You should now be able to run `cardano-cli` commands using Daedalus' `cardano-node` instance.

> **Comments:**
> **username_0**: Is there a quick command to check if its using deadulus? I have both the repo and Deadlus installed and cant seem to figure out which one node its using (also I have verified all the steps were done exactly as you said and its a beautiful and succinct explanation thanks man).  
> **username_1**: Not sure if there is a "quick" command for this. `cardano-cli` will connect with whichever node's socket variable is specified in the `bashrc` file. You can probably use commands like `ps aux` or `htop` to query which processes are running, but if both are running simultaneously, I would just check the bashrc file with `nano ~/.bashrc`  
> **username_0**: thanks man i think i might turn this into a bash script  
> **username_2**: Can't seem to run cardano-cli because it says not found, how do you run it? I think it's not found because it's part of nix maybe?  

---

### Answer by username_3 on 2022-06-17. Score: 0

Go to the Deadalus menu, and you should see a menu item that says "Open a Marlowe terminal", and a terminal will open with Marlowe Cli installed.

> **Comments:**
> **username_0**: is the marlowe terminal diffrent from the CLI or the same thing with a different name?  

---

