You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This repo provides support for the IBM Cloud Developer Tools (IDT) CLI environment. The IDT tools currently consists of the IBM Cloud CLI (bx) 'dev' and other plugins, as well as extensions to multiple IDEs.
8
6
@@ -12,7 +10,7 @@ These tools work for the following environments:
If you run into any issues, please let us know on the [IBM Cloud Tech Slack :: #developer-tools](https://slack-invite-ibm-cloud-tech.mybluemix.net/) or file an issue on our [GitHub repo](https://github.com/IBM-Bluemix/ibm-cloud-developer-tools).
13
+
If you run into any issues, please let us know on the [IBM Cloud Tech Slack :: #developer-tools](https://slack-invite-ibm-cloud-tech.mybluemix.net/) or file an issue on our [GitHub repo](https://github.com/IBM-Cloud/ibm-cloud-developer-tools).
16
14
17
15
18
16
@@ -24,19 +22,10 @@ The following command will install the IBM Cloud Developer Tools in a single inv
24
22
$ curl -sL https://ibm.biz/idt-installer | bash
25
23
```
26
24
27
-
By default, this installer will use the 'brew' installer on MacOS, if available. If you explicitly do not want to use brew, execute the following command using the `--nobrew` option:
Once complete, there will be three aliases defined to access the IBM Cloud Developer Tools:
34
-
-`idt` : Main command line tool. Shorthand for standard 'bx dev' command
35
-
-`idt-update` : Update your IBM Cloud Developer Tools to the latest versions
36
-
-`idt-uninstall` : Uninstall the IBM Cloud Developer Tools
37
-
38
-
Note: In order to access these aliases, you need to either restart your terminal session,
39
-
or reload your bash env (ie `. ~/.bashrc`)
25
+
Once complete, there will be three shortcuts defined to access the IBM Cloud Developer Tools:
26
+
-`idt` : Main command line tool. Shorthand for 'bx dev' command
27
+
-`idt update` : Update your IBM Cloud Developer Tools to the latest versions
28
+
-`idt uninstall` : Uninstall the IBM Cloud Developer Tools
40
29
41
30
Access the [platform-specific readme](./linux-installer/README.md) for additional details.
42
31
@@ -70,5 +59,5 @@ Notice: These extensions are provided "as-is". IBM does not explicitly endorse,
70
59
71
60
We can be reached in the following ways. We encourage and welcome all feedback and suggestions
72
61
-[IBM Cloud Tech Slack](https://slack-invite-ibm-cloud-tech.mybluemix.net/): Find us on the `#developer-tools` channel
73
-
-[IBM Cloud Developer Tools GitHub repo](https://github.com/IBM-Cloud/ibm-cloud-developer-tools): Use to file any issues specific to installation of the tools
62
+
-[IBM Cloud Developer Tools GitHub repo](https://github.com/IBM-Cloud/ibm-cloud-developer-tools): Use to file any issues specific to installation of the tools or the IDE extensions.
This script performs an installation of the IBM Developer Tools CLI environment. The IDT is a plugin to the IBM Bluemix CLI. Our general target environment is the IBM Cloud, including public, dedicated, and local hybrid.
22
+
This script performs an installation of the IBM Developer Tools CLI environment. The IDT consists of the 'dev' (and several other) plugins to the IBM Cloud CLI. Our general target environment is the IBM Cloud, including public, dedicated, and local hybrid.
23
23
24
24
25
25
## Installation
@@ -29,43 +29,48 @@ Before running the installation script, you should set this environment variable
29
29
export DESIRED_VERSION=v2.4.2
30
30
```
31
31
32
-
To install the IBM Developer Tools CLI, run the following command:
32
+
To install the IBM Cloud Developer Tools CLI, run the following command:
33
33
34
34
```
35
35
$ curl -sL https://ibm.biz/idt-installer | bash
36
36
```
37
37
38
-
Once complete, there will be three aliases defined to access the IDT:
39
-
-`idt` : Main command line tool for IBM cloud native development (shortcut to 'bx dev')
40
-
-`idt-update` : Update your IDT environment to the latest versions
41
-
-`idt-uninstall` : Uninstall the IBM Developer Tools
42
-
43
-
Note: You will need to either restart your terminal session, or reload your bash environment (ie `. ~/.bashrc`) to access these commands.
38
+
Once complete, there will be three added shortcuts defined to access the IDT:
39
+
-`idt` : Main command line tool for IBM cloud native development (shortcut to 'bx dev' command)
40
+
-`idt update` : Update your IDT environment to the latest versions
41
+
-`idt uninstall` : Uninstall the IBM Developer Tools
44
42
45
43
46
44
### Debugging
47
45
48
-
If you have any issues with the instaler, try running with the `--trace` argument which will produce verbose output to assist us in diagnosing your problem:
46
+
If you have any issues with the installer, try running with the `--trace` argument which will produce verbose output to assist us in diagnosing your problem:
If updating an existing IDT installation, you can run the following:
53
+
```
54
+
idt update --trace
55
+
```
56
+
54
57
55
58
## Updating
56
59
57
-
If you wish to update the IBM Developer Tools CLI, run `idt-update`. This command is simply an alias defined during initial install that runs the installer shown here:
60
+
If you wish to update the IBM Developer Tools CLI, run `idt update`. There is also a `--force` argument that will force update to all dependencies too.
61
+
62
+
This command is simply an alias defined during initial install that runs the installer shown here:
If you wish to remove the IBM Developer Tools CLI, run `idt-uninstall`. This command is simply an alias defined during install that runs the following:
70
+
If you wish to remove the IBM Developer Tools CLI, run `idtuninstall`. This command is simply an alias defined during install that runs the following:
@@ -75,17 +80,18 @@ The script will check for the following prereqs, and attempt to install them if
75
80
- Git command line
76
81
- Docker command line
77
82
- Kubernetes CLI (kubectl)
83
+
- Kubernetes helm
78
84
79
85
80
86
## Usage
81
87
```
82
88
Usage: idt-installer [<args>]
83
89
84
90
Where <args> is:
85
-
install [Default] Perform full install (or update) of all needed CLIs and Plugins
91
+
install | update [Default] Perform full install (or update) of all needed CLIs and Plugins
86
92
uninstall Uninstall full IBM Cloud CLI env, including 'bx', and plugins
87
93
help | -h | -? Show this help
88
-
--nobrew Force not using brew installer on MacOS
94
+
--forceForce updates of dependencies and other settings during update
89
95
--trace Eanble verbose tracing of all activity
90
96
91
97
@@ -95,28 +101,33 @@ If "install" (or no action provided), a full CLI installation (or update) will o
95
101
3. Install all required plugins
96
102
4. Defines aliases to improve useability
97
103
- idt : Shortcut for normal "bx dev" command
98
-
- idt-update : Runs this installer checking for and installing any updates
99
-
- idt-uninstall : Uninstalls 'bx cli' and all plugins
104
+
- idtupdate : Runs this installer checking for and installing any updates
105
+
- idtuninstall : Uninstalls IDT, including the 'bx cli' and all plugins
100
106
101
107
If "uninstall", the IBM Cloud CLI and plugins are removed from the system, including personal metadata.
102
108
Note: Pre-req CLIs listed above are NOT uninstalled.
103
109
104
-
Chat with us on Slack: https://ibm.biz/IBMCloudNativeSlack
105
-
Submit any issues to : https://github.com/ibm-cloud-tools/idt-installer
110
+
Chat with us on Slack: https://slack-invite-ibm-cloud-tech.mybluemix.net/
111
+
Submit any issues to : https://github.com/IBM-Cloud/ibm-cloud-developer-tools/issues
106
112
107
113
```
108
114
109
115
## Platforms
110
116
111
117
The following are platform specific concerns and notes you should be aware of.
112
118
119
+
Note: Previous versions of this installer set up aliases within you shell env (ie ~/.bashrc). Current version have switched over to use a wrapper shell scripty (/usr/local/bin/idt) to achieve better results. The old env entries are automatically removed.
120
+
121
+
113
122
### MacOS
114
123
115
-
By default, this installer will use the 'brew' installer if it is available. You can use the `--nobrew` argument to disable use of 'brew'. Note that you must be consistent with the use of `--nobrew` when installing, updating, and uninstalling.
124
+
The installer uses the "homebrew" utility, and it will be installed as needed.
116
125
117
126
### Linux
118
127
119
-
This script has only been tested on Ubuntu Linux systems, although it should behave properly on other distros. If you run into any issues, please let us know on [Slack](https://ibm.biz/IBMCloudNativeSlack) or file an issue on our [GitHub repo](https://github.com/ibm-cloud-tools/idt-installer).
128
+
This script has only been tested on Ubuntu Linux systems, although it should behave properly on other distros that use 'apt-get'.
129
+
130
+
If you run into any issues, please let us know on [IBM Cloud Tech Slack](https://slack-invite-ibm-cloud-tech.mybluemix.net/) - #developer-tools channel, or file an issue on our [GitHub repo](https://github.com/IBM-Cloud/ibm-cloud-developer-tools/issues).
120
131
121
132
122
133
### Windows
@@ -127,13 +138,5 @@ This script has only been tested on Ubuntu Linux systems, although it should beh
127
138
128
139
## Internal IBM users
129
140
130
-
IBM users can utilize this installer pulling the Bluemix CLI and plugins from pre-release internal servers. In order to have the installer utilize internal servers, set the following environment variables (eg in `~/.bashrc`), substituting the proper internal URLs. Shown below are the default public URLs:
IBM users can use pre-release versions of the IDT (bx and all plugins). The installer will check if you have the internal "stage1" plugin repo defined, and ask if you want to use it for updates. Note: Since during initial install of the bx CLI does not have extra plugin repos defined, it only applies during subsequent updates.
138
142
139
-
If you need assistance on the proper values, just ask in any of the IBM internal slack channels.
0 commit comments