# Remove an in-use palette in command line to install a compatible successor

**URL:** <https://discourse.nodered.org/t/remove-an-in-use-palette-in-command-line-to-install-a-compatible-successor/56319>\
**Category:** General\
**Created:** [8 January 2022 17:05 UTC](https://discourse.nodered.org/t/remove-an-in-use-palette-in-command-line-to-install-a-compatible-successor/56319 "2022-01-08T17:05:33Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![knaxman](https://avatars.discourse-cdn.com/v4/letter/k/d07c76/32.png) [@knaxman](https://discourse.nodered.org/u/knaxman)\
**Post date:** [8 January 2022 17:05 UTC](https://discourse.nodered.org/t/remove-an-in-use-palette-in-command-line-to-install-a-compatible-successor/56319/1 "2022-01-08T17:05:33Z")

</div>

Hi together,

I have Alexa-remote2 in operation and want to upgrade to a successor.  
[https://flows.nodered.org/node/node-red-contrib-alexa-remote2-applestrudel](https://flows.nodered.org/node/node-red-contrib-alexa-remote2-applestrudel)

The description shows an option in command line which seems not to need the delete of alle relevant nodes.

If I try that I get the (expected) message that the palette is in use.

root@raspberrypi:/home/pi# node-red admin remove node-red-contrib-alexa-remote2-v2  
400: Typ in Verwendung: alexa-remote-account

Is there any way without the need of deleting the used nodes, since the successor seems to work 1:1?

---

<div class="post-metadata">

**Author:** ![ghayne](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/ghayne/32/39_2.png) [@ghayne](https://discourse.nodered.org/u/ghayne)\
**Post date:** [8 January 2022 17:26 UTC](https://discourse.nodered.org/t/remove-an-in-use-palette-in-command-line-to-install-a-compatible-successor/56319/2 "2022-01-08T17:26:07Z")

</div>

In the node description, on the page you linked above, there is a section "Migration" which describes exactly what you need to do.

---

<div class="post-metadata">

**Author:** ![knolleary](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/knolleary/32/3_2.png) [@knolleary](https://discourse.nodered.org/u/knolleary)\
**Post date:** [8 January 2022 17:31 UTC](https://discourse.nodered.org/t/remove-an-in-use-palette-in-command-line-to-install-a-compatible-successor/56319/3 "2022-01-08T17:31:36Z")

</div>

I don't think those migration instructions are correct. `node-red admin remove` will not remove an in-use module.

But you will be able to do it with npm.

In you Node-RED user directory, `~/.node-red` run:

```auto
npm remove node-red-contrib-alexa-remote2-v2
npm install node-red-contrib-alexa-remote2-applestrudel

```

Then restart Node-RED.

---

<div class="post-metadata">

**Author:** ![ghayne](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/ghayne/32/39_2.png) [@ghayne](https://discourse.nodered.org/u/ghayne)\
**Post date:** [8 January 2022 17:33 UTC](https://discourse.nodered.org/t/remove-an-in-use-palette-in-command-line-to-install-a-compatible-successor/56319/4 "2022-01-08T17:33:13Z")

</div>

Good to know Nick, I plan doing it myself!

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [22 January 2022 17:33 UTC](https://discourse.nodered.org/t/remove-an-in-use-palette-in-command-line-to-install-a-compatible-successor/56319/5 "2022-01-22T17:33:24Z")

</div>

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.
