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


    Cloudron Forum

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular

    HowTo install Cloudron CLI on Windows

    App Packaging & Development
    windows cloudron-cli howto install
    7
    11
    424
    Loading More Posts
    • 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.
    • JOduMonT
      JOduMonT last edited by 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 M murgero 3 Replies Last reply Reply Quote 2
      • L
        LoudLemur @JOduMonT last edited by

        @jodumont You are awesome! 😘

        1 Reply Last reply Reply Quote 0
        • nebulon
          nebulon Staff last edited by

          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?

          JOduMonT 1 Reply Last reply Reply Quote 0
          • M
            msbt App Dev @JOduMonT last edited by

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

            1 Reply Last reply Reply Quote 1
            • JOduMonT
              JOduMonT @nebulon last edited by

              @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 Reply Quote 0
              • L
                LoudLemur last edited by

                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?

                T 1 Reply Last reply Reply Quote 0
                • T
                  thpuffin @LoudLemur last edited by

                  @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 Reply Quote 2
                  • L
                    LoudLemur @thpuffin last edited by

                    @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".

                    robi 1 Reply Last reply Reply Quote 0
                    • robi
                      robi @LoudLemur last edited by

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

                      Life of Advanced Technology

                      L 1 Reply Last reply Reply Quote 1
                      • L
                        LoudLemur @robi last edited by

                        @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 Reply Quote 0
                        • murgero
                          murgero App Dev @JOduMonT last edited by

                          @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. ~
                          Matrix: @murgero:urgero.org

                          1 Reply Last reply Reply Quote 2
                          • First post
                            Last post
                          Powered by NodeBB