Wget/curl available in the ssh console?

Hi,

First, i would like to say that i just discovered the tool and it’s absolutely amazing :slight_smile:

One little question though :confused:

Would it be possible to have wget/curl available in the ssh console ? (like to play around with the wp cli generate tool)

Thanks !

Benoit.

1 Like

Hey Benoit,

The containers run a version of Debian so you can install things with Apt :slight_smile:

Here’s how you install curl:

  1. apt-get update
  2. apt-get install curl

Then just make sure you answer Y to step 2.

@clay, do you find that it remembers these installations?

If I install anything, and restart Local, none of the things installed are remembered.

The containers should stay the same as long as you’re not exporting them and re-importing them.

Actually, anytime you re-provision the container it will revert back to it’s default state and wipe out any updates you might have made. I find this when I update wp-cli to v1.0.0. Restarting/reprovisioning a site sets it back to v0.24.0 which is the included version.

It would be nice to be able to update these components and have the changes saved. Optionally adding components, like Composer, would be great too.

Ah, right. WP-CLI is an exception since it does a hash comparison to make sure it’s the same as the included version.

Anything you install with apt-get, tarballs, etc. should remain even after changing web servers or PHP versions.