<commit_before>---
title: CLI v2 vs v1
---

<p class="note">Note: Applies to CLI v2 v0.0.147+.</p>

---
## <a id="install"></a> Install

1. Download the binary for your platform and place it on your `PATH`. For example on UNIX machines:

  - [bosh-cli-0.0.147-darwin-amd64](https://s3.amazonaws.com/bosh-cli-artifacts/bosh-cli-0.0.147-darwin-amd64) <span class="sha1">sha1: 8ebb656e9c177a0fba7fa9d768cc84957728688a</span>
  - [bosh-cli-0.0.147-linux-amd64](https://s3.amazonaws.com/bosh-cli-artifacts/bosh-cli-0.0.147-linux-amd64) <span class="sha1">sha1: 533342d7663c3e5dc731769e157608c74dd9eccb</span>

  <pre class="terminal">
  $ chmod +x ~/Downloads/bosh-cli-*
  $ sudo mv ~/Downloads/bosh-cli-* /usr/local/bin/bosh
</pre>

1. Check `bosh` version to make sure it is properly installed:

  <pre class="terminal">
  $ bosh -v
</pre>

---
## <a id="general"></a> General differences

| Before                      | After
|-----------------------------|-----------------------------
| bosh-init deploy <manifest> | bosh create-env <manifest>
| bosh-init delete <manifest> | bosh delete-env <manifest>
| bosh target <ip>            | bosh alias-env name -e <ip>
| bosh status                 | bosh env
| bosh -t dir ...             | bosh -e dir ...
| bosh -d manifest-path ...   | bosh -d deployment-name ... [3]<commit_msg>mention cli v2.0.1<commit_after>---
title: CLI v2 vs v1
---

<p class="note">Note: Applies to CLI v2 v2.0.1+.</p>

---
## <a id="install"></a> Install

1. Download the binary for your platform and place it on your `PATH`. For example on UNIX machines:

  - [bosh-cli-2.0.1-darwin-amd64](https://s3.amazonaws.com/bosh-cli-artifacts/bosh-cli-2.0.1-darwin-amd64) <span class="sha1">sha1: f46ed2beabefa88b1fca600595c28cfee07b519c</span>
  - [bosh-cli-2.0.1-linux-amd64](https://s3.amazonaws.com/bosh-cli-artifacts/bosh-cli-2.0.1-linux-amd64) <span class="sha1">sha1: f23c3aecec999cfda93a3123ccc724f09856a5c9</span>

  <pre class="terminal">
  $ chmod +x ~/Downloads/bosh-cli-*
  $ sudo mv ~/Downloads/bosh-cli-* /usr/local/bin/bosh
</pre>

1. Check `bosh` version to make sure it is properly installed:

  <pre class="terminal">
  $ bosh -v
</pre>

---
## <a id="general"></a> General differences

| Before                      | After
|-----------------------------|-----------------------------
| bosh-init deploy <manifest> | bosh create-env <manifest>
| bosh-init delete <manifest> | bosh delete-env <manifest>
| bosh target <ip>            | bosh alias-env name -e <ip>
| bosh status                 | bosh env
| bosh -t dir ...             | bosh -e dir ...
| bosh -d manifest-path ...   | bosh -d deployment-name ... [3]
{'fraction_non_alphanumeric': 0.20973217653715578, 'fraction_numerical': 0.06639004149377593, 'mean_word_length': 2.413127413127413, 'pattern_counts': {'":': 0, '<': 43, '<?xml version=': 0, '>': 43, 'https://': 4, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 6, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '187036', 'n_tokens_mistral': 1090, 'n_tokens_neox': 993, 'n_words': 223}