Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

Cloudron Forum

Apps | Demo | Docs | Install
  1. Cloudron Forum
  2. App Packaging & Development
  3. HowTo install Cloudron CLI on Windows

HowTo install Cloudron CLI on Windows

Scheduled Pinned Locked Moved App Packaging & Development
windowscloudron-clihowtoinstall
11 Posts 7 Posters 2.1k Views 6 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • JOduMonTJ Offline
      JOduMonTJ Offline
      JOduMonT
      wrote on last edited by JOduMonT
      #1

      More by curiosity than actually dwelling to use it, I figure I might be not the only fool who would try to run cloudron-cli on Windows (10).

      basically

      1. you install nodejs (hint: you don't need the chocolatey)
      2. then you could npm install -g cloudron
      3. to exectute cloudron.ps1, you have to allow unsigned PowerShellScript; by applying this policy:
        Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope LocalMachine through a Windows PowerShell as Administrator.

      and voilà!

      98bbaf06-a7db-4685-a48e-113c5a1c437f-image.png

      L M murgeroM 3 Replies Last reply
      2
      • JOduMonTJ JOduMonT

        More by curiosity than actually dwelling to use it, I figure I might be not the only fool who would try to run cloudron-cli on Windows (10).

        basically

        1. you install nodejs (hint: you don't need the chocolatey)
        2. then you could npm install -g cloudron
        3. to exectute cloudron.ps1, you have to allow unsigned PowerShellScript; by applying this policy:
          Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope LocalMachine through a Windows PowerShell as Administrator.

        and voilà!

        98bbaf06-a7db-4685-a48e-113c5a1c437f-image.png

        L Offline
        L Offline
        LoudLemur
        wrote on last edited by
        #2

        @jodumont You are awesome! 😘

        1 Reply Last reply
        0
        • nebulonN Offline
          nebulonN Offline
          nebulon
          Staff
          wrote on last edited by
          #3

          Thanks for sharing. I have no clue about powershell, but why is this required in the first place? Does one need to sign executables somehow on win10 for this to work without such settings?

          JOduMonTJ 1 Reply Last reply
          0
          • JOduMonTJ JOduMonT

            More by curiosity than actually dwelling to use it, I figure I might be not the only fool who would try to run cloudron-cli on Windows (10).

            basically

            1. you install nodejs (hint: you don't need the chocolatey)
            2. then you could npm install -g cloudron
            3. to exectute cloudron.ps1, you have to allow unsigned PowerShellScript; by applying this policy:
              Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope LocalMachine through a Windows PowerShell as Administrator.

            and voilà!

            98bbaf06-a7db-4685-a48e-113c5a1c437f-image.png

            M Offline
            M Offline
            msbt
            App Dev
            wrote on last edited by
            #4

            the same works in the regular cmd.exe (if you start it with admin credentials) without the PS stuff 😉

            1 Reply Last reply
            1
            • nebulonN nebulon

              Thanks for sharing. I have no clue about powershell, but why is this required in the first place? Does one need to sign executables somehow on win10 for this to work without such settings?

              JOduMonTJ Offline
              JOduMonTJ Offline
              JOduMonT
              wrote on last edited by
              #5

              @nebulon said in HowTo install Cloudron CLI on Windows:

              Does one need to sign executables somehow on win10 for this to work without such settings?

              I have no clue, I'm a Linux Guy 😛 LOL

              1 Reply Last reply
              0
              • L Offline
                L Offline
                LoudLemur
                wrote on last edited by
                #6

                Lets stay with this a little longer, as we might be on the brink of enabling a ton of M$FT users to get on board with Cloudron...

                We have just seen how to install Cloudron on Windows. There are a few more steps that would need to be shown. (This would be a good use case for a video explainer.)

                • Associating the Cloudron instance with a domain name
                • Getting the Cloudron through the home's router to the wide world
                • Some basic hardening of the deployment

                Could somebody please outline these steps?

                ? 1 Reply Last reply
                0
                • L LoudLemur

                  Lets stay with this a little longer, as we might be on the brink of enabling a ton of M$FT users to get on board with Cloudron...

                  We have just seen how to install Cloudron on Windows. There are a few more steps that would need to be shown. (This would be a good use case for a video explainer.)

                  • Associating the Cloudron instance with a domain name
                  • Getting the Cloudron through the home's router to the wide world
                  • Some basic hardening of the deployment

                  Could somebody please outline these steps?

                  ? Offline
                  ? Offline
                  A Former User
                  wrote on last edited by
                  #7

                  @loudlemur As far as I know Cloudron installations are only for Ubuntu. This is just the CLI to interact with your Cloudron that you install on an Ubuntu machine, if you use a computer that runs Windows.

                  L 1 Reply Last reply
                  2
                  • ? A Former User

                    @loudlemur As far as I know Cloudron installations are only for Ubuntu. This is just the CLI to interact with your Cloudron that you install on an Ubuntu machine, if you use a computer that runs Windows.

                    L Offline
                    L Offline
                    LoudLemur
                    wrote on last edited by
                    #8

                    @thpuffin OK, thanks. I think a lot of Windows users might be able to install GNU+Linux on a spare, perhaps old, home computer, for example, Ubuntu. Maybe we could have an explainer video on what to do "after you have installed Ubuntu".

                    robiR 1 Reply Last reply
                    0
                    • L LoudLemur

                      @thpuffin OK, thanks. I think a lot of Windows users might be able to install GNU+Linux on a spare, perhaps old, home computer, for example, Ubuntu. Maybe we could have an explainer video on what to do "after you have installed Ubuntu".

                      robiR Offline
                      robiR Offline
                      robi
                      wrote on last edited by
                      #9

                      @loudlemur one can always install a VM and/or WSL2

                      Conscious tech

                      L 1 Reply Last reply
                      1
                      • robiR robi

                        @loudlemur one can always install a VM and/or WSL2

                        L Offline
                        L Offline
                        LoudLemur
                        wrote on last edited by
                        #10

                        @robi What a good idea! OK, so then, lets have a video on how run Cloudron from a GNU+Linux guest on Windows host and get it through the router.

                        1 Reply Last reply
                        0
                        • JOduMonTJ JOduMonT

                          More by curiosity than actually dwelling to use it, I figure I might be not the only fool who would try to run cloudron-cli on Windows (10).

                          basically

                          1. you install nodejs (hint: you don't need the chocolatey)
                          2. then you could npm install -g cloudron
                          3. to exectute cloudron.ps1, you have to allow unsigned PowerShellScript; by applying this policy:
                            Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope LocalMachine through a Windows PowerShell as Administrator.

                          and voilà!

                          98bbaf06-a7db-4685-a48e-113c5a1c437f-image.png

                          murgeroM Offline
                          murgeroM Offline
                          murgero
                          App Dev
                          wrote on last edited by
                          #11

                          @jodumont If you run the node file for cloudron directly (add it to your PATH) you don't need the set-executionpolicy bit. Node is separate from powershell and as such it can run without that.

                          --
                          https://urgero.org
                          ~ Professional Nerd. Freelance Programmer. ~

                          1 Reply Last reply
                          2
                          Reply
                          • Reply as topic
                          Log in to reply
                          • Oldest to Newest
                          • Newest to Oldest
                          • Most Votes


                            • Login

                            • Don't have an account? Register

                            • Login or register to search.
                            • First post
                              Last post
                            0
                            • Categories
                            • Recent
                            • Tags
                            • Popular
                            • Bookmarks
                            • Search